Merge "Add BT hal sepolicy for allowing accessing AoC device node"
This commit is contained in:
commit
dfe1f3799b
2 changed files with 4 additions and 6 deletions
|
@ -1,9 +1,4 @@
|
|||
# b/264489608
|
||||
userdebug_or_eng(`
|
||||
permissive hal_bluetooth_btlinux;
|
||||
')# b/265587172
|
||||
dontaudit hal_bluetooth_btlinux aoc_device:chr_file { getattr };
|
||||
dontaudit hal_bluetooth_btlinux aoc_device:chr_file { open };
|
||||
dontaudit hal_bluetooth_btlinux aoc_device:chr_file { read write };
|
||||
dontaudit hal_bluetooth_btlinux device:dir { read };
|
||||
dontaudit hal_bluetooth_btlinux device:dir { watch };
|
||||
')
|
||||
|
|
3
vendor/hal_bluetooth_btlinux.te
vendored
Normal file
3
vendor/hal_bluetooth_btlinux.te
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Allow access to always-on compute device node
|
||||
allow hal_bluetooth_btlinux aoc_device:chr_file rw_file_perms;
|
||||
allow hal_bluetooth_btlinux device:dir r_dir_perms;
|
Loading…
Add table
Add a link
Reference in a new issue