klte-common: sepolicy: Label sysfs_fingerprint, resolve denials
* avc: denied { setattr } for name="type_check" dev="sysfs" ino=28060 scontext=u:r:init:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0 Change-Id: Ide1be660eaa005a7268161a4ab8d301b793ba062
This commit is contained in:
parent
b5bfa3d797
commit
933059f487
3 changed files with 5 additions and 0 deletions
|
@ -1 +1,2 @@
|
|||
type sysfs_fingerprint, fs_type, sysfs_type;
|
||||
type vfsspi_data_file, file_type, data_file_type;
|
||||
|
|
|
@ -11,3 +11,6 @@
|
|||
# sysfs - audio
|
||||
/sys/devices/[a-f0-9]+\.slim/es705-codec-gen0(/.*)? u:object_r:sysfs_audio:s0
|
||||
/sys/kernel/DualWave/sound(/.*)? u:object_r:sysfs_audio:s0
|
||||
|
||||
# sysfs - fingerprint
|
||||
/sys/devices/virtual/fingerprint(/.*)? u:object_r:sysfs_fingerprint:s0
|
||||
|
|
1
sepolicy/common/init.te
Normal file
1
sepolicy/common/init.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow init sysfs_fingerprint:file setattr;
|
Loading…
Reference in a new issue