valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

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

dd65c9
From 864cf889ecf371df9e67f27682a8f9bc0f68e153 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
Pablo Greco 48fc63
index 615c1f03e3..b6f28c5c2f 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
 
dd65c9
 /* Special values for the cpu.shares attribute */