summaryrefslogtreecommitdiff
path: root/sepolicy/shell.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/shell.te')
-rw-r--r--sepolicy/shell.te4
1 files changed, 2 insertions, 2 deletions
diff --git a/sepolicy/shell.te b/sepolicy/shell.te
index b4f6f1b..4069fc1 100644
--- a/sepolicy/shell.te
+++ b/sepolicy/shell.te
@@ -1,7 +1,7 @@
allow shell serial_device:chr_file rw_file_perms;
-# hack for running svc netd setdefaultifdns
-allow shell dalvikcache_data_file:file rw_file_perms;
+# allow to use ndc command to enable dns work
+allow shell netd_socket:sock_file write;
# hack for running netcfg eth0 dhcp/ifconfig/ping on console session
allow shell self:packet_socket create_socket_perms;