Skip to content
Snippets Groups Projects
Commit 6c80fcba authored by Jack He's avatar Jack He Committed by Andre Eisenbach
Browse files

Allow Bluetooth process to access /dev/uhid in SELinux Policy

Bug: 37476041
Test: make, pair and connect to HID device
Change-Id: Ic7e81382994769e3f3a91255dcf3624edeaf6bfd
(cherry picked from commit a61f7f60)
parent ec470829
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,9 @@ allow bluetooth self:tun_socket create_socket_perms_no_ioctl; ...@@ -33,6 +33,9 @@ allow bluetooth self:tun_socket create_socket_perms_no_ioctl;
allow bluetooth tun_device:chr_file rw_file_perms; allow bluetooth tun_device:chr_file rw_file_perms;
allow bluetooth efs_file:dir search; allow bluetooth efs_file:dir search;
# allow Bluetooth to access uhid device for HID profile
allow bluetooth uhid_device:chr_file rw_file_perms;
# proc access. # proc access.
allow bluetooth proc_bluetooth_writable:file rw_file_perms; allow bluetooth proc_bluetooth_writable:file rw_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment