platform_device_xiaomi_sm84.../sepolicy/vendor/wcnss_service.te
Arian 37eea61587 sm8450-common: Initial sepolicy
Change-Id: Ia21793576649e8518e79e4680e0b79b6a9331720
2024-03-19 23:22:36 +01:00

16 lines
1.3 KiB
Text

#allow vendor_wcnss_service self:netlink_generic_socket ioctl;
allow vendor_wcnss_service self:capability { net_raw setgid setuid };
#allow vendor_wcnss_service self:packet_socket { bind create getopt ioctl map read setopt };
allow vendor_wcnss_service self:packet_socket write;
allow vendor_wcnss_service sysfs_net:file read;
allow vendor_wcnss_service vendor_mac_vendor_data_file:dir { add_name open read search setattr write };
allow vendor_wcnss_service vendor_mac_vendor_data_file:dir rw_dir_perms;
allow vendor_wcnss_service vendor_mac_vendor_data_file:file { create getattr open read setattr write };
allow vendor_wcnss_service mnt_vendor_file:dir { add_name create read search write };
allow vendor_wcnss_service mnt_vendor_file:file { create open read setattr write };
#allow vendor_wcnss_service vendor_diag_device:chr_file { create ioctl open read write };
allow vendor_wcnss_service vendor_sysfs_diag:dir search;
allow vendor_wcnss_service vendor_sysfs_diag:file { open read };
allow vendor_wcnss_service vendor_wifi_vendor_log_data_file:dir { add_name getattr open read remove_name search setattr write };
allow vendor_wcnss_service vendor_wifi_vendor_log_data_file:file { append create getattr open read rename setattr unlink write };
allow vendor_wcnss_service vendor_proc_wifi_dbg:file { create getattr open read setattr write };