|
Chris PeBenito |
fee486 |
policy_module(arpwatch, 1.9.1)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type arpwatch_t;
|
|
Chris PeBenito |
17de1b |
type arpwatch_exec_t;
|
|
Chris PeBenito |
0bfccd |
init_daemon_domain(arpwatch_t, arpwatch_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type arpwatch_data_t;
|
|
Chris PeBenito |
17de1b |
files_type(arpwatch_data_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
5843d0 |
type arpwatch_initrc_exec_t;
|
|
Chris PeBenito |
5843d0 |
init_script_file(arpwatch_initrc_exec_t)
|
|
Chris PeBenito |
5843d0 |
|
|
Chris PeBenito |
17de1b |
type arpwatch_tmp_t;
|
|
Chris PeBenito |
17de1b |
files_tmp_file(arpwatch_tmp_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type arpwatch_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(arpwatch_var_run_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Local policy
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
allow arpwatch_t self:capability { net_admin net_raw setgid setuid };
|
|
Chris PeBenito |
17de1b |
dontaudit arpwatch_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow arpwatch_t self:process signal_perms;
|
|
Chris PeBenito |
17de1b |
allow arpwatch_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow arpwatch_t self:unix_stream_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow arpwatch_t self:tcp_socket { connect create_stream_socket_perms };
|
|
Chris PeBenito |
17de1b |
allow arpwatch_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow arpwatch_t self:packet_socket create_socket_perms;
|
|
Chris PeBenito |
b0076a |
allow arpwatch_t self:socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(arpwatch_t, arpwatch_data_t, arpwatch_data_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(arpwatch_t, arpwatch_data_t, arpwatch_data_t)
|
|
Chris PeBenito |
0bfccd |
manage_lnk_files_pattern(arpwatch_t, arpwatch_data_t, arpwatch_data_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_dirs_pattern(arpwatch_t, arpwatch_tmp_t, arpwatch_tmp_t)
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(arpwatch_t, arpwatch_tmp_t, arpwatch_tmp_t)
|
|
Chris PeBenito |
17de1b |
files_tmp_filetrans(arpwatch_t, arpwatch_tmp_t, { file dir })
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
0bfccd |
manage_files_pattern(arpwatch_t, arpwatch_var_run_t, arpwatch_var_run_t)
|
|
Chris PeBenito |
0bfccd |
files_pid_filetrans(arpwatch_t, arpwatch_var_run_t, file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
b0076a |
kernel_read_network_state(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
kernel_list_proc(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_proc_symlinks(arpwatch_t)
|
|
Jeremy Solt |
5b082e |
kernel_request_load_module(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(arpwatch_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(arpwatch_t)
|
|
Chris PeBenito |
668b30 |
corenet_tcp_sendrecv_generic_if(arpwatch_t)
|
|
Chris PeBenito |
668b30 |
corenet_udp_sendrecv_generic_if(arpwatch_t)
|
|
Chris PeBenito |
668b30 |
corenet_raw_sendrecv_generic_if(arpwatch_t)
|
|
Chris PeBenito |
c12621 |
corenet_tcp_sendrecv_generic_node(arpwatch_t)
|
|
Chris PeBenito |
c12621 |
corenet_udp_sendrecv_generic_node(arpwatch_t)
|
|
Chris PeBenito |
c12621 |
corenet_raw_sendrecv_generic_node(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(arpwatch_t)
|
|
Jeremy Solt |
5b082e |
dev_read_usbmon_dev(arpwatch_t)
|
|
Chris PeBenito |
b0076a |
dev_rw_generic_usb_dev(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
8021cb |
corecmd_read_bin_symlinks(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
files_read_usr_files(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
files_search_var_lib(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
f7101c |
auth_use_nsswitch(arpwatch_t)
|
|
Chris PeBenito |
f7101c |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
296273 |
userdom_dontaudit_search_user_home_dirs(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
mta_send_mail(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(arpwatch_t)
|
|
Chris PeBenito |
17de1b |
')
|