diff options
| author | Ethan Chen <intervigil@gmail.com> | 2015-12-08 11:23:56 -0800 |
|---|---|---|
| committer | TheStrix <parthbhatia98@gmail.com> | 2015-12-09 09:54:00 -0500 |
| commit | 41efa0831f15ff76a825ff1a53e214f089478b3d (patch) | |
| tree | 66054b4fb8d6093ad7a2163a54d47d54a261153d | |
| parent | 81ab0bb0f0d6724faaffb6b965369be229ee4565 (diff) | |
msm8916: Update SELinux policy for btnvtool context
Change-Id: I3d137dc2e484ac92123c672fd8485bac8e41e6a9
| -rw-r--r-- | sepolicy/bluetooth_loader.te | 5 | ||||
| -rw-r--r-- | sepolicy/file_contexts | 1 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sepolicy/bluetooth_loader.te b/sepolicy/bluetooth_loader.te index d867e05..1e59dda 100644 --- a/sepolicy/bluetooth_loader.te +++ b/sepolicy/bluetooth_loader.te @@ -40,4 +40,7 @@ allow bluetooth_loader hci_attach_dev:chr_file rw_file_perms; allow bluetooth_loader qmuxd_socket:dir { write add_name remove_name search }; allow bluetooth_loader qmuxd_socket:sock_file { create setattr getattr write unlink }; allow bluetooth_loader qmuxd:unix_stream_socket { connectto }; -# + +# btnvtool +allow bluetooth_loader btnvtool_exec:file rx_file_perms; + diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 11644e6..6ac26d6 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -1,7 +1,6 @@ /persist/.genmac u:object_r:wifi_data_file:s0 /persist/.bt_nv.bin u:object_r:bluetooth_data_file:s0 -/system/bin/btnvtool u:object_r:bluetooth_loader_exec:s0 /system/etc/init\.qcom\.bt\.sh u:object_r:bluetooth_loader_exec:s0 /dev/smd3 u:object_r:hci_attach_dev:s0 |
