sanders: start that treble disaster

This commit is contained in:
Vachounet
2018-05-15 10:32:56 +02:00
committed by therootlord
parent 2d7fc638e6
commit e8de4d1208
75 changed files with 73 additions and 34 deletions

15
sepolicy/vendor/init_wifi.te vendored Normal file
View File

@@ -0,0 +1,15 @@
type init_wifi, domain;
type init_wifi_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(init_wifi)
binder_use(init_wifi)
binder_service(init_wifi)
binder_call(init_wifi, system_server)
# shell scripts need to execute /system/bin/sh
allow init_wifi vendor_shell_exec:file rx_file_perms;
allow init_wifi vendor_toolbox_exec:file rx_file_perms;
allow init_wifi vendor_shell_exec:file entrypoint;
allow init_wifi sysfs_wcnsscore:file rw_file_perms;
allow init_wifi sysfs_wcnsscore:dir rw_dir_perms;