allow power hal to access vendor_mm files
I auditd : type=1400 audit(0.0:79): avc: denied { write } for comm="NodeLooperThrea" name="vendor_mm" dev="sysfs" ino=56518 scontext=u:r:hal_power_default:s0 tcontext=u:object_r:sysfs_vendor_mm:s0 tclass=dir permissive=0 Bug: 351708752 Test: check avc error Flag: EXEMPT adding avc rule Change-Id: Ibcc22d3157c0108dfc879b906fd500e13628d293 Signed-off-by: Martin Liu <liumartin@google.com>
This commit is contained in:
parent
a61880366c
commit
0df50bf182
1 changed files with 2 additions and 1 deletions
3
legacy/zuma/vendor/hal_power_default.te
vendored
3
legacy/zuma/vendor/hal_power_default.te
vendored
|
@ -4,4 +4,5 @@ allow hal_power_default sysfs_camera:file rw_file_perms;
|
|||
allow hal_power_default sysfs_em_profile:file rw_file_perms;
|
||||
allow hal_power_default sysfs_display:file rw_file_perms;
|
||||
allow hal_power_default sysfs_trusty:file rw_file_perms;
|
||||
set_prop(hal_power_default, vendor_camera_prop);
|
||||
set_prop(hal_power_default, vendor_camera_prop);
|
||||
allow hal_power_default sysfs_vendor_mm:file rw_file_perms;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue