selinux-refpolicy/policy/modules/apps/xscreensaver.te

46 lines
1.0 KiB
Plaintext
Raw Normal View History

2009-09-15 13:18:07 +00:00
policy_module(xscreensaver, 1.0.0)
########################################
#
# Declarations
#
type xscreensaver_t;
type xscreensaver_exec_t;
application_domain(xscreensaver_t, xscreensaver_exec_t)
2009-09-15 13:18:07 +00:00
ubac_constrained(xscreensaver_t)
type xscreensaver_tmpfs_t;
files_tmpfs_file(xscreensaver_tmpfs_t)
ubac_constrained(xscreensaver_tmpfs_t)
########################################
#
# Local policy
#
allow xscreensaver_t self:fifo_file rw_fifo_file_perms;
allow xscreensaver_t self:process signal;
2009-09-15 13:18:07 +00:00
kernel_read_system_state(xscreensaver_t)
files_read_usr_files(xscreensaver_t)
2009-09-15 13:18:07 +00:00
auth_use_nsswitch(xscreensaver_t)
auth_domtrans_chk_passwd(xscreensaver_t)
#/var/run/utmp
init_read_utmp(xscreensaver_t)
2009-09-15 13:18:07 +00:00
logging_send_audit_msgs(xscreensaver_t)
logging_send_syslog_msg(xscreensaver_t)
2009-09-15 13:18:07 +00:00
miscfiles_read_localization(xscreensaver_t)
2009-09-15 13:18:07 +00:00
userdom_use_user_ptys(xscreensaver_t)
#access to .icons and ~/.xscreensaver
userdom_read_user_home_content_files(xscreensaver_t)
xserver_user_x_domain_template(xscreensaver, xscreensaver_t, xscreensaver_tmpfs_t)