Merge "Add getpgid to system_service and init" into oc-dr1-dev

This commit is contained in:
Tom Cherry 2017-06-19 20:38:35 +00:00 committed by Android (Google) Code Review
commit 0e6a3d87e9
2 changed files with 2 additions and 2 deletions

View file

@ -99,7 +99,7 @@ allow system_server self:socket create_socket_perms_no_ioctl;
allow system_server self:netlink_route_socket nlmsg_write;
# Kill apps.
allow system_server appdomain:process { sigkill signal };
allow system_server appdomain:process { getpgid sigkill signal };
# Set scheduling info for apps.
allow system_server appdomain:process { getsched setsched };

View file

@ -281,7 +281,7 @@ allow init misc_logd_file:file { open create getattr setattr write };
# Support "adb shell stop"
allow init self:capability kill;
allow init domain:process { sigkill signal };
allow init domain:process { getpgid sigkill signal };
# Init creates keystore's directory on boot, and walks through
# the directory as part of a recursive restorecon.