OSDN Git Service
(root)
/
android-x86
/
frameworks-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
966619d
)
ZygoteInit: Remove CAP_SYS_RESOURCE
author
Nick Kralevich
<nnk@google.com>
Tue, 14 Mar 2017 17:25:35 +0000
(10:25 -0700)
committer
JP Sugarbroad
<jpsugar@google.com>
Mon, 22 May 2017 19:19:29 +0000
(12:19 -0700)
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
)
core/java/com/android/internal/os/ZygoteInit.java
patch
|
blob
|
history
diff --git
a/core/java/com/android/internal/os/ZygoteInit.java
b/core/java/com/android/internal/os/ZygoteInit.java
index
5010d00
..
3b1d576
100644
(file)
--- a/
core/java/com/android/internal/os/ZygoteInit.java
+++ b/
core/java/com/android/internal/os/ZygoteInit.java
@@
-581,7
+581,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
);