msm8974-common: sepolicy: Resolve hal_lineage_touch_default denials

* avc: denied { search } for name="sec_epen" dev="sysfs" ino=23534
  scontext=u:r:hal_lineage_touch_default:s0
  tcontext=u:object_r:sysfs_sec_epen:s0 tclass=dir permissive=1
* avc: denied { search } for name="sec_touchkey" dev="sysfs" ino=23413
  scontext=u:r:hal_lineage_touch_default:s0
  tcontext=u:object_r:sysfs_sec_touchkey:s0 tclass=dir permissive=1

* avc: denied { read } for name="epen_gestures" dev="sysfs" ino=23559
  scontext=u:r:hal_lineage_touch_default:s0
  tcontext=u:object_r:sysfs_sec_epen:s0 tclass=file permissive=1
* avc: denied { open } for name="epen_gestures" dev="sysfs" ino=23559
  scontext=u:r:hal_lineage_touch_default:s0
  tcontext=u:object_r:sysfs_sec_epen:s0 tclass=file permissive=1
* avc: denied { read write } for name="epen_gestures" dev="sysfs"
  ino=23559 scontext=u:r:hal_lineage_touch_default:s0
  tcontext=u:object_r:sysfs_sec_epen:s0 tclass=file permissive=1

Change-Id: Ie62004f9ca8e93cb8e1dfe45fcff0a9e74f3c44d
This commit is contained in:
Kevin F. Haggerty 2020-04-13 18:28:35 -06:00
parent 200effb649
commit 64ed0d4ffc
No known key found for this signature in database
GPG Key ID: 6D95512933112729

View File

@ -1,2 +1,10 @@
allow hal_lineage_touch_default sysfs_sec_tsp:dir search;
allow hal_lineage_touch_default sysfs_sec_tsp:file rw_file_perms;
allow hal_lineage_touch_default {
sysfs_sec_epen
sysfs_sec_tsp
sysfs_sec_touchkey
}:dir search;
allow hal_lineage_touch_default {
sysfs_sec_epen
sysfs_sec_tsp
}:file rw_file_perms;