Allow Bluetooth stack to read security log sysprop
Bluetooth stack needs to read persist.logd.security and ro.organization_owned sysprop (via __android_log_security()) to control security logging for Bluetooth events. Bug: 232283779 Test: manual Change-Id: Ic8162cd4a4436981a15acea6ac75079081790525
This commit is contained in:
parent
ce2b6da673
commit
a274858e3b
2 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,9 @@ allow bluetooth proc_bluetooth_writable:file rw_file_perms;
|
|||
allow bluetooth proc_filesystems:file r_file_perms;
|
||||
get_prop(bluetooth, incremental_prop)
|
||||
|
||||
# For Bluetooth to check security logging state
|
||||
get_prop(bluetooth, device_logging_prop)
|
||||
|
||||
# Allow write access to bluetooth specific properties
|
||||
set_prop(bluetooth, binder_cache_bluetooth_server_prop);
|
||||
neverallow { domain -bluetooth -init }
|
||||
|
|
|
@ -46,6 +46,9 @@ allow bluetooth proc_bluetooth_writable:file rw_file_perms;
|
|||
allow bluetooth proc_filesystems:file r_file_perms;
|
||||
get_prop(bluetooth, incremental_prop)
|
||||
|
||||
# For Bluetooth to check security logging state
|
||||
get_prop(bluetooth, device_logging_prop)
|
||||
|
||||
# Allow write access to bluetooth specific properties
|
||||
set_prop(bluetooth, binder_cache_bluetooth_server_prop);
|
||||
neverallow { domain -bluetooth -init }
|
||||
|
|
Loading…
Reference in a new issue