selinux-policy/policy/modules/apps/livecd.te
2010-08-26 09:41:21 -04:00

34 lines
662 B
Plaintext

policy_module(livecd, 1.0.0)
########################################
#
# Declarations
#
type livecd_t;
type livecd_exec_t;
application_domain(livecd_t, livecd_exec_t)
role system_r types livecd_t;
type livecd_tmp_t;
files_tmp_file(livecd_tmp_t)
########################################
#
# livecd local policy
#
dontaudit livecd_t self:capability2 mac_admin;
unconfined_domain_noaudit(livecd_t)
domain_ptrace_all_domains(livecd_t)
manage_dirs_pattern(livecd_t, livecd_tmp_t, livecd_tmp_t)
manage_files_pattern(livecd_t, livecd_tmp_t, livecd_tmp_t)
files_tmp_filetrans(livecd_t, livecd_tmp_t, { dir file })
optional_policy(`
hal_dbus_chat(livecd_t)
')