aboutsummaryrefslogtreecommitdiff
blob: 1487a4e5042994886d7b50c9fe3a76fcfe75f5c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
policy_module(xscreensaver, 1.1.0)

########################################
#
# Declarations
#

type xscreensaver_t;
type xscreensaver_exec_t;
userdom_user_application_domain(xscreensaver_t, xscreensaver_exec_t)

type xscreensaver_tmpfs_t;
userdom_user_tmpfs_file(xscreensaver_tmpfs_t)

########################################
#
# Local policy
#

allow xscreensaver_t self:fifo_file rw_fifo_file_perms;
allow xscreensaver_t self:process signal;

kernel_read_system_state(xscreensaver_t)

files_read_usr_files(xscreensaver_t)

auth_use_nsswitch(xscreensaver_t)
auth_domtrans_chk_passwd(xscreensaver_t)

#/var/run/utmp
init_read_utmp(xscreensaver_t)

logging_send_audit_msgs(xscreensaver_t)
logging_send_syslog_msg(xscreensaver_t)

miscfiles_read_localization(xscreensaver_t)

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)