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

19
sepolicy/vendor/adspd.te vendored Normal file
View File

@@ -0,0 +1,19 @@
type adspd, domain;
type adspd_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(adspd)
binder_use(adspd)
binder_service(adspd)
binder_call(adspd, system_server)
allow adspd vendor_shell_exec:file entrypoint;
allow adspd audio_device:chr_file { ioctl open read write };
allow adspd audio_device:dir search;
allow adspd input_device:chr_file { ioctl open read };
allow adspd input_device:dir search;
allow adspd sysfs_adsp:file write;
# The below one is WRONG
allow adspd sysfs:file write;
set_prop(adspd, adspd_prop)