sm7325-common: Address dubai's vibrator denials
Example:
I auditd : type=1400 audit(0.0:18): avc: denied { open } for comm="vendor.qti.hard" path="/sys/devices/platform/soc/990000.i2c/i2c-1/1-005a/leds/vibrator/activate" dev="sysfs" ino=93558 scontext=u:r:hal_vibrator_default:s0 tcontext=u:object_r:sysfs:s0 tclass=file
Change-Id: Iea46e718f4e2c1ed3b3037dcfecb4536fd47ef2d
This commit is contained in:
parent
c84960faef
commit
27a8c002ce
4 changed files with 10 additions and 0 deletions
3
sepolicy/vendor/file.te
vendored
3
sepolicy/vendor/file.te
vendored
|
|
@ -31,3 +31,6 @@ type vendor_sysfs_touchpanel, fs_type, sysfs_type;
|
|||
|
||||
# V4L2 Name
|
||||
type vendor_sysfs_v4l2_name, fs_type, sysfs_type;
|
||||
|
||||
# Vibrator
|
||||
type vendor_sysfs_vibrator, fs_type, sysfs_type;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue