Merge pull request #598 from desultory/master

Added interface: sysnet_dontaudit_rw_dhcpc_dgram_sockets
This commit is contained in:
Chris PeBenito 2023-02-13 10:06:16 -05:00 committed by GitHub
commit aedf310cdb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,6 +83,25 @@ interface(`sysnet_dontaudit_use_dhcpc_fds',`
dontaudit $1 dhcpc_t:fd use;
')
########################################
## <summary>
## Do not audit attempts to read/write to the
## dhcp unix datagram socket descriptors.
## </summary>
## <param name="domain">
## <summary>
## Domain to not audit.
## </summary>
## </param>
#
interface(`sysnet_dontaudit_rw_dhcpc_dgram_sockets',`
gen_require(`
type dhcpc_t;
')
dontaudit $1 dhcpc_t:unix_dgram_socket { read write };
')
########################################
## <summary>
## Do not audit attempts to read/write to the