fix sepolicy

more selinux fix

even more selinux fix

selinux +1

netd.te update

system_app.te update
This commit is contained in:
Moyster 2016-09-22 15:14:09 +02:00
parent a343a472c5
commit 0e885ed89f
4 changed files with 6 additions and 2 deletions

View File

@ -295,6 +295,8 @@
/sys/devices/platform/msensor/driver(/.*)? u:object_r:sysfs_msensor_file:s0
/sys/bus/platform/drivers/mtk-kpd(/.*)? u:object_r:sysfs_keypad_file:s0
/sys/power/vcorefs/pwr_ctrl -- u:object_r:sysfs_vcorefs_pwrctrl:s0
/sys/devices/platform/mx-gs/gesture_control u:object_r:sysfs_keypad_file:s0
#############################

View File

@ -115,6 +115,5 @@ allow netd isolated_app:fd use;
#============= netd ==============
allow netd radio_tmpfs:file write;
allow netd unlabeled:file { read open getattr };

View File

@ -156,4 +156,5 @@ dontaudit system_app untrusted_app_tmpfs:file write;
# Purpose: It's not normal behavior, that system_app want to access radio_file_data
# Package: android.ui
dontaudit system_app radio_data_file:dir search;
allow system_app sysfs_keypad_file:file { read write getattr ioctl open };

View File

@ -44,3 +44,5 @@ allow untrusted_app proc_mtktz:dir search;
allow untrusted_app proc_mtktz:file read;
allow untrusted_app proc_mtktz:file open;
allow untrusted_app proc_mtktz:file getattr;
allow untrusted_app unlabeled:file getattr;