summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vendor/google/system_server.te1
-rw-r--r--vendor/google/thermalserviced.te1
-rw-r--r--vendor/qcom/common/file.te1
-rw-r--r--vendor/qcom/common/genfs_contexts1
-rw-r--r--vendor/qcom/common/hal_tui_comm.te2
-rw-r--r--vendor/qcom/common/vendor_init.te1
6 files changed, 7 insertions, 0 deletions
diff --git a/vendor/google/system_server.te b/vendor/google/system_server.te
new file mode 100644
index 0000000..581723e
--- /dev/null
+++ b/vendor/google/system_server.te
@@ -0,0 +1 @@
+allow system_server thermal_service:service_manager find;
diff --git a/vendor/google/thermalserviced.te b/vendor/google/thermalserviced.te
new file mode 100644
index 0000000..aa6a085
--- /dev/null
+++ b/vendor/google/thermalserviced.te
@@ -0,0 +1 @@
+binder_call(thermalserviced, system_server)
diff --git a/vendor/qcom/common/file.te b/vendor/qcom/common/file.te
index 83b88f8..6c6f48f 100644
--- a/vendor/qcom/common/file.te
+++ b/vendor/qcom/common/file.te
@@ -53,6 +53,7 @@ type debugfs_sched_features, debugfs_type, fs_type;
# /proc
type proc_wifi_dbg, proc_type, fs_type;
type proc_f2fs, proc_type, fs_type;
+type proc_swappiness, proc_type, fs_type;
type proc_sysctl_autogroup, proc_type, fs_type;
type proc_sysctl_schedboost, proc_type, fs_type;
diff --git a/vendor/qcom/common/genfs_contexts b/vendor/qcom/common/genfs_contexts
index 9082476..78e3ce6 100644
--- a/vendor/qcom/common/genfs_contexts
+++ b/vendor/qcom/common/genfs_contexts
@@ -3,6 +3,7 @@ genfscon proc /debugdriver/driverdump u:object_r:proc_wifi_dbg:s
genfscon proc /ath_pktlog/cld u:object_r:proc_wifi_dbg:s0
genfscon proc /irq u:object_r:proc_irq:s0
genfscon proc /fs/f2fs u:object_r:proc_f2fs:s0
+genfscon proc /sys/vm/swappiness u:object_r:proc_swappiness:s0
genfscon proc /sys/kernel/sched_autogroup_enabled u:object_r:proc_sysctl_autogroup:s0
genfscon proc /sys/kernel/sched_boost u:object_r:proc_sysctl_schedboost:s0
diff --git a/vendor/qcom/common/hal_tui_comm.te b/vendor/qcom/common/hal_tui_comm.te
index c282127..f3f48ba 100644
--- a/vendor/qcom/common/hal_tui_comm.te
+++ b/vendor/qcom/common/hal_tui_comm.te
@@ -9,5 +9,7 @@ add_hwservice(hal_tui_comm, hal_tui_comm_hwservice)
hwbinder_use(hal_tui_comm)
binder_call(hal_tui_comm, secure_ui_service_app)
+binder_call(hal_tui_comm, hal_confirmationui_default)
+binder_call(hal_tui_comm, tee)
allow hal_tui_comm hal_graphics_allocator_default:fd use;
diff --git a/vendor/qcom/common/vendor_init.te b/vendor/qcom/common/vendor_init.te
index 9680f19..2ee704d 100644
--- a/vendor/qcom/common/vendor_init.te
+++ b/vendor/qcom/common/vendor_init.te
@@ -3,6 +3,7 @@ allow vendor_init proc_uid_cpupower:file w_file_perms;
allow vendor_init proc_sysctl_autogroup:file w_file_perms;
allow vendor_init proc_sysctl_schedboost:file w_file_perms;
allow vendor_init proc_irq:file w_file_perms;
+allow vendor_init proc_swappiness:file w_file_perms;
allow vendor_init camera_vendor_data_file:dir create_dir_perms;
dontaudit vendor_init kernel:system module_request;