1type system_app, domain; 2permissive system_app; 3app_domain(system_app) 4unconfined_domain(system_app) 5 6type system, domain; 7permissive system; 8unconfined_domain(system); 9relabelto_domain(system); 10 11# Create a socket for receiving info from wpa. 12type_transition system wifi_data_file:sock_file system_wpa_socket; 13allow system self:zygote { specifyids specifyrlimits specifyseinfo }; 14 15allow system backup_data_file:dir relabelto; 16allow system cache_backup_file:dir relabelto; 17allow system apk_data_file:file relabelto; 18allow system apk_tmp_file:file relabelto; 19allow system apk_private_tmp_file:file relabelto; 20