sm6225-common: sepolicy: Label ST NFC
Change-Id: I940a8394b7c4fed0af86faa55d931e3963497123
This commit is contained in:
parent
da33bb6a22
commit
6296e15c1a
2 changed files with 3 additions and 0 deletions
2
sepolicy/vendor/file_contexts
vendored
2
sepolicy/vendor/file_contexts
vendored
|
@ -52,7 +52,9 @@
|
|||
|
||||
# NFC
|
||||
/dev/sec-nfc u:object_r:sec_device:s0
|
||||
/dev/st21nfc u:object_r:nfc_device:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@1\.2-service\.sec u:object_r:hal_nfc_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.nfc@1\.2-service\.st u:object_r:hal_nfc_default_exec:s0
|
||||
|
||||
# Radio
|
||||
/data/vendor/misc/cutback(/.*)? u:object_r:cutback_data_file:s0
|
||||
|
|
1
sepolicy/vendor/hal_nfc_default.te
vendored
1
sepolicy/vendor/hal_nfc_default.te
vendored
|
@ -4,4 +4,5 @@ allow hal_nfc_default vendor_nfc_vendor_data_file:dir create_dir_perms;
|
|||
allow hal_nfc_default vendor_nfc_vendor_data_file:file create_file_perms;
|
||||
allow hal_nfc_default sec_device:chr_file rw_file_perms;
|
||||
|
||||
get_prop(hal_nfc_default, vendor_radio_prop)
|
||||
set_prop(hal_nfc_default, vendor_nfc_prop)
|
||||
|
|
Loading…
Reference in a new issue