Chris PeBenito 29af4c
policy_module(sysnetwork, 1.11.0)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Declarations
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Dan Walsh 3eaa99
## <desc>
Dan Walsh 3eaa99
## 

Dan Walsh 3eaa99
## Allow dhcpc client applications to execute iptables commands
Dan Walsh 3eaa99
## 

Dan Walsh 3eaa99
## </desc>
Dan Walsh 3eaa99
gen_tunable(dhcpc_exec_iptables, false)
Dan Walsh 3eaa99
Chris PeBenito 17de1b
# this is shared between dhcpc and dhcpd:
Chris PeBenito 17de1b
type dhcp_etc_t;
Chris PeBenito 17de1b
typealias dhcp_etc_t alias { etc_dhcp_t etc_dhcpc_t etc_dhcpd_t };
Chris PeBenito 17de1b
files_config_file(dhcp_etc_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# this is shared between dhcpc and dhcpd:
Chris PeBenito 17de1b
type dhcp_state_t;
Chris PeBenito 17de1b
files_type(dhcp_state_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type dhcpc_t;
Chris PeBenito 17de1b
type dhcpc_exec_t;
Chris PeBenito 3f67f7
init_daemon_domain(dhcpc_t, dhcpc_exec_t)
Chris PeBenito 17de1b
role system_r types dhcpc_t;
Chris PeBenito 17de1b
Dan Walsh 3eaa99
type dhcpc_helper_exec_t;
Dan Walsh 3eaa99
init_script_file(dhcpc_helper_exec_t)
Dan Walsh 3eaa99
Chris PeBenito 17de1b
type dhcpc_state_t;
Chris PeBenito 17de1b
files_type(dhcpc_state_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type dhcpc_tmp_t;
Chris PeBenito 17de1b
files_tmp_file(dhcpc_tmp_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type dhcpc_var_run_t;
Chris PeBenito 17de1b
files_pid_file(dhcpc_var_run_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type ifconfig_t;
Chris PeBenito 17de1b
type ifconfig_exec_t;
Chris PeBenito 17de1b
init_system_domain(ifconfig_t, ifconfig_exec_t)
Chris PeBenito 17de1b
role system_r types ifconfig_t;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
type net_conf_t alias resolv_conf_t;
Chris PeBenito 17de1b
files_type(net_conf_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# DHCP client local policy
Chris PeBenito 17de1b
#
Chris PeBenito 1fa92b
allow dhcpc_t self:capability { dac_override fsetid net_admin net_raw net_bind_service setpcap sys_nice sys_resource sys_tty_config };
Chris PeBenito 1fa92b
dontaudit dhcpc_t self:capability { sys_tty_config sys_ptrace };
Chris PeBenito 17de1b
# for access("/etc/bashrc", X_OK) on Red Hat
Chris PeBenito 17de1b
dontaudit dhcpc_t self:capability { dac_read_search sys_module };
Chris PeBenito 1fa92b
allow dhcpc_t self:process { getsched getcap setcap setfscreate ptrace signal_perms };
Chris PeBenito 1fa92b
Chris PeBenito 1fa92b
allow dhcpc_t self:fifo_file rw_fifo_file_perms;
Chris PeBenito 17de1b
allow dhcpc_t self:tcp_socket create_stream_socket_perms;
Chris PeBenito 17de1b
allow dhcpc_t self:udp_socket create_socket_perms;
Chris PeBenito 17de1b
allow dhcpc_t self:packet_socket create_socket_perms;
Chris PeBenito 1fa92b
allow dhcpc_t self:netlink_route_socket { create_socket_perms nlmsg_read };
Chris PeBenito 17de1b
Chris PeBenito c0868a
allow dhcpc_t dhcp_etc_t:dir list_dir_perms;
Chris PeBenito 3f67f7
read_lnk_files_pattern(dhcpc_t, dhcp_etc_t, dhcp_etc_t)
Chris PeBenito 3f67f7
exec_files_pattern(dhcpc_t, dhcp_etc_t, dhcp_etc_t)
Chris PeBenito 17de1b
Chris PeBenito 1fa92b
allow dhcpc_t dhcp_state_t:file read_file_perms;
Dan Walsh 3eaa99
allow dhcpc_t dhcp_state_t:file relabel_file_perms;
Dan Walsh 3eaa99
Chris PeBenito 3f67f7
manage_files_pattern(dhcpc_t, dhcpc_state_t, dhcpc_state_t)
Chris PeBenito 3f67f7
filetrans_pattern(dhcpc_t, dhcp_state_t, dhcpc_state_t, file)
Dan Walsh 3eaa99
allow dhcpc_t dhcpc_state_t:file relabel_file_perms;
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# create pid file
Chris PeBenito 3f67f7
manage_files_pattern(dhcpc_t, dhcpc_var_run_t, dhcpc_var_run_t)
Chris PeBenito 3f67f7
files_pid_filetrans(dhcpc_t, dhcpc_var_run_t, file)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# Allow read/write to /etc/resolv.conf and /etc/ntp.conf. Note that any files
Chris PeBenito 17de1b
# in /etc created by dhcpcd will be labelled net_conf_t.
Dan Walsh 3eaa99
allow dhcpc_t net_conf_t:file manage_file_perms;
Dan Walsh 3eaa99
allow dhcpc_t net_conf_t:file relabel_file_perms;
Chris PeBenito 1fa92b
sysnet_manage_config(dhcpc_t)
Chris PeBenito 3f67f7
files_etc_filetrans(dhcpc_t, net_conf_t, file)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# create temp files
Chris PeBenito 3f67f7
manage_dirs_pattern(dhcpc_t, dhcpc_tmp_t, dhcpc_tmp_t)
Chris PeBenito 3f67f7
manage_files_pattern(dhcpc_t, dhcpc_tmp_t, dhcpc_tmp_t)
Chris PeBenito 17de1b
files_tmp_filetrans(dhcpc_t, dhcpc_tmp_t, { file dir })
Chris PeBenito 17de1b
Chris PeBenito 17de1b
can_exec(dhcpc_t, dhcpc_exec_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# transition to ifconfig
Chris PeBenito c0868a
domtrans_pattern(dhcpc_t, ifconfig_exec_t, ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
kernel_read_system_state(dhcpc_t)
Chris PeBenito 17de1b
kernel_read_network_state(dhcpc_t)
Chris PeBenito 1fa92b
kernel_search_network_sysctl(dhcpc_t)
Chris PeBenito 17de1b
kernel_read_kernel_sysctls(dhcpc_t)
Chris PeBenito 1fa92b
kernel_request_load_module(dhcpc_t)
Chris PeBenito 17de1b
kernel_use_fds(dhcpc_t)
Chris PeBenito 17de1b
Chris PeBenito d69616
corecmd_exec_bin(dhcpc_t)
Chris PeBenito d69616
corecmd_exec_shell(dhcpc_t)
Chris PeBenito d69616
Chris PeBenito 190066
corenet_all_recvfrom_unlabeled(dhcpc_t)
Chris PeBenito 190066
corenet_all_recvfrom_netlabel(dhcpc_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_if(dhcpc_t)
Chris PeBenito 17de1b
corenet_raw_sendrecv_all_if(dhcpc_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_all_if(dhcpc_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_nodes(dhcpc_t)
Chris PeBenito 17de1b
corenet_raw_sendrecv_all_nodes(dhcpc_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_all_nodes(dhcpc_t)
Chris PeBenito 17de1b
corenet_tcp_sendrecv_all_ports(dhcpc_t)
Chris PeBenito 17de1b
corenet_udp_sendrecv_all_ports(dhcpc_t)
Chris PeBenito 17de1b
corenet_tcp_bind_all_nodes(dhcpc_t)
Chris PeBenito 17de1b
corenet_udp_bind_all_nodes(dhcpc_t)
Chris PeBenito 17de1b
corenet_udp_bind_dhcpc_port(dhcpc_t)
Chris PeBenito 17de1b
corenet_tcp_connect_all_ports(dhcpc_t)
Chris PeBenito 17de1b
corenet_sendrecv_dhcpd_client_packets(dhcpc_t)
Chris PeBenito 17de1b
corenet_sendrecv_dhcpc_server_packets(dhcpc_t)
Dan Walsh 3eaa99
corenet_dontaudit_udp_bind_all_reserved_ports(dhcpc_t)
Dan Walsh 3eaa99
corenet_udp_bind_all_unreserved_ports(dhcpc_t)	
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_sysfs(dhcpc_t)
Chris PeBenito 17de1b
# for SSP:
Chris PeBenito 17de1b
dev_read_urand(dhcpc_t)
Chris PeBenito 17de1b
Dan Walsh 3eaa99
domain_obj_id_change_exemption(dhcpc_t)
Chris PeBenito 17de1b
domain_use_interactive_fds(dhcpc_t)
Chris PeBenito 1fa92b
domain_dontaudit_read_all_domains_state(dhcpc_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
files_read_etc_files(dhcpc_t)
Chris PeBenito 17de1b
files_read_etc_runtime_files(dhcpc_t)
Chris PeBenito 1fa92b
files_read_usr_files(dhcpc_t)
Chris PeBenito 17de1b
files_search_home(dhcpc_t)
Chris PeBenito 17de1b
files_search_var_lib(dhcpc_t)
Chris PeBenito 17de1b
files_dontaudit_search_locks(dhcpc_t)
Chris PeBenito 1fa92b
files_getattr_generic_locks(dhcpc_t)
Chris PeBenito 17de1b
Chris PeBenito d69616
fs_getattr_all_fs(dhcpc_t)
Chris PeBenito d69616
fs_search_auto_mountpoints(dhcpc_t)
Chris PeBenito d69616
Chris PeBenito c3c753
term_dontaudit_use_all_ttys(dhcpc_t)
Chris PeBenito c3c753
term_dontaudit_use_all_ptys(dhcpc_t)
Chris PeBenito d69616
term_dontaudit_use_unallocated_ttys(dhcpc_t)
Chris PeBenito d69616
term_dontaudit_use_generic_ptys(dhcpc_t)
Chris PeBenito d69616
Chris PeBenito 17de1b
init_rw_utmp(dhcpc_t)
Dan Walsh 3eaa99
init_stream_connect(dhcpc_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(dhcpc_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(dhcpc_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
modutils_domtrans_insmod(dhcpc_t)
Chris PeBenito 17de1b
Chris PeBenito 296273
userdom_use_user_terminals(dhcpc_t)
Chris PeBenito 296273
userdom_dontaudit_search_user_home_dirs(dhcpc_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
ifdef(`distro_redhat', `
Chris PeBenito 17de1b
	files_exec_etc_files(dhcpc_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 12cf80
ifdef(`distro_ubuntu',`
Chris PeBenito 12cf80
	optional_policy(`
Chris PeBenito 12cf80
		unconfined_domain(dhcpc_t)
Chris PeBenito 12cf80
	')
Chris PeBenito 12cf80
')
Chris PeBenito 12cf80
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	consoletype_domtrans(dhcpc_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Dan Walsh 3eaa99
	chronyd_initrc_domtrans(dhcpc_t)
Dan Walsh 3eaa99
')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
optional_policy(`
Chris PeBenito 17de1b
	init_dbus_chat_script(dhcpc_t)
Chris PeBenito 17de1b
Chris PeBenito 296273
	dbus_system_bus_client(dhcpc_t)
Chris PeBenito 17de1b
	dbus_connect_system_bus(dhcpc_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	optional_policy(`
Chris PeBenito 17de1b
		networkmanager_dbus_chat(dhcpc_t)
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	hostname_domtrans(dhcpc_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 1fa92b
	hal_dontaudit_rw_dgram_sockets(dhcpc_t)
Dan Walsh 3eaa99
	hal_dontaudit_read_pid_files(dhcpc_t)
Dan Walsh 3eaa99
	hal_dontaudit_write_log(dhcpc_t)
Chris PeBenito 1fa92b
')
Chris PeBenito 1fa92b
Chris PeBenito 1fa92b
optional_policy(`
Chris PeBenito 17de1b
	hotplug_getattr_config_dirs(dhcpc_t)
Chris PeBenito 17de1b
	hotplug_search_config(dhcpc_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	ifdef(`distro_redhat',`
Chris PeBenito 17de1b
		logging_domtrans_syslog(dhcpc_t)
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
# for the dhcp client to run ping to check IP addresses
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	netutils_domtrans_ping(dhcpc_t)
Chris PeBenito 17de1b
	netutils_domtrans(dhcpc_t)
Chris PeBenito 17de1b
',`
Chris PeBenito 17de1b
	allow dhcpc_t self:capability setuid;
Chris PeBenito 17de1b
	allow dhcpc_t self:rawip_socket create_socket_perms;
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Dan Walsh 3eaa99
	networkmanager_domtrans(dhcpc_t)
Dan Walsh 3eaa99
	networkmanager_read_pid_files(dhcpc_t)
Dan Walsh 3eaa99
	networkmanager_read_lib_files(dhcpc_t)
Dan Walsh 3eaa99
')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
optional_policy(`
Dan Walsh 3eaa99
	nis_initrc_domtrans_ypbind(dhcpc_t)
Chris PeBenito 17de1b
	nis_read_ypbind_pid(dhcpc_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 1fa92b
	nscd_initrc_domtrans(dhcpc_t)
Chris PeBenito 17de1b
	nscd_domtrans(dhcpc_t)
Chris PeBenito 17de1b
	nscd_read_pid(dhcpc_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 1fa92b
	ntp_initrc_domtrans(dhcpc_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	pcmcia_stub(dhcpc_t)
Chris PeBenito 17de1b
	dev_rw_cardmgr(dhcpc_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	seutil_sigchld_newrole(dhcpc_t)
Chris PeBenito 17de1b
	seutil_dontaudit_search_config(dhcpc_t)
Dan Walsh 3eaa99
	seutil_domtrans_setfiles(dhcpc_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	udev_read_db(dhcpc_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	userdom_use_all_users_fds(dhcpc_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 1fa92b
	vmware_append_log(dhcpc_t)
Chris PeBenito 1fa92b
')
Chris PeBenito 1fa92b
Chris PeBenito 1fa92b
optional_policy(`
Chris PeBenito 17de1b
	kernel_read_xen_state(dhcpc_t)
Chris PeBenito 17de1b
	kernel_write_xen_state(dhcpc_t)
Chris PeBenito 17de1b
	xen_append_log(dhcpc_t)
Chris PeBenito 17de1b
	xen_dontaudit_rw_unix_stream_sockets(dhcpc_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
########################################
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
# Ifconfig local policy
Chris PeBenito 17de1b
#
Chris PeBenito 17de1b
Chris PeBenito 17de1b
allow ifconfig_t self:capability { net_raw net_admin sys_tty_config };
Chris PeBenito d69616
allow ifconfig_t self:process ~{ ptrace setcurrent setexec setfscreate setrlimit execmem execheap execstack };
Chris PeBenito 17de1b
allow ifconfig_t self:fd use;
Chris PeBenito c0868a
allow ifconfig_t self:fifo_file rw_fifo_file_perms;
Chris PeBenito c0868a
allow ifconfig_t self:sock_file read_sock_file_perms;
Chris PeBenito 17de1b
allow ifconfig_t self:socket create_socket_perms;
Chris PeBenito 17de1b
allow ifconfig_t self:unix_dgram_socket create_socket_perms;
Chris PeBenito 17de1b
allow ifconfig_t self:unix_stream_socket create_stream_socket_perms;
Chris PeBenito 17de1b
allow ifconfig_t self:unix_dgram_socket sendto;
Chris PeBenito 17de1b
allow ifconfig_t self:unix_stream_socket connectto;
Chris PeBenito 17de1b
allow ifconfig_t self:shm create_shm_perms;
Chris PeBenito 17de1b
allow ifconfig_t self:sem create_sem_perms;
Chris PeBenito 17de1b
allow ifconfig_t self:msgq create_msgq_perms;
Chris PeBenito 17de1b
allow ifconfig_t self:msg { send receive };
Chris PeBenito 17de1b
# Create UDP sockets, necessary when called from dhcpc
Chris PeBenito 17de1b
allow ifconfig_t self:udp_socket create_socket_perms;
Chris PeBenito 17de1b
# for /sbin/ip
Chris PeBenito 17de1b
allow ifconfig_t self:packet_socket create_socket_perms;
Chris PeBenito 17de1b
allow ifconfig_t self:netlink_route_socket create_netlink_socket_perms;
Chris PeBenito 465510
allow ifconfig_t self:netlink_xfrm_socket { create_netlink_socket_perms nlmsg_read };
Chris PeBenito 17de1b
allow ifconfig_t self:tcp_socket { create ioctl };
Chris PeBenito 17de1b
Chris PeBenito 17de1b
kernel_use_fds(ifconfig_t)
Chris PeBenito 17de1b
kernel_read_system_state(ifconfig_t)
Chris PeBenito 17de1b
kernel_read_network_state(ifconfig_t)
Chris PeBenito 1fa92b
kernel_request_load_module(ifconfig_t)
Chris PeBenito 17de1b
kernel_search_network_sysctl(ifconfig_t)
Chris PeBenito 17de1b
kernel_rw_net_sysctls(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
corenet_rw_tun_tap_dev(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
dev_read_sysfs(ifconfig_t)
Chris PeBenito 17de1b
# for IPSEC setup:
Chris PeBenito 17de1b
dev_read_urand(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito d69616
domain_use_interactive_fds(ifconfig_t)
Chris PeBenito d69616
Dan Walsh 3eaa99
read_files_pattern(ifconfig_t, dhcpc_state_t, dhcpc_state_t)
Dan Walsh 3eaa99
Chris PeBenito d69616
files_read_etc_files(ifconfig_t)
Chris PeBenito 1fa92b
files_read_etc_runtime_files(ifconfig_t)
Dan Walsh 3eaa99
files_read_usr_files(ifconfig_t)
Chris PeBenito d69616
Chris PeBenito 17de1b
fs_getattr_xattr_fs(ifconfig_t)
Chris PeBenito 17de1b
fs_search_auto_mountpoints(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 1fa92b
selinux_dontaudit_getattr_fs(ifconfig_t)
Chris PeBenito 1fa92b
Chris PeBenito 1fa92b
term_dontaudit_use_console(ifconfig_t)
Chris PeBenito c3c753
term_dontaudit_use_all_ttys(ifconfig_t)
Chris PeBenito c3c753
term_dontaudit_use_all_ptys(ifconfig_t)
Chris PeBenito 1fa92b
term_dontaudit_use_ptmx(ifconfig_t)
Chris PeBenito 1fa92b
term_dontaudit_use_generic_ptys(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
files_dontaudit_read_root_files(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
init_use_fds(ifconfig_t)
Chris PeBenito 17de1b
init_use_script_ptys(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
libs_read_lib_files(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
logging_send_syslog_msg(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
miscfiles_read_localization(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
modutils_domtrans_insmod(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 17de1b
seutil_use_runinit_fds(ifconfig_t)
Chris PeBenito 17de1b
Dan Walsh 3eaa99
sysnet_dns_name_resolve(ifconfig_t)
Dan Walsh 3eaa99
Chris PeBenito 296273
userdom_use_user_terminals(ifconfig_t)
Chris PeBenito 17de1b
userdom_use_all_users_fds(ifconfig_t)
Chris PeBenito 17de1b
Chris PeBenito 12cf80
ifdef(`distro_ubuntu',`
Chris PeBenito 12cf80
	optional_policy(`
Chris PeBenito 12cf80
		unconfined_domain(ifconfig_t)
Chris PeBenito 12cf80
	')
Chris PeBenito 12cf80
')
Chris PeBenito 2a9837
Dan Walsh 3eaa99
optional_policy(`
Dan Walsh 3eaa99
	brctl_domtrans(ifconfig_t)
Dan Walsh 3eaa99
')
Dan Walsh 3eaa99
Chris PeBenito 17de1b
ifdef(`hide_broken_symptoms',`
Chris PeBenito 17de1b
	optional_policy(`
Chris PeBenito 17de1b
		dev_dontaudit_rw_cardmgr(ifconfig_t)
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
	optional_policy(`
Chris PeBenito 17de1b
		udev_dontaudit_rw_dgram_sockets(ifconfig_t)
Chris PeBenito 17de1b
	')
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 1fa92b
	hal_dontaudit_rw_pipes(ifconfig_t)
Chris PeBenito 1fa92b
	hal_dontaudit_rw_dgram_sockets(ifconfig_t)
Dan Walsh 3eaa99
	hal_dontaudit_read_pid_files(ifconfig_t)
Dan Walsh 3eaa99
	hal_write_log(ifconfig_t)
Chris PeBenito 1fa92b
')
Chris PeBenito 1fa92b
Chris PeBenito 1fa92b
optional_policy(`
Chris PeBenito e0ed76
	ipsec_write_pid(ifconfig_t)
Chris PeBenito e0ed76
')
Chris PeBenito e0ed76
Chris PeBenito e0ed76
optional_policy(`
Dan Walsh 3eaa99
	netutils_domtrans(dhcpc_t)
Dan Walsh 3eaa99
')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
optional_policy(`
Chris PeBenito 17de1b
	nis_use_ypbind(ifconfig_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 17de1b
	ppp_use_fds(ifconfig_t)
Chris PeBenito 17de1b
')
Chris PeBenito 17de1b
Chris PeBenito 17de1b
optional_policy(`
Chris PeBenito 1fa92b
	unconfined_dontaudit_rw_pipes(ifconfig_t)
Chris PeBenito 1fa92b
')
Chris PeBenito 1fa92b
Chris PeBenito 1fa92b
optional_policy(`
Chris PeBenito 1fa92b
	vmware_append_log(ifconfig_t)
Chris PeBenito 1fa92b
')
Chris PeBenito 1fa92b
Chris PeBenito 1fa92b
optional_policy(`
Chris PeBenito 17de1b
	kernel_read_xen_state(ifconfig_t)
Chris PeBenito 17de1b
	kernel_write_xen_state(ifconfig_t)
Chris PeBenito 17de1b
	xen_append_log(ifconfig_t)
Chris PeBenito 17de1b
	xen_dontaudit_rw_unix_stream_sockets(ifconfig_t)
Chris PeBenito 17de1b
')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
optional_policy(`
Dan Walsh 3eaa99
	tunable_policy(`dhcpc_exec_iptables',`
Dan Walsh 3eaa99
		iptables_domtrans(dhcpc_t)
Dan Walsh 3eaa99
	')
Dan Walsh 3eaa99
')