Initial Commit4

This commit is contained in:
MandySingh3
2017-04-03 03:20:44 +05:30
parent bc8e833c07
commit 7beda1dfbc
214 changed files with 50630 additions and 45 deletions

13
sepolicy/adspd.te Normal file
View File

@@ -0,0 +1,13 @@
type adspd, domain, domain_deprecated;
type adspd_exec, exec_type, file_type;
init_daemon_domain(adspd)
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)