[CRIU] [PATCH 7/8] cgroup: s/pids.current/pids.max

Tycho Andersen tycho.andersen at canonical.com
Tue Jun 21 15:41:44 PDT 2016


pids.current is the current number of pids, not the maximum number allowed
(which is the thing we care about, that is set by the user).

Signed-off-by: Tycho Andersen <tycho.andersen at canonical.com>
---
 criu/cgroup-props.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/criu/cgroup-props.c b/criu/cgroup-props.c
index 40946b4..e31d736 100644
--- a/criu/cgroup-props.c
+++ b/criu/cgroup-props.c
@@ -479,7 +479,7 @@ static int cgp_parse_builtins(void)
 			" - \"strategy\": \"replace\"\n"
 			" - \"properties\": "
 			"[ "
-				"\"pids.current\" "
+				"\"pids.max\" "
 			"]\n"
 		"\"devices\":\n"
 			" - \"strategy\": \"replace\"\n"
-- 
2.7.4



More information about the CRIU mailing list