trunk: 2 fixes from martin orr.

This commit is contained in:
Chris PeBenito 2008-11-13 18:44:23 +00:00
parent 99282e6be0
commit 73c77e2c9b
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
policy_module(xserver, 3.0.0)
policy_module(xserver, 3.0.1)
gen_require(`
class x_drawable all_x_drawable_perms;
@ -124,7 +124,7 @@ userdom_user_home_content(user_fonts_cache_t)
type user_fonts_config_t;
typealias user_fonts_config_t alias { staff_fonts_config_t sysadm_fonts_config_t };
typealias user_fonts_config_t alias { auditadm_fonts_config_t secadm_fonts_config_t };
userdom_user_home_content(user_fonts_cache_t)
userdom_user_home_content(user_fonts_config_t)
type xevent_t alias default_xevent_t, xevent_type;
type xext_t alias unknown_xext_t, xextension_type;

View File

@ -57,6 +57,7 @@ template(`userdom_base_user_template',`
dontaudit $1_t self:socket create;
allow $1_t user_devpts_t:chr_file { setattr rw_chr_file_perms };
term_create_pty($1_t, user_devpts_t)
# avoid annoying messages on terminal hangup on role change
dontaudit $1_t user_devpts_t:chr_file ioctl;

View File

@ -1,5 +1,5 @@
policy_module(userdomain, 4.0.0)
policy_module(userdomain, 4.0.1)
########################################
#