am 2d1650f4: allow system_server to set kernel scheduling priority

* commit '2d1650f4075db4f4f458de4c1a4cb5869c44b936':
  allow system_server to set kernel scheduling priority
This commit is contained in:
Nick Kralevich 2014-10-24 23:13:24 +00:00 committed by Android Git Automerger
commit 491c5368f7

View file

@ -76,6 +76,10 @@ allow system_server self:netlink_route_socket nlmsg_write;
# Kill apps. # Kill apps.
allow system_server appdomain:process { sigkill signal }; allow system_server appdomain:process { sigkill signal };
# This line seems suspect, as it should not really need to
# set scheduling parameters for a kernel domain task.
allow system_server kernel:process setsched;
# Set scheduling info for apps. # Set scheduling info for apps.
allow system_server appdomain:process { getsched setsched }; allow system_server appdomain:process { getsched setsched };
allow system_server mediaserver:process { getsched setsched }; allow system_server mediaserver:process { getsched setsched };