sepolicy: thermal-engine.te: add shutdown permission

With recently refactored android_reboot(), we need permission to set
powerctl_prop to trigger init to do reboot logic.

Bug: 37277184
Test: build
Change-Id: If687ef874d51c64795e6175a132c34b406c2b19c
This commit is contained in:
Wei Wang
2017-04-12 14:53:47 -07:00
parent 662399ca0d
commit 9f0befc870

View File

@@ -29,3 +29,6 @@ allowxperm thermal-engine self:socket ioctl msm_sock_ipc_ioctls;
userdebug_or_eng(`
permissive thermal-engine;
')
# reboot/shutdown for thermal limits exceeded
set_prop(thermal-engine, powerctl_prop)