corentin.labbe 31f9c1
policy_module(xscreensaver, 1.0.0)
corentin.labbe 31f9c1
corentin.labbe 31f9c1
########################################
corentin.labbe 31f9c1
#
corentin.labbe 31f9c1
# Declarations
corentin.labbe 31f9c1
#
corentin.labbe 31f9c1
corentin.labbe 31f9c1
type xscreensaver_t;
corentin.labbe 31f9c1
type xscreensaver_exec_t;
corentin.labbe 31f9c1
application_domain(xscreensaver_t, xscreensaver_exec_t)
Chris PeBenito 1d3b9e
ubac_constrained(xscreensaver_t)
corentin.labbe 31f9c1
corentin.labbe 31f9c1
type xscreensaver_tmpfs_t;
corentin.labbe 31f9c1
files_tmpfs_file(xscreensaver_tmpfs_t)
corentin.labbe 31f9c1
ubac_constrained(xscreensaver_tmpfs_t)
corentin.labbe 31f9c1
corentin.labbe 31f9c1
########################################
corentin.labbe 31f9c1
#
corentin.labbe 31f9c1
# Local policy
corentin.labbe 31f9c1
#
corentin.labbe 31f9c1
corentin.labbe 31f9c1
allow xscreensaver_t self:fifo_file rw_fifo_file_perms;
corentin.labbe 31f9c1
allow xscreensaver_t self:process signal;
corentin.labbe 31f9c1
Chris PeBenito 1d3b9e
kernel_read_system_state(xscreensaver_t)
corentin.labbe 31f9c1
corentin.labbe 31f9c1
files_read_usr_files(xscreensaver_t)
corentin.labbe 31f9c1
Chris PeBenito 1d3b9e
auth_use_nsswitch(xscreensaver_t)
corentin.labbe 31f9c1
auth_domtrans_chk_passwd(xscreensaver_t)
corentin.labbe 31f9c1
corentin.labbe 31f9c1
#/var/run/utmp
corentin.labbe 31f9c1
init_read_utmp(xscreensaver_t)
corentin.labbe 31f9c1
Chris PeBenito 1d3b9e
logging_send_audit_msgs(xscreensaver_t)
Chris PeBenito 1d3b9e
logging_send_syslog_msg(xscreensaver_t)
corentin.labbe 31f9c1
Chris PeBenito 1d3b9e
miscfiles_read_localization(xscreensaver_t)
corentin.labbe 31f9c1
Chris PeBenito 1d3b9e
userdom_use_user_ptys(xscreensaver_t)
Chris PeBenito 1d3b9e
#access to .icons and ~/.xscreensaver
Chris PeBenito 1d3b9e
userdom_read_user_home_content_files(xscreensaver_t)
Chris PeBenito 1d3b9e
Chris PeBenito 1d3b9e
xserver_user_x_domain_template(xscreensaver, xscreensaver_t, xscreensaver_tmpfs_t)