PL2: sepolicy: Allow NFC data_vendor_file create_file_perms

[  122.255232] type=1400 audit(1601962129.363:31): avc: denied { create } for comm=4173796E635461736B202331 name="nfaStorage.bin1" scontext=u:r:nfc:s0 tcontext=u:object_r:nfc_vendor_data_file:s0 tclass=file permissive=1
[  150.239587] type=1400 audit(1601962129.363:32): avc: denied { write open } for comm=4173796E635461736B202331 path="/data/vendor/nfc/nfaStorage.bin1" dev="mmcblk0p85" ino=787067 scontext=u:r:nfc:s0 tcontext=u:object_r:nfc_vendor_data_file:s0 tclass=file permissive=1

Change-Id: I8d4005c6b339876a3a20cba9f9ca0102a647a5d7
This commit is contained in:
Nolen Johnson
2019-02-26 00:20:02 +00:00
parent e44512c65f
commit 635f471c26

View File

@@ -1 +1,2 @@
allow nfc nfc_vendor_data_file:dir { rw_dir_perms };
allow nfc nfc_vendor_data_file:file { create_file_perms };