Merge "Zygote: Add CAP_WAKE_ALARM to system_server to properly support timerfd alarms"
am: 1085be0ce3
Change-Id: I23d7c2af33db8621b0c3b3415669543e0e3b740f
This commit is contained in:
@@ -622,7 +622,8 @@ public class ZygoteInit {
|
||||
OsConstants.CAP_SYS_NICE,
|
||||
OsConstants.CAP_SYS_RESOURCE,
|
||||
OsConstants.CAP_SYS_TIME,
|
||||
OsConstants.CAP_SYS_TTY_CONFIG
|
||||
OsConstants.CAP_SYS_TTY_CONFIG,
|
||||
OsConstants.CAP_WAKE_ALARM
|
||||
);
|
||||
/* Containers run without this capability, so avoid setting it in that case */
|
||||
if (!SystemProperties.getBoolean(PROPERTY_RUNNING_IN_CONTAINER, false)) {
|
||||
|
||||
Reference in New Issue
Block a user