android_device_samsung_msm8.../sepolicy/common
Kevin F. Haggerty 071111d64d
msm8974-common: sepolicy: Label sysfs_sec_* types, resolve denials
* Rename sysfs_sec type to sysfs_sec_key
* Add additional sysfs_sec_* types as appropriate

* avc: denied { read } for name="temp_adc" dev="sysfs" ino=10538
  scontext=u:r:hal_sensors_default:s0
  tcontext=u:object_r:sysfs_sec_thermistor:s0 tclass=file permissive=1
* avc: denied { open } for name="temp_adc" dev="sysfs" ino=10538
  scontext=u:r:hal_sensors_default:s0
  tcontext=u:object_r:sysfs_sec_thermistor:s0 tclass=file permissive=1
* avc: denied { write } for name="ir_send" dev="sysfs" ino=21339
  scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_sec_ir:s0
  tclass=file permissive=1
* avc: denied { write } for name="led_blink" dev="sysfs" ino=25722
  scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_sec_led:s0
  tclass=file permissive=1
* avc: denied { write } for name="brightness" dev="sysfs" ino=23467
  scontext=u:r:system_server:s0
  tcontext=u:object_r:sysfs_sec_touchkey:s0 tclass=file permissive=1
* avc: denied { setattr } for name="ir_send" dev="sysfs" ino=21339
  scontext=u:r:init:s0 tcontext=u:object_r:sysfs_sec_ir:s0 tclass=file
  permissive=1
* avc: denied { setattr } for name="hall_irq_ctrl" dev="sysfs"
  ino=29565 scontext=u:r:init:s0 tcontext=u:object_r:sysfs_sec_key:s0
  tclass=file permissive=1
* avc: denied { setattr } for name="epen_firm_update" dev="sysfs"
  ino=23585 scontext=u:r:init:s0 tcontext=u:object_r:sysfs_sec_epen:s0
  tclass=file permissive=1
* avc: denied { setattr } for name="cmd" dev="sysfs" ino=23756
  scontext=u:r:init:s0 tcontext=u:object_r:sysfs_sec_tsp:s0
  tclass=file permissive=1
* avc: denied { write } for name="wakeup_keys" dev="sysfs" ino=29568
  scontext=u:r:init:s0 tcontext=u:object_r:sysfs_sec_key:s0
  tclass=file permissive=1
* avc: denied { open } for name="wakeup_keys" dev="sysfs" ino=29568
  scontext=u:r:init:s0 tcontext=u:object_r:sysfs_sec_key:s0
  tclass=file permissive=1
* avc: denied { read } for name="input" dev="sysfs" ino=24012
  scontext=u:r:init:s0 tcontext=u:object_r:sysfs_sec_tsp:s0
  tclass=lnk_file permissive=0
* avc: denied { setattr } for name="waketime" dev="sysfs" ino=29035
  scontext=u:r:init:s0 tcontext=u:object_r:sysfs_sec_bamdmux:s0
  tclass=file permissive=0
* avc: denied { setattr } for name="led_r" dev="sysfs" ino=25719
  scontext=u:r:init:s0 tcontext=u:object_r:sysfs_sec_led:s0
  tclass=file permissive=0
* avc: denied { setattr } for name="usb_sel" dev="sysfs" ino=28162
  scontext=u:r:init:s0 tcontext=u:object_r:sysfs_sec_switch:s0
  tclass=file permissive=0
* avc: denied { setattr } for name="brightness" dev="sysfs" ino=23468
  scontext=u:r:init:s0 tcontext=u:object_r:sysfs_sec_touchkey:s0
  tclass=file permissive=0
* avc: denied { setattr } for name="temperature" dev="sysfs"
  ino=10538 scontext=u:r:init:s0
  tcontext=u:object_r:sysfs_sec_thermistor:s0 tclass=file
  permissive=0
* avc: denied { setattr } for name="barcode_send" dev="sysfs"
  ino=19231 scontext=u:r:init:s0
  tcontext=u:object_r:sysfs_sec_barcode_emul:s0 tclass=file
  permissive=0

Change-Id: I66b6d2aab875a2706f2730be9755e8d9805ffb6e
2018-11-27 08:12:28 -07:00
..
bluetooth.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
cameraserver.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
device.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
file_contexts msm8974-common: sepolicy: Label sysfs_sec_* types, resolve denials 2018-11-27 08:12:28 -07:00
file.te msm8974-common: sepolicy: Label sysfs_sec_* types, resolve denials 2018-11-27 08:12:28 -07:00
fsck_untrusted.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
fsck.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
genfs_contexts msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
hal_power_default.te msm8974-common: sepolicy: Add policy statements for power HAL 2018-02-28 07:17:50 -07:00
hal_sensors_default.te msm8974-common: sepolicy: Label sysfs_sec_* types, resolve denials 2018-11-27 08:12:28 -07:00
hal_wifi_default.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
hal_wifi_supplicant_default.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
hostapd.te msm8974-common: sepolicy: Allow hostapd to read wifi rfkill dev 2018-02-16 17:15:39 -07:00
init.te msm8974-common: sepolicy: Label sysfs_sec_* types, resolve denials 2018-11-27 08:12:28 -07:00
macloader.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
mediaprovider.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
mediaserver.te msm8974-common: sepolicy: Resolve misc denials 2018-03-31 09:25:48 -06:00
mm-qcamerad.te msm8974-common: sepolicy: Resolve misc denials 2018-03-31 09:25:48 -06:00
mpdecision.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
nfc.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
priv_app.te msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
property_contexts msm8974-common: sepolicy: Import common sepolicy from klte-common 2018-02-03 15:07:03 -07:00
rild.te msm8974-common: sepolicy: Label sysfs_sec_* types, resolve denials 2018-11-27 08:12:28 -07:00
system_app.te msm8974-common: sepolicy: Update sysfs_mdnie, resolve denials 2018-11-26 21:00:04 -07:00
system_server.te msm8974-common: sepolicy: Label sysfs_sec_* types, resolve denials 2018-11-27 08:12:28 -07:00
thermal-engine.te msm8974-common: sepolicy: Resolve misc denials 2018-03-31 09:25:48 -06:00
vold.te msm8974-common: sepolicy: Resolve misc denials 2018-03-31 09:25:48 -06:00