sm8450-common: sepolicy: Drop label of wlan_mac.bin in persist

ueventd wants to load it and neverallows forbid to allow ueventd to access the new type.

Change-Id: I8cf246860cfc40bdf1706dec79ab5f2df0ba1881
This commit is contained in:
Arian 2024-01-30 19:54:35 +01:00
parent b9f9cf202f
commit e9c724fc08
2 changed files with 2 additions and 1 deletions

View file

@ -63,7 +63,6 @@
# Mac Address # Mac Address
/data/vendor/mac_addr(/.*)? u:object_r:vendor_mac_vendor_data_file:s0 /data/vendor/mac_addr(/.*)? u:object_r:vendor_mac_vendor_data_file:s0
/mnt/vendor/persist/qca6490/wlan_mac\.bin u:object_r:vendor_mac_vendor_data_file:s0
/vendor/bin/nv_mac u:object_r:vendor_wcnss_service_exec:s0 /vendor/bin/nv_mac u:object_r:vendor_wcnss_service_exec:s0
# Mlipay # Mlipay

View file

@ -4,3 +4,5 @@ allow vendor_wcnss_service sysfs_net:file read;
allow vendor_wcnss_service mnt_vendor_file:dir search; allow vendor_wcnss_service mnt_vendor_file:dir search;
allow vendor_wcnss_service vendor_mac_vendor_data_file:dir create_dir_perms; allow vendor_wcnss_service vendor_mac_vendor_data_file:dir create_dir_perms;
allow vendor_wcnss_service vendor_mac_vendor_data_file:file create_file_perms; allow vendor_wcnss_service vendor_mac_vendor_data_file:file create_file_perms;
allow vendor_wcnss_service mnt_vendor_file:dir create_dir_perms;
allow vendor_wcnss_service mnt_vendor_file:file create_file_perms;