android_device_samsung_msm8.../sepolicy/common/init.te
Kevin F. Haggerty d290aaa200 msm8226-common: sepolicy: Label sysfs_mmc_host, resolve denials
* avc: denied { write } for name="control" dev="sysfs" ino=25383
  scontext=u:r:init:s0 tcontext=u:object_r:sysfs_mmc_host:s0
  tclass=file permissive=1
* avc: denied { open } for name="control" dev="sysfs" ino=25383
  scontext=u:r:init:s0 tcontext=u:object_r:sysfs_mmc_host:s0
  tclass=file permissive=1

Change-Id: I876d025db9cf1fe67faeccca830ffd53dbf92904
2019-10-16 12:30:30 +02:00

35 lines
621 B
Text

allow init {
sysfs_iio
sysfs_sec_tsp
sysfs_sensors
}:lnk_file read;
allow init sysfs_input:file rw_file_perms;
allow init sysfs_graphics:file r_file_perms;
allow init {
sysfs_batteryinfo
sysfs_graphics
sysfs_iio
sysfs_input
sysfs_leds
sysfs_sec_bamdmux
sysfs_sec_barcode_emul
sysfs_sec_epen
sysfs_sec_ir
sysfs_sec_key
sysfs_sec_led
sysfs_sec_switch
sysfs_sec_thermistor
sysfs_sec_touchkey
sysfs_sec_tsp
sysfs_sensors
sysfs_socinfo
}:file setattr;
allow init {
sysfs_mmc_host
sysfs_msm_perf
sysfs_sec_key
}:file w_file_perms;