diff --git a/private/netutils_wrapper.te b/private/netutils_wrapper.te index f56e8d8618f8cb267938a882f1d6925caee6af31..ea58814e1a353444ca8311c01feae94260f1abc5 100644 --- a/private/netutils_wrapper.te +++ b/private/netutils_wrapper.te @@ -33,3 +33,9 @@ domain_auto_trans({ -coredomain -appdomain }, netutils_wrapper_exec, netutils_wrapper) + +# suppress spurious denials +dontaudit netutils_wrapper self:global_capability_class_set sys_resource; + +# netutils wrapper may only use the following capabilities. +neverallow netutils_wrapper self:global_capability_class_set ~{ net_admin net_raw };