ryantimwilson / rpms / systemd

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