mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
msm8226-common: sepolicy: Label sysfs_usb_otg, resolve denials
* avc: denied { setattr } for name="booster" dev="sysfs" ino=23129 scontext=u:r:init:s0 tcontext=u:object_r:sysfs_usb_otg:s0 tclass=file permissive=1 Change-Id: Iffb33bd7647026107473fb63e82d942ad027f9f9
This commit is contained in:
parent
2a303c3bbc
commit
7bdcdf733e
3 changed files with 5 additions and 0 deletions
|
@ -15,6 +15,7 @@ type sysfs_sec_switch, fs_type, sysfs_type;
|
||||||
type sysfs_sec_thermistor, fs_type, sysfs_type;
|
type sysfs_sec_thermistor, fs_type, sysfs_type;
|
||||||
type sysfs_sec_touchkey, fs_type, sysfs_type;
|
type sysfs_sec_touchkey, fs_type, sysfs_type;
|
||||||
type sysfs_sec_tsp, fs_type, sysfs_type;
|
type sysfs_sec_tsp, fs_type, sysfs_type;
|
||||||
|
type sysfs_usb_otg, fs_type, sysfs_type;
|
||||||
type sysfs_wifi_writeable, fs_type, sysfs_type;
|
type sysfs_wifi_writeable, fs_type, sysfs_type;
|
||||||
|
|
||||||
type bt_fw_file, file_type;
|
type bt_fw_file, file_type;
|
||||||
|
|
|
@ -84,3 +84,6 @@
|
||||||
|
|
||||||
# sysfs - sensors
|
# sysfs - sensors
|
||||||
/sys/devices/virtual/sensors(/.*)? u:object_r:sysfs_sensors:s0
|
/sys/devices/virtual/sensors(/.*)? u:object_r:sysfs_sensors:s0
|
||||||
|
|
||||||
|
# sysfs - usb
|
||||||
|
/sys/devices/virtual/host_notify/usb_otg(/.*)? u:object_r:sysfs_usb_otg:s0
|
||||||
|
|
|
@ -28,6 +28,7 @@ allow init {
|
||||||
sysfs_sec_tsp
|
sysfs_sec_tsp
|
||||||
sysfs_sensors
|
sysfs_sensors
|
||||||
sysfs_socinfo
|
sysfs_socinfo
|
||||||
|
sysfs_usb_otg
|
||||||
}:file setattr;
|
}:file setattr;
|
||||||
|
|
||||||
allow init {
|
allow init {
|
||||||
|
|
Loading…
Reference in a new issue