|
Chris PeBenito |
29af4c |
policy_module(howl, 1.9.0)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type howl_t;
|
|
Chris PeBenito |
17de1b |
type howl_exec_t;
|
|
Chris PeBenito |
0bfccd |
init_daemon_domain(howl_t, howl_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type howl_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(howl_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 howl_t self:capability { kill net_admin };
|
|
Chris PeBenito |
17de1b |
dontaudit howl_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow howl_t self:process signal_perms;
|
|
Chris PeBenito |
c0868a |
allow howl_t self:fifo_file rw_fifo_file_perms;
|
|
Chris PeBenito |
17de1b |
allow howl_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow howl_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(howl_t, howl_var_run_t, howl_var_run_t)
|
|
Chris PeBenito |
0bfccd |
files_pid_filetrans(howl_t, howl_var_run_t, file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_network_state(howl_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(howl_t)
|
|
Jeremy Solt |
935151 |
kernel_request_load_module(howl_t)
|
|
Chris PeBenito |
17de1b |
kernel_list_proc(howl_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_proc_symlinks(howl_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(howl_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(howl_t)
|
|
Chris PeBenito |
668b30 |
corenet_tcp_sendrecv_generic_if(howl_t)
|
|
Chris PeBenito |
668b30 |
corenet_udp_sendrecv_generic_if(howl_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_sendrecv_generic_node(howl_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(howl_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(howl_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(howl_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_bind_generic_node(howl_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_bind_generic_node(howl_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_howl_port(howl_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_howl_port(howl_t)
|
|
Chris PeBenito |
17de1b |
corenet_sendrecv_howl_server_packets(howl_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(howl_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(howl_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(howl_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(howl_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(howl_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
init_rw_utmp(howl_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(howl_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(howl_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
sysnet_read_config(howl_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(howl_t)
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_search_user_home_dirs(howl_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
nis_use_ypbind(howl_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(howl_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(howl_t)
|
|
Chris PeBenito |
17de1b |
')
|