diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2016-06-16 23:33:50 +0800 |
---|---|---|
committer | Dmitry Shmidt <dimitrysh@google.com> | 2016-06-20 11:08:05 -0700 |
commit | d530d18ffa964d115ea9629f848ce151deb28785 (patch) | |
tree | 87d66e7650f791a48a95f140ada987b56fe63823 | |
parent | c63edee2f9b8134fe0dfbb4c094fb56d199ebcd3 (diff) | |
download | hikey-d530d18ffa964d115ea9629f848ce151deb28785.tar.gz |
init.hikey.rc: set right user and group for uim service
to avoid the following SELinux avc dac_override denial:
avc: denied { dac_override } for pid=1790 comm="uim" capability=1 scontext=u:r:hci_attach:s0 tcontext=u:r:hci_attach:s0 tclass=capability permissive=1
Change-Id: Ia0ff7ffbeac155fbc43b52c2ddc880d35c52a654
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r-- | init.hikey.rc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init.hikey.rc b/init.hikey.rc index a144ca6b..642015ca 100644 --- a/init.hikey.rc +++ b/init.hikey.rc @@ -86,7 +86,8 @@ on property:usb_speed.switch=full #userspace daemon needed for bluetooth service uim /system/bin/uim class main - user root + user bluetooth + group bluetooth net_bt_admin system net_bt_stack oneshot service wpa_supplicant /system/bin/wpa_supplicant \ |