naccyde / rpms / systemd

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