platform_device_xiaomi_sm84.../sepolicy/vendor/wcnss_service.te
Arian e9c724fc08 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
2024-03-19 23:22:37 +01:00

8 lines
514 B
Text

allow vendor_wcnss_service self:capability { net_raw setgid setuid };
allow vendor_wcnss_service self:packet_socket write;
allow vendor_wcnss_service sysfs_net:file read;
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: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;