anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

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

ecbff1
From 864cf889ecf371df9e67f27682a8f9bc0f68e153 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
ecbff1
index 615c1f03e..b6f28c5c2 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
 
ecbff1
 /* Special values for the cpu.shares attribute */