selinux-policy/policy/modules/roles/unprivuser.te

186 lines
2.5 KiB
Plaintext
Raw Normal View History

policy_module(unprivuser, 2.1.1)
# this module should be named user, but that is
# a compile error since user is a keyword.
########################################
#
# Declarations
#
role user_r;
userdom_unpriv_user_template(user)
2010-08-26 13:41:21 +00:00
fs_exec_noxattr(user_t)
2008-11-05 16:10:46 +00:00
optional_policy(`
apache_role(user_r, user_t)
')
optional_policy(`
2010-08-26 13:41:21 +00:00
mozilla_run_plugin(user_t, user_r)
2008-11-05 16:10:46 +00:00
')
2010-08-26 13:41:21 +00:00
ifndef(`distro_redhat',`
2008-11-05 16:10:46 +00:00
optional_policy(`
2010-08-26 13:41:21 +00:00
auth_role(user_r, user_t)
2008-11-05 16:10:46 +00:00
')
2010-08-26 13:41:21 +00:00
optional_policy(`
bluetooth_role(user_r, user_t)
')
optional_policy(`
cdrecord_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
cron_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
dbus_role_template(user, user_r, user_t)
')
optional_policy(`
evolution_role(user_r, user_t)
')
optional_policy(`
games_role(user_r, user_t)
')
optional_policy(`
gift_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
gnome_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
gpg_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
irc_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
java_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
lockdev_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
lpd_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
mozilla_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
mplayer_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
mta_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
oident_manage_user_content(user_t)
oident_relabel_user_content(user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
postgresql_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
pyzor_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
razor_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
rssh_role(user_r, user_t)
')
')
2010-02-08 15:34:08 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
rpm_dontaudit_dbus_chat(user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
rtkit_scheduled(user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
sandbox_transition(user_t, user_r)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
screen_role_template(user, user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
telepathy_dbus_session_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
ifndef(`distro_redhat',`
optional_policy(`
spamassassin_role(user_r, user_t)
2010-08-26 13:41:21 +00:00
')
optional_policy(`
ssh_role_template(user, user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
su_role_template(user, user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
sudo_role_template(user, user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
thunderbird_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
tvtime_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
uml_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
userhelper_role_template(user, user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
vmware_role(user_r, user_t)
')
optional_policy(`
wireshark_role(user_r, user_t)
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
')
2008-11-05 16:10:46 +00:00
2010-08-26 13:41:21 +00:00
optional_policy(`
setroubleshoot_dontaudit_stream_connect(user_t)
')
optional_policy(`
xserver_role(user_r, user_t)
2008-11-05 16:10:46 +00:00
')