Corenetwork patch from Dan Walsh.

This commit is contained in:
Chris PeBenito 2010-03-04 13:50:46 -05:00
parent c9ab7707b3
commit eeb7616f5e
2 changed files with 20 additions and 1 deletions

View File

@ -1918,6 +1918,25 @@ interface(`corenet_rw_tun_tap_dev',`
allow $1 tun_tap_device_t:chr_file rw_chr_file_perms;
')
########################################
## <summary>
## Do not audit attempts to read or write the TUN/TAP
## virtual network device.
## </summary>
## <param name="domain">
## <summary>
## Domain to not audit.
## </summary>
## </param>
#
interface(`corenet_dontaudit_rw_tun_tap_dev',`
gen_require(`
type tun_tap_device_t;
')
dontaudit $1 tun_tap_device_t:chr_file { read write };
')
########################################
## <summary>
## Getattr the point-to-point device.

View File

@ -1,5 +1,5 @@
policy_module(corenetwork, 1.13.6)
policy_module(corenetwork, 1.13.7)
########################################
#