summaryrefslogtreecommitdiffstats
path: root/legacy-common
diff options
context:
space:
mode:
authorKevin F. Haggerty <haggertk@lineageos.org>2018-11-30 14:14:59 -0700
committerMichael Bestas <mkbestas@lineageos.org>2019-01-15 16:28:05 +0200
commita36115e80196c7a54788071ffe3bfe3ca0a15fef (patch)
tree070e16059593c821ab6f8c356f032b7df2926d15 /legacy-common
parent09afd07508cafcc6e7c56cc322879c8c95c77db5 (diff)
downloadandroid_device_qcom_sepolicy-legacy-a36115e80196c7a54788071ffe3bfe3ca0a15fef.tar.gz
android_device_qcom_sepolicy-legacy-a36115e80196c7a54788071ffe3bfe3ca0a15fef.tar.bz2
android_device_qcom_sepolicy-legacy-a36115e80196c7a54788071ffe3bfe3ca0a15fef.zip
sepolicy: Label sysfs_android_usb
* avc: denied { setattr } for pid=1 comm="init" name="file" dev="sysfs" ino=14904 scontext=u:r:init:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 Change-Id: Ia96e3634cbe1a85bb7da3f24ecfa3fbaaa55baad
Diffstat (limited to 'legacy-common')
-rw-r--r--legacy-common/file_contexts3
1 files changed, 3 insertions, 0 deletions
diff --git a/legacy-common/file_contexts b/legacy-common/file_contexts
index 6457033..5fcff58 100644
--- a/legacy-common/file_contexts
+++ b/legacy-common/file_contexts
@@ -76,3 +76,6 @@
# Block/storage
/sys/devices/msm_sdcc\.[0-9]/mmc_host/mmc[0-9]/mmc[0-9]:[0-9]+/block/mmcblk[0-9]/stat u:object_r:sysfs_disk_stat:s0
+
+# USB
+/sys/devices/msm_dwc3/[a-f0-9]+\.dwc3/gadget/lun[0-9]+(/.*)? u:object_r:sysfs_android_usb:s0