Merge "Add CAP_BLOCK_SUSPEND to system server" into klp-modular-dev

This commit is contained in:
Benoit Goby
2014-03-10 18:59:05 +00:00
committed by Android (Google) Code Review

View File

@@ -495,6 +495,7 @@ public class ZygoteInit {
private static boolean startSystemServer()
throws MethodAndArgsCaller, RuntimeException {
long capabilities = posixCapabilitiesAsBits(
OsConstants.CAP_BLOCK_SUSPEND,
OsConstants.CAP_KILL,
OsConstants.CAP_NET_ADMIN,
OsConstants.CAP_NET_BIND_SERVICE,