Fix sensors_hal selinux denials. am: 727d070b13
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/16945897 Change-Id: Ic2597d188b9f5b4fd8d779d22ec8bc57ab02d16a
This commit is contained in:
commit
b273426e98
2 changed files with 1 additions and 6 deletions
|
@ -1,6 +0,0 @@
|
|||
# b/214473093
|
||||
dontaudit hal_sensors_default sensor_reg_data_file:file { getattr };
|
||||
dontaudit hal_sensors_default sensor_reg_data_file:file { open };
|
||||
dontaudit hal_sensors_default sensor_reg_data_file:file { read };
|
||||
# b/218930975
|
||||
dontaudit hal_sensors_default hal_graphics_composer_default:binder { call };
|
|
@ -25,6 +25,7 @@ r_dir_file(hal_sensors_default, persist_camera_file)
|
|||
|
||||
# Allow creation and writing of sensor registry data files.
|
||||
allow hal_sensors_default sensor_reg_data_file:dir r_dir_perms;
|
||||
allow hal_sensors_default sensor_reg_data_file:file r_file_perms;
|
||||
|
||||
# Allow access to the display info for ALS.
|
||||
allow hal_sensors_default sysfs_display:file rw_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue