ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
40a46b
From 839a1935c5433fe973008f231aeb247df0344eca Mon Sep 17 00:00:00 2001
40a46b
From: Lukas Nykryn <lnykryn@redhat.com>
40a46b
Date: Tue, 9 Jan 2018 12:59:19 +0100
40a46b
Subject: [PATCH] shared/cgroup-utils: _CGROUP_CONTROLLER_MASK_ALL does not
40a46b
 cover CGROUP_PIDS
40a46b
40a46b
7d44d0d43465892d4753ff50592588f49d56cf95 added a CGROUP_PIDS but
40a46b
did not bump _CGROUP_CONTROLLER_MASK_ALL.
40a46b
40a46b
RHEL-only
40a46b
Resolves: #1532586
40a46b
---
40a46b
 src/shared/cgroup-util.h | 2 +-
40a46b
 1 file changed, 1 insertion(+), 1 deletion(-)
40a46b
40a46b
diff --git a/src/shared/cgroup-util.h b/src/shared/cgroup-util.h
40a46b
index 31bd8d311..e76cd334d 100644
40a46b
--- a/src/shared/cgroup-util.h
40a46b
+++ b/src/shared/cgroup-util.h
40a46b
@@ -36,7 +36,7 @@ typedef enum CGroupControllerMask {
40a46b
         CGROUP_MEMORY = 8,
40a46b
         CGROUP_DEVICE = 16,
40a46b
         CGROUP_PIDS = 32,
40a46b
-        _CGROUP_CONTROLLER_MASK_ALL = 31
40a46b
+        _CGROUP_CONTROLLER_MASK_ALL = 63
40a46b
 } CGroupControllerMask;
40a46b
 
40a46b
 /*