Chris PeBenito 17de1b
Chris PeBenito c12621
policy_module(pegasus, 1.7.2)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type pegasus_t;
Chris PeBenito 17de1b
type pegasus_exec_t;
Chris PeBenito 0bfccd
init_daemon_domain(pegasus_t, pegasus_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type pegasus_data_t;
Chris PeBenito 17de1b
files_type(pegasus_data_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type pegasus_tmp_t;
Chris PeBenito 17de1b
files_tmp_file(pegasus_tmp_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type pegasus_conf_t;
Chris PeBenito 17de1b
files_type(pegasus_conf_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type pegasus_mof_t;
Chris PeBenito 17de1b
files_type(pegasus_mof_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type pegasus_var_run_t;
Chris PeBenito 17de1b
files_pid_file(pegasus_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 c0868a
allow pegasus_t self:capability { chown sys_nice setuid setgid dac_override net_bind_service };
Chris PeBenito 17de1b
dontaudit pegasus_t self:capability sys_tty_config;
Chris PeBenito 17de1b
allow pegasus_t self:process signal;
Chris PeBenito c0868a
allow pegasus_t self:fifo_file rw_fifo_file_perms;
Chris PeBenito 17de1b
allow pegasus_t self:unix_dgram_socket create_socket_perms;
Chris PeBenito 17de1b
allow pegasus_t self:unix_stream_socket create_stream_socket_perms;
Chris PeBenito 17de1b
allow pegasus_t self:tcp_socket create_stream_socket_perms;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
allow pegasus_t pegasus_conf_t:dir rw_dir_perms;
Chris PeBenito c0868a
allow pegasus_t pegasus_conf_t:file { read_file_perms link unlink };
Chris PeBenito c0868a
allow pegasus_t pegasus_conf_t:lnk_file read_lnk_file_perms;
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
manage_dirs_pattern(pegasus_t, pegasus_data_t, pegasus_data_t)
Chris PeBenito 0bfccd
manage_files_pattern(pegasus_t, pegasus_data_t, pegasus_data_t)
Chris PeBenito 0bfccd
manage_lnk_files_pattern(pegasus_t, pegasus_data_t, pegasus_data_t)
Chris PeBenito 0bfccd
filetrans_pattern(pegasus_t, pegasus_conf_t, pegasus_data_t, { file dir })
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
can_exec(pegasus_t, pegasus_exec_t)
Chris PeBenito 17de1b
Chris PeBenito c0868a
allow pegasus_t pegasus_mof_t:dir list_dir_perms;
Chris PeBenito 0bfccd
read_files_pattern(pegasus_t, pegasus_mof_t, pegasus_mof_t)
Chris PeBenito 0bfccd
read_lnk_files_pattern(pegasus_t, pegasus_mof_t, pegasus_mof_t)
Chris PeBenito 17de1b
Chris PeBenito 0bfccd
manage_dirs_pattern(pegasus_t, pegasus_tmp_t, pegasus_tmp_t)
Chris PeBenito 0bfccd
manage_files_pattern(pegasus_t, pegasus_tmp_t, pegasus_tmp_t)
Chris PeBenito 17de1b
files_tmp_filetrans(pegasus_t, pegasus_tmp_t, { file dir })
Chris PeBenito 17de1b
Chris PeBenito 17de1b
allow pegasus_t pegasus_var_run_t:sock_file { create setattr unlink };
Chris PeBenito 0bfccd
manage_files_pattern(pegasus_t, pegasus_var_run_t, pegasus_var_run_t)
Chris PeBenito 0bfccd
files_pid_filetrans(pegasus_t, pegasus_var_run_t, file)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(pegasus_t)
Chris PeBenito 17de1b
kernel_read_fs_sysctls(pegasus_t)
Chris PeBenito 17de1b
kernel_read_system_state(pegasus_t)
Chris PeBenito 17de1b
kernel_search_vm_sysctl(pegasus_t)
Chris PeBenito 17de1b
kernel_read_net_sysctls(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 190066
corenet_all_recvfrom_unlabeled(pegasus_t)
Chris PeBenito 190066
corenet_all_recvfrom_netlabel(pegasus_t)
Chris PeBenito 668b30
corenet_tcp_sendrecv_generic_if(pegasus_t)
Chris PeBenito c12621
corenet_tcp_sendrecv_generic_node(pegasus_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_ports(pegasus_t)
Chris PeBenito c12621
corenet_tcp_bind_generic_node(pegasus_t)
Chris PeBenito 17de1b
corenet_tcp_bind_pegasus_http_port(pegasus_t)
Chris PeBenito 17de1b
corenet_tcp_bind_pegasus_https_port(pegasus_t)
Chris PeBenito 17de1b
corenet_tcp_connect_pegasus_http_port(pegasus_t)
Chris PeBenito 17de1b
corenet_tcp_connect_pegasus_https_port(pegasus_t)
Chris PeBenito 17de1b
corenet_tcp_connect_generic_port(pegasus_t)
Chris PeBenito 17de1b
corenet_sendrecv_generic_client_packets(pegasus_t)
Chris PeBenito 17de1b
corenet_sendrecv_pegasus_http_client_packets(pegasus_t)
Chris PeBenito 17de1b
corenet_sendrecv_pegasus_http_server_packets(pegasus_t)
Chris PeBenito 17de1b
corenet_sendrecv_pegasus_https_client_packets(pegasus_t)
Chris PeBenito 17de1b
corenet_sendrecv_pegasus_https_server_packets(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
corecmd_exec_bin(pegasus_t)
Chris PeBenito 17de1b
corecmd_exec_shell(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_sysfs(pegasus_t)
Chris PeBenito 17de1b
dev_read_urand(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
fs_getattr_all_fs(pegasus_t)
Chris PeBenito 17de1b
fs_search_auto_mountpoints(pegasus_t)
Chris PeBenito 17de1b
files_getattr_all_dirs(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
auth_use_nsswitch(pegasus_t)
Chris PeBenito 17de1b
auth_domtrans_chk_passwd(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
domain_use_interactive_fds(pegasus_t)
Chris PeBenito 17de1b
domain_read_all_domains_state(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
files_read_etc_files(pegasus_t)
Chris PeBenito 17de1b
files_list_var_lib(pegasus_t)
Chris PeBenito 17de1b
files_read_var_lib_files(pegasus_t)
Chris PeBenito 17de1b
files_read_var_lib_symlinks(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
hostname_exec(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
init_rw_utmp(pegasus_t)
Chris PeBenito 17de1b
init_stream_connect_script(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito d5b81a
logging_send_audit_msgs(pegasus_t)
Chris PeBenito 8152a7
logging_send_syslog_msg(pegasus_t)
Chris PeBenito d5b81a
Chris PeBenito 17de1b
miscfiles_read_localization(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
sysnet_read_config(pegasus_t)
Chris PeBenito 8152a7
sysnet_domtrans_ifconfig(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
userdom_dontaudit_use_unpriv_user_fds(pegasus_t)
Chris PeBenito 296273
userdom_dontaudit_search_user_home_dirs(pegasus_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	rpm_exec(pegasus_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	seutil_sigchld_newrole(pegasus_t)
Chris PeBenito 17de1b
	seutil_dontaudit_read_config(pegasus_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	udev_read_db(pegasus_t)
Chris PeBenito 17de1b
')
Chris PeBenito 350b6a
Chris PeBenito 350b6a
optional_policy(`
Chris PeBenito 350b6a
	unconfined_signull(pegasus_t)
Chris PeBenito 350b6a
')