OSDN Git Service

system_server: add CAP_SYS_PTRACE
authorNick Kralevich <nnk@google.com>
Mon, 22 May 2017 22:04:57 +0000 (22:04 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Mon, 22 May 2017 22:04:57 +0000 (22:04 +0000)
am: 966619d0ab

Change-Id: Ie5f95f2c078cd0bec7a2b2321c3303301ec9ec74

core/java/com/android/internal/os/ZygoteInit.java

index d95cf71..ebd45ad 100644 (file)
@@ -584,6 +584,7 @@ public class ZygoteInit {
             OsConstants.CAP_NET_RAW,
             OsConstants.CAP_SYS_MODULE,
             OsConstants.CAP_SYS_NICE,
+            OsConstants.CAP_SYS_PTRACE,
             OsConstants.CAP_SYS_RESOURCE,
             OsConstants.CAP_SYS_TIME,
             OsConstants.CAP_SYS_TTY_CONFIG