Fix hal_nfc_default selinux denial
Allow hal_nfc_default to access vendor_nfc_prop Bug: 260769165 Bug: 260921340 Test: m atest && atest-dev com.google.android.selinux.pts.SELinuxTest#scanAvcDeniedLogRightAfterReboot Change-Id: I53ff6262ac3210ee166df6d87c0fa587aa594b86
This commit is contained in:
parent
b9a2444b1b
commit
f40edb1ad5
3 changed files with 2 additions and 11 deletions
|
@ -1,10 +0,0 @@
|
|||
# b/260769165
|
||||
dontaudit hal_nfc_default vendor_nfc_prop:file { getattr };
|
||||
dontaudit hal_nfc_default vendor_nfc_prop:file { map };
|
||||
dontaudit hal_nfc_default vendor_nfc_prop:file { open };
|
||||
dontaudit hal_nfc_default vendor_nfc_prop:file { read };
|
||||
# b/260921340
|
||||
dontaudit hal_nfc_default vendor_nfc_prop:file { getattr };
|
||||
dontaudit hal_nfc_default vendor_nfc_prop:file { map };
|
||||
dontaudit hal_nfc_default vendor_nfc_prop:file { open };
|
||||
dontaudit hal_nfc_default vendor_nfc_prop:file { read };
|
|
@ -12,7 +12,6 @@ userdebug_or_eng(`
|
|||
permissive hal_graphics_allocator_default;
|
||||
permissive hal_graphics_composer_default;
|
||||
permissive hal_health_storage_default;
|
||||
permissive hal_nfc_default;
|
||||
permissive hal_power_stats_default;
|
||||
permissive hal_fingerprint_default;
|
||||
permissive gxp_logging;
|
||||
|
|
2
vendor/hal_nfc_default.te
vendored
Normal file
2
vendor/hal_nfc_default.te
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
# HAL NFC property
|
||||
get_prop(hal_nfc_default, vendor_nfc_prop)
|
Loading…
Add table
Add a link
Reference in a new issue