HACK: hikey: Add system_server sepolicy rules to allow /proc/tid/timerslack_ns access
With the new /proc/<tid>/timerslack_ns interface, the system_server
needs to be able to write to that value. However, currently the
selinux policy seems to prevent this.
Using "adb logcat -d | audit2allow -p <sepolicy file>" I got the following
suggestions which I've added here.
I suspect there is a better way to limit write access to just the
timerslack_ns file, but I'm no selinux expert.
Suggestions would be welcome.
We should remove this after a proper solution is in /system/sepolicy/system_server.te
Change-Id: I1bc3a8f4a4f663131977fe6fc2c8afa309b7a7c0
Signed-off-by: John Stultz <john.stultz@linaro.org>
1 file changed