gs-common: sepolicy: Import missing rules from BP2A

Change-Id: I70ebc8a2bce09d2590c24fc919b2804cef256568
This commit is contained in:
Michael Bestas 2025-06-21 19:44:10 +03:00 committed by Michael Bestas
parent edc3d90511
commit 0dbbbc376c
No known key found for this signature in database
13 changed files with 21 additions and 0 deletions

1
nfc/nfc.mk Normal file
View file

@ -0,0 +1 @@
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/nfc/sepolicy

1
nfc/sepolicy/file.te Normal file
View file

@ -0,0 +1 @@
type vendor_nfc_vendor_data_file, file_type, data_file_type;

View file

@ -0,0 +1 @@
/data/vendor/nfc(/.*)? u:object_r:vendor_nfc_vendor_data_file:s0

View file

@ -0,0 +1,2 @@
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;

1
nfc/sepolicy/nfc.te Normal file
View file

@ -0,0 +1 @@
allow nfc vendor_nfc_vendor_data_file:dir search;