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