Chris PeBenito 17de1b
Chris PeBenito cfcf50
policy_module(uml, 1.6.0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type uml_exec_t;
Chris PeBenito d46cfe
application_executable_file(uml_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type uml_ro_t;
Chris PeBenito 17de1b
files_type(uml_ro_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type uml_switch_t;
Chris PeBenito 17de1b
type uml_switch_exec_t;
Chris PeBenito 0bfccd
init_daemon_domain(uml_switch_t, uml_switch_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type uml_switch_var_run_t;
Chris PeBenito 17de1b
files_pid_file(uml_switch_var_run_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Local policy
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dontaudit uml_switch_t self:capability sys_tty_config;
Chris PeBenito 17de1b
allow uml_switch_t self:process signal_perms;
Chris PeBenito 17de1b
allow uml_switch_t self:unix_dgram_socket create_socket_perms;
Chris PeBenito 17de1b
allow uml_switch_t self:unix_stream_socket create_stream_socket_perms;
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
manage_files_pattern(uml_switch_t, uml_switch_var_run_t, uml_switch_var_run_t)
Chris PeBenito 0bfccd
manage_sock_files_pattern(uml_switch_t, uml_switch_var_run_t, uml_switch_var_run_t)
Chris PeBenito 0bfccd
files_pid_filetrans(uml_switch_t, uml_switch_var_run_t, file)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(uml_switch_t)
Chris PeBenito 17de1b
kernel_list_proc(uml_switch_t)
Chris PeBenito 17de1b
kernel_read_proc_symlinks(uml_switch_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_sysfs(uml_switch_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
domain_use_interactive_fds(uml_switch_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
fs_getattr_all_fs(uml_switch_t)
Chris PeBenito 17de1b
fs_search_auto_mountpoints(uml_switch_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
term_dontaudit_use_console(uml_switch_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
init_use_fds(uml_switch_t)
Chris PeBenito 17de1b
init_use_script_ptys(uml_switch_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
libs_use_ld_so(uml_switch_t)
Chris PeBenito 17de1b
libs_use_shared_libs(uml_switch_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(uml_switch_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(uml_switch_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
userdom_dontaudit_use_unpriv_user_fds(uml_switch_t)
Chris PeBenito e9c6cd
Chris PeBenito e9c6cd
sysadm_dontaudit_search_home_dirs(uml_switch_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	seutil_sigchld_newrole(uml_switch_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	udev_read_db(uml_switch_t)
Chris PeBenito 17de1b
')