mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-29 15:28:52 +00:00
Fix nfc avc denials for sysfs_vendor_sched
11-19 12:38:54.416 2631 2631 I com.android.nfc: type=1400 audit(0.0:404): avc: denied { search } for comm=4173796E635461736B202331 name="vendor_sched" dev="sysfs" ino=45736 scontext=u:r:nfc:s0 tcontext=u:object_r:sysfs_vendor_sched:s0 tclass=dir permissive=1
Bug: 207062484
Test: check avc without nfc
Change-Id: I50507934c071745e257434f512d9dc835790e669
This commit is contained in:
@@ -1,4 +1,2 @@
|
||||
# b/205904208
|
||||
dontaudit nfc zygote:binder { transfer };
|
||||
# b/207062484
|
||||
dontaudit nfc sysfs_vendor_sched:dir { search };
|
||||
|
||||
2
whitechapel_pro/nfc.te
Normal file
2
whitechapel_pro/nfc.te
Normal file
@@ -0,0 +1,2 @@
|
||||
allow nfc sysfs_vendor_sched:dir r_dir_perms;
|
||||
allow nfc sysfs_vendor_sched:file w_file_perms;
|
||||
Reference in New Issue
Block a user