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