Chris PeBenito 17ec8c
policy_module(pxe, 1.4.0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# cjp: policy seems incomplete
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type pxe_t;
Chris PeBenito 17de1b
type pxe_exec_t;
Chris PeBenito 0bfccd
init_daemon_domain(pxe_t, pxe_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type pxe_log_t;
Chris PeBenito 17de1b
logging_log_file(pxe_log_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type pxe_var_run_t;
Chris PeBenito 17de1b
files_pid_file(pxe_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
allow pxe_t self:capability { chown setgid setuid };
Chris PeBenito 17de1b
dontaudit pxe_t self:capability sys_tty_config;
Chris PeBenito 17de1b
allow pxe_t self:process signal_perms;
Chris PeBenito 17de1b
Chris PeBenito c0868a
allow pxe_t pxe_log_t:file manage_file_perms;
Chris PeBenito 0bfccd
logging_log_filetrans(pxe_t, pxe_log_t, file)
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
manage_files_pattern(pxe_t, pxe_var_run_t, pxe_var_run_t)
Chris PeBenito 0bfccd
files_pid_filetrans(pxe_t, pxe_var_run_t, file)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(pxe_t)
Chris PeBenito 17de1b
kernel_list_proc(pxe_t)
Chris PeBenito 17de1b
kernel_read_proc_symlinks(pxe_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
corenet_udp_bind_pxe_port(pxe_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_sysfs(pxe_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
domain_use_interactive_fds(pxe_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
files_read_etc_files(pxe_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
fs_getattr_all_fs(pxe_t)
Chris PeBenito 17de1b
fs_search_auto_mountpoints(pxe_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(pxe_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(pxe_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
userdom_dontaudit_use_unpriv_user_fds(pxe_t)
Chris PeBenito 296273
userdom_dontaudit_search_user_home_dirs(pxe_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	seutil_sigchld_newrole(pxe_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	udev_read_db(pxe_t)
Chris PeBenito 17de1b
')