2016-11-30 18:20:35 +03:00
|
|
|
type macloader, domain;
|
|
|
|
type macloader_exec, exec_type, file_type;
|
|
|
|
init_daemon_domain(macloader)
|
|
|
|
|
|
|
|
type_transition macloader system_data_file:file wifi_data_file;
|
|
|
|
|
|
|
|
allow macloader efs_file:dir search;
|
2017-03-24 16:17:50 +03:00
|
|
|
allow macloader self:capability { chown dac_override fowner fsetid };
|
|
|
|
allow macloader sysfs_wifi_nv_path:file { open write };
|
2016-11-30 18:20:35 +03:00
|
|
|
allow macloader system_data_file:dir { add_name search write };
|
2017-03-24 16:17:50 +03:00
|
|
|
allow macloader wifi_data_file:file { create_file_perms getattr setattr };
|
|
|
|
allow macloader wifi_efs_file:dir search;
|
|
|
|
allow macloader wifi_efs_file:file r_file_perms;
|