|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
12e9ea |
policy_module(avahi,1.7.1)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
########################################
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
# Declarations
|
|
Chris PeBenito |
17de1b |
#
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type avahi_t;
|
|
Chris PeBenito |
17de1b |
type avahi_exec_t;
|
|
Chris PeBenito |
17de1b |
init_daemon_domain(avahi_t,avahi_exec_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
type avahi_var_run_t;
|
|
Chris PeBenito |
17de1b |
files_pid_file(avahi_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 |
f7101c |
allow avahi_t self:capability { dac_override setgid chown fowner kill setuid sys_chroot };
|
|
Chris PeBenito |
17de1b |
dontaudit avahi_t self:capability sys_tty_config;
|
|
Chris PeBenito |
17de1b |
allow avahi_t self:process { setrlimit signal_perms setcap };
|
|
Chris PeBenito |
17de1b |
allow avahi_t self:fifo_file { read write };
|
|
Chris PeBenito |
17de1b |
allow avahi_t self:unix_stream_socket { connectto create_stream_socket_perms };
|
|
Chris PeBenito |
17de1b |
allow avahi_t self:unix_dgram_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow avahi_t self:tcp_socket create_stream_socket_perms;
|
|
Chris PeBenito |
17de1b |
allow avahi_t self:udp_socket create_socket_perms;
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
c0868a |
manage_files_pattern(avahi_t,avahi_var_run_t,avahi_var_run_t)
|
|
Chris PeBenito |
c0868a |
manage_sock_files_pattern(avahi_t,avahi_var_run_t,avahi_var_run_t)
|
|
Chris PeBenito |
c0868a |
allow avahi_t avahi_var_run_t:dir setattr;
|
|
Chris PeBenito |
17de1b |
files_pid_filetrans(avahi_t,avahi_var_run_t,file)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
kernel_read_kernel_sysctls(avahi_t)
|
|
Chris PeBenito |
17de1b |
kernel_list_proc(avahi_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_proc_symlinks(avahi_t)
|
|
Chris PeBenito |
17de1b |
kernel_read_network_state(avahi_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_unlabeled(avahi_t)
|
|
Chris PeBenito |
190066 |
corenet_all_recvfrom_netlabel(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_if(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_if(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_nodes(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_nodes(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_sendrecv_all_ports(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_sendrecv_all_ports(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_all_nodes(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_all_nodes(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_tcp_bind_howl_port(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_udp_bind_howl_port(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_send_howl_client_packets(avahi_t)
|
|
Chris PeBenito |
17de1b |
corenet_receive_howl_server_packets(avahi_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
dev_read_sysfs(avahi_t)
|
|
Chris PeBenito |
17de1b |
dev_read_urand(avahi_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
fs_getattr_all_fs(avahi_t)
|
|
Chris PeBenito |
17de1b |
fs_search_auto_mountpoints(avahi_t)
|
|
Chris PeBenito |
8d2c34 |
fs_list_inotifyfs(avahi_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
domain_use_interactive_fds(avahi_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
files_read_etc_files(avahi_t)
|
|
Chris PeBenito |
17de1b |
files_read_etc_runtime_files(avahi_t)
|
|
Chris PeBenito |
a5e213 |
files_read_usr_files(avahi_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
ed4b73 |
auth_use_nsswitch(avahi_t)
|
|
Chris PeBenito |
ed4b73 |
|
|
Chris PeBenito |
17de1b |
init_signal_script(avahi_t)
|
|
Chris PeBenito |
17de1b |
init_signull_script(avahi_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
libs_use_ld_so(avahi_t)
|
|
Chris PeBenito |
17de1b |
libs_use_shared_libs(avahi_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
logging_send_syslog_msg(avahi_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
miscfiles_read_localization(avahi_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_use_unpriv_user_fds(avahi_t)
|
|
Chris PeBenito |
17de1b |
userdom_dontaudit_search_sysadm_home_dirs(avahi_t)
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
dbus_system_bus_client_template(avahi,avahi_t)
|
|
Chris PeBenito |
17de1b |
dbus_connect_system_bus(avahi_t)
|
|
Chris PeBenito |
bd973e |
|
|
Chris PeBenito |
17de1b |
init_dbus_chat_script(avahi_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
seutil_sigchld_newrole(avahi_t)
|
|
Chris PeBenito |
17de1b |
')
|
|
Chris PeBenito |
17de1b |
|
|
Chris PeBenito |
17de1b |
optional_policy(`
|
|
Chris PeBenito |
17de1b |
udev_read_db(avahi_t)
|
|
Chris PeBenito |
17de1b |
')
|