2005-05-10 19:51:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# /bin
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/bin/ip -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# /etc
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/dhclient.*conf -- gen_context(system_u:object_r:dhcp_etc_t,s0)
|
|
|
|
/etc/dhclient-script -- gen_context(system_u:object_r:dhcp_etc_t,s0)
|
|
|
|
/etc/dhcpc.* gen_context(system_u:object_r:dhcp_etc_t,s0)
|
|
|
|
/etc/dhcpd\.conf -- gen_context(system_u:object_r:dhcp_etc_t,s0)
|
2010-01-05 15:26:14 +00:00
|
|
|
/etc/dhcp/dhcpd\.conf -- gen_context(system_u:object_r:dhcp_etc_t,s0)
|
2010-02-08 18:38:48 +00:00
|
|
|
/etc/ethers -- gen_context(system_u:object_r:net_conf_t,s0)
|
2010-03-18 19:40:04 +00:00
|
|
|
/etc/hosts -- gen_context(system_u:object_r:net_conf_t,s0)
|
|
|
|
/etc/hosts\.deny.* -- gen_context(system_u:object_r:net_conf_t,s0)
|
|
|
|
/etc/denyhosts.* -- gen_context(system_u:object_r:net_conf_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/resolv\.conf.* -- gen_context(system_u:object_r:net_conf_t,s0)
|
|
|
|
/etc/yp\.conf.* -- gen_context(system_u:object_r:net_conf_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
2005-10-06 19:33:06 +00:00
|
|
|
/etc/dhcp3(/.*)? gen_context(system_u:object_r:dhcp_etc_t,s0)
|
|
|
|
/etc/dhcp3?/dhclient.* gen_context(system_u:object_r:dhcp_etc_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
2005-11-03 18:08:36 +00:00
|
|
|
ifdef(`distro_redhat',`
|
|
|
|
/etc/sysconfig/network-scripts/.*resolv\.conf -- gen_context(system_u:object_r:net_conf_t,s0)
|
2010-03-18 19:40:04 +00:00
|
|
|
/etc/sysconfig/networking(/.*)? gen_context(system_u:object_r:net_conf_t,s0)
|
|
|
|
/etc/sysconfig/network-scripts(/.*)? gen_context(system_u:object_r:net_conf_t,s0)
|
2005-11-03 18:08:36 +00:00
|
|
|
')
|
|
|
|
|
2005-05-10 19:51:00 +00:00
|
|
|
#
|
|
|
|
# /sbin
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/sbin/dhclient.* -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
2005-10-14 17:55:40 +00:00
|
|
|
/sbin/dhcdbd -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
2005-10-06 19:33:06 +00:00
|
|
|
/sbin/dhcpcd -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
|
|
|
/sbin/ethtool -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/sbin/ifconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/sbin/ip -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/sbin/ipx_configure -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/sbin/ipx_interface -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/sbin/ipx_internal_net -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/sbin/iwconfig -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/sbin/mii-tool -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
|
|
|
/sbin/pump -- gen_context(system_u:object_r:dhcpc_exec_t,s0)
|
|
|
|
/sbin/tc -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# /usr
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/usr/sbin/tc -- gen_context(system_u:object_r:ifconfig_exec_t,s0)
|
2005-05-10 19:51:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# /var
|
|
|
|
#
|
2005-10-06 19:33:06 +00:00
|
|
|
/var/lib/dhcp3? -d gen_context(system_u:object_r:dhcp_state_t,s0)
|
|
|
|
/var/lib/dhcp3?/dhclient.* gen_context(system_u:object_r:dhcpc_state_t,s0)
|
|
|
|
/var/lib/dhcpcd(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0)
|
2005-10-14 17:55:40 +00:00
|
|
|
/var/lib/dhclient(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0)
|
2010-03-18 19:40:04 +00:00
|
|
|
/var/lib/wifiroamd(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0)
|
2006-08-23 19:36:04 +00:00
|
|
|
|
2007-12-12 15:55:21 +00:00
|
|
|
/var/run/dhclient.* -- gen_context(system_u:object_r:dhcpc_var_run_t,s0)
|
2006-08-23 19:36:04 +00:00
|
|
|
|
|
|
|
ifdef(`distro_gentoo',`
|
|
|
|
/var/lib/dhcpc(/.*)? gen_context(system_u:object_r:dhcpc_state_t,s0)
|
|
|
|
')
|
2010-08-26 13:41:21 +00:00
|
|
|
|
|
|
|
/etc/firestarter/firestarter\.sh gen_context(system_u:object_r:dhcpc_helper_exec_t,s0)
|