Skip to content

Commit

Permalink
Merge "netutils_wrapper: suppress sysfs denials"
Browse files Browse the repository at this point in the history
  • Loading branch information
Treehugger Robot authored and Gerrit Code Review committed Mar 30, 2019
2 parents aed7273 + c510da9 commit 2c6a0eb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions private/netutils_wrapper.te
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ domain_auto_trans({

# suppress spurious denials
dontaudit netutils_wrapper self:global_capability_class_set sys_resource;
dontaudit netutils_wrapper sysfs_type:file read;

# netutils wrapper may only use the following capabilities.
neverallow netutils_wrapper self:global_capability_class_set ~{ net_admin net_raw };

0 comments on commit 2c6a0eb

Please sign in to comment.