msm8226-common: sepolicy: Fix even more errors

WiFi, Audio & Bluetooth now work 100%!!!!
This commit is contained in:
DJABhipHop 2020-03-13 10:47:31 -04:00
parent a0c7e49b26
commit 6bb52d5a0c
14 changed files with 24 additions and 0 deletions

View file

@ -10,6 +10,8 @@ allow bluetooth_loader bluetooth_efs_file:file { open read };
allow bluetooth_loader efs_file:dir search;
allow bluetooth_loader bluetooth_efs_file:file getattr;
allow bluetooth unlabeled:dir search;
allow bluetooth {
bt_fw_file
wifi_data_file

View file

@ -0,0 +1,2 @@
allow gpuservice opengles_prop:file read;
allow gpuservice opengles_prop:file open;

View file

@ -1,2 +1,3 @@
allow mediaprovider cache_private_backup_file:dir getattr;
allow mediaprovider cache_recovery_file:dir r_dir_perms;
allow mediaprovider unlabeled:dir search;

View file

@ -0,0 +1 @@
allow platform_app unlabeled:dir search;

View file

@ -5,3 +5,5 @@ allow priv_app proc_interrupts:file r_file_perms;
allow priv_app proc_modules:file open;
allow priv_app sysfs:file { open read };
allow priv_app proc_modules:file getattr;
allow priv_app unlabeled:filesystem getattr;
allow priv_app unlabeled:dir search;

View file

@ -1 +1,2 @@
allow radio alarm_device:chr_file rw_file_perms;
allow radio unlabeled:dir search;

View file

@ -0,0 +1 @@
allow secure_element unlabeled:dir search;

View file

@ -6,3 +6,4 @@ allow system_app system_suspend_control_service:service_manager find;
allow system_app apk_data_file:dir write;
allow system_app proc_pagetypeinfo:file getattr;
allow system_app sysfs_zram:dir search;
allow system_app unlabeled:dir search;

View file

@ -0,0 +1 @@
allow traceur_app unlabeled:dir search;

View file

@ -7,3 +7,8 @@ allow ueventd exfat:file open;
allow ueventd exfat:file getattr;
allow ueventd proc:file { read };
allow ueventd unlabeled:dir search;
allow ueventd unlabeled:file read;
allow ueventd unlabeled:file open;
allow ueventd unlabeled:file getattr;

View file

@ -0,0 +1 @@
allow untrusted_app unlabeled:dir search;

View file

@ -1,2 +1,3 @@
dontaudit untrusted_app_25 net_dns_prop:file read;
dontaudit untrusted_app_25 proc:file read;
allow untrusted_app_25 unlabeled:dir search;

View file

@ -0,0 +1 @@
allow untrusted_app_27 unlabeled:dir search;

View file

@ -1,3 +1,7 @@
allow zygote proc_cmdline:file read;
allow zygote proc_cmdline:file open;
allow zygote proc_cmdline:file getattr;
allow zygote unlabeled:dir getattr;
allow zygote unlabeled:dir read;
allow zygote unlabeled:dir open;
allow zygote unlabeled:dir search;