android_device_samsung_klte.../sepolicy/common/file_contexts
Kevin F. Haggerty 933059f487
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
2018-11-29 07:01:06 -07:00

16 lines
668 B
Text

# data files
/data/validity(/.*)? u:object_r:vfsspi_data_file:s0
# device nodes
/dev/ttyHS3 u:object_r:audio_device:s0
/dev/vfsspi u:object_r:vfsspi_device:s0
# sysfs
/sys/devices(/.*)?/input/input[1-2]/enabled u:object_r:sysfs_hal_pwr:s0
# 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