mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
msm8226-common: sepolicy: Fix even more errors
WiFi, Audio & Bluetooth now work 100%!!!!
This commit is contained in:
parent
a0c7e49b26
commit
6bb52d5a0c
14 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
|
|
2
sepolicy/common/gpuservice.te
Normal file
2
sepolicy/common/gpuservice.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
allow gpuservice opengles_prop:file read;
|
||||
allow gpuservice opengles_prop:file open;
|
|
@ -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;
|
||||
|
|
1
sepolicy/common/platform_app.te
Normal file
1
sepolicy/common/platform_app.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow platform_app unlabeled:dir search;
|
|
@ -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;
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
allow radio alarm_device:chr_file rw_file_perms;
|
||||
allow radio unlabeled:dir search;
|
||||
|
|
1
sepolicy/common/secure_element.te
Normal file
1
sepolicy/common/secure_element.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow secure_element unlabeled:dir search;
|
|
@ -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;
|
||||
|
|
1
sepolicy/common/traceur_app.te
Normal file
1
sepolicy/common/traceur_app.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow traceur_app unlabeled:dir search;
|
|
@ -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;
|
||||
|
|
1
sepolicy/common/untrusted_app.te
Normal file
1
sepolicy/common/untrusted_app.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow untrusted_app unlabeled:dir search;
|
|
@ -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;
|
||||
|
|
1
sepolicy/common/untrusted_app_27.te
Normal file
1
sepolicy/common/untrusted_app_27.te
Normal file
|
@ -0,0 +1 @@
|
|||
allow untrusted_app_27 unlabeled:dir search;
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue