Skip to content
Snippets Groups Projects
Commit 443a43c9 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep
Browse files

Suppress spurious denial

Addresses:
avc: denied { sys_resource } for comm="ip6tables" capability=24
scontext=u:r:netutils_wrapper:s0 tcontext=u:r:netutils_wrapper:s0
tclass=capability

Bug: 77905989
Test: build and flash taimen-userdebug
Change-Id: Ic5d7c96152b96b55255eeec00b19948f38c1923c
parent 956aba8f
No related branches found
No related tags found
No related merge requests found
...@@ -33,3 +33,9 @@ domain_auto_trans({ ...@@ -33,3 +33,9 @@ domain_auto_trans({
-coredomain -coredomain
-appdomain -appdomain
}, netutils_wrapper_exec, netutils_wrapper) }, 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 };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment