diff --git a/policy/modules/system/sysnetwork.if b/policy/modules/system/sysnetwork.if index b2314784a..f22afb7a6 100644 --- a/policy/modules/system/sysnetwork.if +++ b/policy/modules/system/sysnetwork.if @@ -364,6 +364,31 @@ interface(`sysnet_read_config',` ') ') +####################################### +## +## Map network config files. +## +## +## +## Allow the specified domain to mmap the +## general network configuration files. +## +## +## +## +## Domain allowed access. +## +## +# +interface(`sysnet_mmap_config_files',` + gen_require(` + type net_conf_t; + ') + + files_search_etc($1) + allow $1 net_conf_t:file map; +') + ####################################### ## ## Do not audit attempts to read network config files.
+## Allow the specified domain to mmap the +## general network configuration files. +##