Skip to content
Snippets Groups Projects
Commit a61f7f60 authored by Jack He's avatar Jack He
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
parent 9d46f9b4
No related branches found
No related tags found
No related merge requests found
...@@ -32,6 +32,9 @@ allow bluetooth self:tun_socket create_socket_perms_no_ioctl; ...@@ -32,6 +32,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