aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvm03 <vasy@vasy.ru>2016-12-08 16:19:12 +0300
committervm03 <vasy@vasy.ru>2016-12-08 16:22:49 +0300
commit9aec4de486ea2e70e91d372f975daadaa98bd8bf (patch)
tree98f3a31879cea2959d9be37650fd6b180dd9dd53
parentac5253bc6262f9ef421c5bf71c771aaa0e5bd1bc (diff)
msm8226-common: sepolicy: little more updates for mac loader and netmgrd
Change-Id: I7c3b6e0acbd45c32c65bccb4cf054eabbf2e4fb0
-rw-r--r--sepolicy/netmgrd.te1
-rw-r--r--sepolicy/qti_init_shell.te4
2 files changed, 5 insertions, 0 deletions
diff --git a/sepolicy/netmgrd.te b/sepolicy/netmgrd.te
new file mode 100644
index 0000000..a034c0c
--- /dev/null
+++ b/sepolicy/netmgrd.te
@@ -0,0 +1 @@
+allow netmgrd self:capability dac_override;
diff --git a/sepolicy/qti_init_shell.te b/sepolicy/qti_init_shell.te
index 74bcd89..1e68726 100644
--- a/sepolicy/qti_init_shell.te
+++ b/sepolicy/qti_init_shell.te
@@ -4,3 +4,7 @@ allow qti_init_shell unlabeled:file getattr;
allow qti_init_shell vfat:file { read open };
allow qti_init_shell unlabeled:dir search;
allow qti_init_shell vfat:dir search;
+allow qti_init_shell bluetooth_loader_exec:file { read getattr open };
+allow qti_init_shell btnvtool_exec:file execute_no_trans;
+allow qti_init_shell hci_attach_dev:chr_file { read write getattr open ioctl };
+allow qti_init_shell hwaddrs_exec:file execute_no_trans;