aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/vendor
diff options
context:
space:
mode:
authorsinanmohd <pcmsinan@gmail.com>2023-01-08 06:00:31 +0530
committersinanmohd <pcmsinan@gmail.com>2023-01-08 17:55:33 +0530
commita1adb42e88f2b26d3ee881eab946253d174a5ac8 (patch)
treef41adbd5b79c7ca0aae11621b142414f47e228e3 /sepolicy/vendor
parente97ff9f900bed657e24085daf93d465240f923bf (diff)
Revert "veux: Import XiaomiParts from sm8250"
This reverts commit 3607af54ca48c8a145a97bab0cf5012d45ade555.
Diffstat (limited to 'sepolicy/vendor')
-rw-r--r--sepolicy/vendor/thermal-engine.te11
1 files changed, 11 insertions, 0 deletions
diff --git a/sepolicy/vendor/thermal-engine.te b/sepolicy/vendor/thermal-engine.te
new file mode 100644
index 0000000..6e59f5b
--- /dev/null
+++ b/sepolicy/vendor/thermal-engine.te
@@ -0,0 +1,11 @@
+allow vendor_thermal-engine {
+ vendor_sysfs_devfreq
+ thermal_data_file
+}:dir r_dir_perms;
+
+allow vendor_thermal-engine vendor_sysfs_devfreq:file rw_file_perms;
+
+# Rule for vendor_thermal-engine to access init process
+unix_socket_connect(vendor_thermal-engine, property, init);
+
+set_prop(vendor_thermal-engine, vendor_thermal_normal_prop) \ No newline at end of file