diff options
author | Nick Kralevich <nnk@google.com> | 2017-03-14 10:25:35 -0700 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2017-05-24 22:50:02 +0000 |
commit | f7605407d619ee88a7810b131d55882e25fae7cd (patch) | |
tree | 3cd07ed7f24947560e57629e081a51eb55cfd026 | |
parent | 24c38ee30b466503cfca17b7e9f61fef3ac34c55 (diff) | |
download | base-f7605407d619ee88a7810b131d55882e25fae7cd.tar.gz |
ZygoteInit: Remove CAP_SYS_RESOURCE
Please see commit 3082eb7c7253c62a06aa151a80487a4eabd49914 for an
explanation of this change.
This capability is not used by system_server.
Bug: 34951864
Bug: 38496951
Test: code compiles, device boots, no selinux errors ever reported.
Change-Id: I4242b1abaa8679b9bfa0d31a1df565b46b7b3cc3
(cherry picked from commit 35775783fc6609035136184e3843bc743b59945d)
(cherry picked from commit 4911af2b8ced29dc5035dca301dc80939c9bdab5)
-rw-r--r-- | core/java/com/android/internal/os/ZygoteInit.java | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/core/java/com/android/internal/os/ZygoteInit.java b/core/java/com/android/internal/os/ZygoteInit.java index d83277ce2eca..e4f573b7b8a7 100644 --- a/core/java/com/android/internal/os/ZygoteInit.java +++ b/core/java/com/android/internal/os/ZygoteInit.java @@ -645,7 +645,6 @@ public class ZygoteInit { 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 ); |