2010-08-12 13:21:36 +00:00
|
|
|
policy_module(gnome, 2.0.1)
|
2006-10-02 15:22:48 +00:00
|
|
|
|
|
|
|
##############################
|
|
|
|
#
|
|
|
|
# Declarations
|
|
|
|
#
|
|
|
|
|
2007-02-16 23:01:42 +00:00
|
|
|
attribute gnomedomain;
|
|
|
|
|
2006-10-02 15:22:48 +00:00
|
|
|
type gconf_etc_t;
|
2010-08-12 13:21:36 +00:00
|
|
|
files_config_file(gconf_etc_t)
|
2006-10-02 15:22:48 +00:00
|
|
|
|
2008-11-05 16:10:46 +00:00
|
|
|
type gconf_home_t;
|
|
|
|
typealias gconf_home_t alias { user_gconf_home_t staff_gconf_home_t sysadm_gconf_home_t };
|
|
|
|
typealias gconf_home_t alias { auditadm_gconf_home_t secadm_gconf_home_t };
|
2010-08-12 13:21:36 +00:00
|
|
|
typealias gconf_home_t alias unconfined_gconf_home_t;
|
2008-11-05 16:10:46 +00:00
|
|
|
userdom_user_home_content(gconf_home_t)
|
|
|
|
|
|
|
|
type gconf_tmp_t;
|
|
|
|
typealias gconf_tmp_t alias { user_gconf_tmp_t staff_gconf_tmp_t sysadm_gconf_tmp_t };
|
|
|
|
typealias gconf_tmp_t alias { auditadm_gconf_tmp_t secadm_gconf_tmp_t };
|
2010-08-12 13:21:36 +00:00
|
|
|
typealias gconf_tmp_t alias unconfined_gconf_tmp_t;
|
2008-11-05 16:10:46 +00:00
|
|
|
files_tmp_file(gconf_tmp_t)
|
|
|
|
ubac_constrained(gconf_tmp_t)
|
|
|
|
|
|
|
|
type gconfd_t, gnomedomain;
|
2006-10-02 15:22:48 +00:00
|
|
|
type gconfd_exec_t;
|
2008-11-05 16:10:46 +00:00
|
|
|
typealias gconfd_t alias { user_gconfd_t staff_gconfd_t sysadm_gconfd_t };
|
|
|
|
typealias gconfd_t alias { auditadm_gconfd_t secadm_gconfd_t };
|
|
|
|
application_domain(gconfd_t, gconfd_exec_t)
|
|
|
|
ubac_constrained(gconfd_t)
|
|
|
|
|
|
|
|
type gnome_home_t;
|
|
|
|
typealias gnome_home_t alias { user_gnome_home_t staff_gnome_home_t sysadm_gnome_home_t };
|
|
|
|
typealias gnome_home_t alias { auditadm_gnome_home_t secadm_gnome_home_t };
|
2010-08-12 13:21:36 +00:00
|
|
|
typealias gnome_home_t alias unconfined_gnome_home_t;
|
2008-11-05 16:10:46 +00:00
|
|
|
userdom_user_home_content(gnome_home_t)
|
|
|
|
|
|
|
|
##############################
|
|
|
|
#
|
|
|
|
# Local Policy
|
|
|
|
#
|
|
|
|
|
|
|
|
allow gconfd_t self:process getsched;
|
|
|
|
allow gconfd_t self:fifo_file rw_fifo_file_perms;
|
|
|
|
|
|
|
|
manage_dirs_pattern(gconfd_t, gconf_home_t, gconf_home_t)
|
|
|
|
manage_files_pattern(gconfd_t, gconf_home_t, gconf_home_t)
|
|
|
|
userdom_user_home_dir_filetrans(gconfd_t, gconf_home_t, dir)
|
|
|
|
|
|
|
|
manage_dirs_pattern(gconfd_t, gconf_tmp_t, gconf_tmp_t)
|
|
|
|
manage_files_pattern(gconfd_t, gconf_tmp_t, gconf_tmp_t)
|
|
|
|
userdom_user_tmp_filetrans(gconfd_t, gconf_tmp_t, { dir file })
|
|
|
|
|
|
|
|
allow gconfd_t gconf_etc_t:dir list_dir_perms;
|
|
|
|
read_files_pattern(gconfd_t, gconf_etc_t, gconf_etc_t)
|
|
|
|
|
|
|
|
dev_read_urand(gconfd_t)
|
|
|
|
|
|
|
|
files_read_etc_files(gconfd_t)
|
|
|
|
|
|
|
|
miscfiles_read_localization(gconfd_t)
|
|
|
|
|
|
|
|
logging_send_syslog_msg(gconfd_t)
|
|
|
|
|
|
|
|
userdom_manage_user_tmp_sockets(gconfd_t)
|
|
|
|
userdom_manage_user_tmp_dirs(gconfd_t)
|
|
|
|
userdom_tmp_filetrans_user_tmp(gconfd_t, dir)
|
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
nscd_dontaudit_search_pid(gconfd_t)
|
|
|
|
')
|
|
|
|
|
|
|
|
optional_policy(`
|
|
|
|
xserver_use_xdm_fds(gconfd_t)
|
|
|
|
xserver_rw_xdm_pipes(gconfd_t)
|
|
|
|
')
|