Skip to content

Commit

Permalink
am 2d1650f: allow system_server to set kernel scheduling priority
Browse files Browse the repository at this point in the history
* commit '2d1650f4075db4f4f458de4c1a4cb5869c44b936':
  allow system_server to set kernel scheduling priority
  • Loading branch information
nickkral authored and Android Git Automerger committed Oct 24, 2014
2 parents 87bb4f6 + 2d1650f commit 491c536
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions system_server.te
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ allow system_server self:netlink_route_socket nlmsg_write;
# Kill apps.
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.
allow system_server appdomain:process { getsched setsched };
allow system_server mediaserver:process { getsched setsched };
Expand Down

0 comments on commit 491c536

Please sign in to comment.