mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 13:46:26 -08:00
LG8n: sepolicy: address hal_sensors denial relating to nvdata
07-21 14:22:10.256 966 966 I auditd : type=1400 audit(0.0:445): avc: denied { search } for comm=android.hardwar name=/ dev=sdc8 ino=2 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:nvdata_file:s0 tclass=dir permissive=0 07-21 14:22:10.256 966 966 W android.hardwar: type=1400 audit(0.0:445): avc: denied { search } for name=/ dev=sdc8 ino=2 scontext=u:r:hal_sensors_default:s0 tcontext=u:object_r:nvdata_file:s0 tclass=dir permissive=0 Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
fc09780094
commit
3b375ccce4
2
sepolicy/vendor/hal_sensors_default.te
vendored
2
sepolicy/vendor/hal_sensors_default.te
vendored
|
@ -27,6 +27,8 @@ allow hal_sensors_default metadata_file:dir search;
|
|||
allow hal_sensors_default mnt_vendor_file:dir search;
|
||||
allow hal_sensors_default nvcfg_file:dir create_dir_perms;
|
||||
allow hal_sensors_default nvcfg_file:file create_file_perms;
|
||||
allow hal_sensors_default nvdata_file:dir { read search open };
|
||||
allow hal_sensors_default nvdata_file:file { read getattr open };
|
||||
allow hal_sensors_default sensor_data_file:dir create_dir_perms;
|
||||
allow hal_sensors_default sensor_data_file:dir search;
|
||||
allow hal_sensors_default sensor_data_file:file create_file_perms;
|
||||
|
|
Loading…
Reference in a new issue