Blame SOURCES/0600-shared-cgroup-utils-_CGROUP_CONTROLLER_MASK_ALL-does.patch

17b0f1
From 864cf889ecf371df9e67f27682a8f9bc0f68e153 Mon Sep 17 00:00:00 2001
17b0f1
From: Lukas Nykryn <lnykryn@redhat.com>
17b0f1
Date: Tue, 9 Jan 2018 12:59:19 +0100
17b0f1
Subject: [PATCH] shared/cgroup-utils: _CGROUP_CONTROLLER_MASK_ALL does not
17b0f1
 cover CGROUP_PIDS
17b0f1
17b0f1
7d44d0d43465892d4753ff50592588f49d56cf95 added a CGROUP_PIDS but
17b0f1
did not bump _CGROUP_CONTROLLER_MASK_ALL.
17b0f1
17b0f1
RHEL-only
17b0f1
Resolves: #1532586
17b0f1
---
17b0f1
 src/shared/cgroup-util.h | 2 +-
17b0f1
 1 file changed, 1 insertion(+), 1 deletion(-)
17b0f1
17b0f1
diff --git a/src/shared/cgroup-util.h b/src/shared/cgroup-util.h
17b0f1
index 615c1f03e3..b6f28c5c2f 100644
17b0f1
--- a/src/shared/cgroup-util.h
17b0f1
+++ b/src/shared/cgroup-util.h
17b0f1
@@ -36,7 +36,7 @@ typedef enum CGroupControllerMask {
17b0f1
         CGROUP_MEMORY = 8,
17b0f1
         CGROUP_DEVICE = 16,
17b0f1
         CGROUP_PIDS = 32,
17b0f1
-        _CGROUP_CONTROLLER_MASK_ALL = 31
17b0f1
+        _CGROUP_CONTROLLER_MASK_ALL = 63
17b0f1
 } CGroupControllerMask;
17b0f1
 
17b0f1
 /* Special values for the cpu.shares attribute */