summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Bestas <mkbestas@lineageos.org>2022-10-14 10:02:30 +0300
committeralk3pInjection <webmaster@raspii.tech>2023-06-13 00:20:25 +0800
commit785bfb34eb4cb67660b2a134942ca0abbb27e2ad (patch)
tree6358a192565be61ab1bce32d6afa961d7690b238
parent22eef4340b62147139ab90d9c78f75d1566db5fb (diff)
sepolicy_vndr: legacy: Allow sensors read sensors_prop
* As seen on non-legacy sepolicy Change-Id: I8b18879af9e8f5c962091161d9691f3f2673bfd9
-rw-r--r--legacy/vendor/common/sensors.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/vendor/common/sensors.te b/legacy/vendor/common/sensors.te
index a83cf1c8..f265755b 100644
--- a/legacy/vendor/common/sensors.te
+++ b/legacy/vendor/common/sensors.te
@@ -31,6 +31,7 @@ type sensors_exec, exec_type, vendor_file_type, file_type;
# Started by init
init_daemon_domain(sensors)
+get_prop(sensors, sensors_prop)
allow sensors self:capability {
# Change own perms to (nobody,nobody)