summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2017-10-10 17:03:37 -0700
committerc457 <android.c357@gmail.com>2018-10-26 01:13:30 +0200
commit5f0b35044278c709f0e58835fa383708e42bb1b6 (patch)
tree5e9c06fde1c66ea0befb3ee3bb9b1f8cd0d4b18b
parent332163f5afe5773c30bc8aef1510163e4b5202dc (diff)
downloadandroid_frameworks_native-5f0b35044278c709f0e58835fa383708e42bb1b6.tar.gz
android_frameworks_native-5f0b35044278c709f0e58835fa383708e42bb1b6.tar.bz2
android_frameworks_native-5f0b35044278c709f0e58835fa383708e42bb1b6.zip
thermalservice: run as user+group system, not root
Bug: 66954030 Test: manual on taimen with artificially low thermal thresholds Change-Id: I2a9275806b4cb710d115ba4cc4e4f161eefd1839
-rw-r--r--services/thermalservice/thermalservice.rc2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/thermalservice/thermalservice.rc b/services/thermalservice/thermalservice.rc
index b9836cec8..94c2c78df 100644
--- a/services/thermalservice/thermalservice.rc
+++ b/services/thermalservice/thermalservice.rc
@@ -1,2 +1,4 @@
service thermalservice /system/bin/thermalserviced
class core
+ user system
+ group system