Fix build breakage
Adding net_admin to wificond created a build breakage for Marlin/Sailfish.
Remove neverallow restrictions as they are for nyc-dr only.
Change-Id: Iaac95091c734e7b84c919addf3872157dc585bbd
(cherry picked from commit c1623d5a036aae9d66dc87671061c2c5310e28d5)
diff --git a/sepolicy/domain.te b/sepolicy/domain.te
index 4d2a886..5fd279b 100644
--- a/sepolicy/domain.te
+++ b/sepolicy/domain.te
@@ -27,32 +27,6 @@
key_socket
} ioctl { 0 };
-# line in the (se)sand: DO NOT grant net_admin capability!
-neverallow {
- domain
- -bluetooth
- -clatd
- -dhcp
- -dnsmasq
- -dumpstate
- -healthd
- -hostapd
- -init
- -netd
- -ppp
- -racoon
- -rild
- -system_server
- -ueventd
- -vold
- -wpa
- # device specific
- -netmgrd
- -cnss-daemon # STOPSHIP b/28340421
- -cnss_diag # STOPSHIP b/28340421
- -location # STOPSHIP b/28340421
-} self:capability net_admin;
-
neverallow domain *:{
appletalk_socket
netlink_firewall_socket