Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4911af2b authored by Nick Kralevich's avatar Nick Kralevich Committed by JP Sugarbroad
Browse files

ZygoteInit: Remove CAP_SYS_RESOURCE

Please see commit 3082eb7c 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 35775783)
parent 966619d0
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -581,7 +581,6 @@ public class ZygoteInit {
            OsConstants.CAP_SYS_MODULE,
            OsConstants.CAP_SYS_MODULE,
            OsConstants.CAP_SYS_NICE,
            OsConstants.CAP_SYS_NICE,
            OsConstants.CAP_SYS_PTRACE,
            OsConstants.CAP_SYS_PTRACE,
            OsConstants.CAP_SYS_RESOURCE,
            OsConstants.CAP_SYS_TIME,
            OsConstants.CAP_SYS_TIME,
            OsConstants.CAP_SYS_TTY_CONFIG
            OsConstants.CAP_SYS_TTY_CONFIG
        );
        );