sonyxperiadev / device-sony-loire

17 stars 40 forks source link

label 7a24900.sdhci/mmc_host/mmc2/mmc2:0001/mmc2:0001:1/net as sysfs_net #234

Closed alviteri closed 5 years ago

alviteri commented 5 years ago

following qcom platforms and aosp sepolicy https://android.googlesource.com/platform/system/sepolicy/+/android-9.0.0_r21/public/file.te#82 https://android.googlesource.com/platform/system/sepolicy/+/android-9.0.0_r21/private/priv_app.te#90

avoid 12-31 23:06:13.548 5269 5269 I Binder:5269_3: type=1400 audit(0.0:88): avc: denied { open } for path=/sys/devices/platform/soc/7a24900.sdhci/mmc_host/mmc2/mmc2:0001/mmc2:0001:1/net/wlan0/address dev=sysfs ino=44026 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1 12-31 23:06:13.548 5269 5269 I Binder:5269_3: type=1400 audit(0.0:89): avc: denied { getattr } for path=/sys/devices/platform/soc/7a24900.sdhci/mmc_host/mmc2/mmc2:0001/mmc2:0001:1/net/wlan0/address dev=sysfs ino=44026 scontext=u:r:priv_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1

Signed-off-by: David Viteri davidteri91@gmail.com