From 15ce4b0caef98281581ce547e6d990088a82da68 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 7 Oct 2016 13:31:22 +0200 Subject: [PATCH] cgroups.7: Create a NOTES section and move fork/execve discussion there Signed-off-by: Michael Kerrisk --- man7/cgroups.7 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/man7/cgroups.7 b/man7/cgroups.7 index 673c78822..109f7c089 100644 --- a/man7/cgroups.7 +++ b/man7/cgroups.7 @@ -248,12 +248,6 @@ file in a cgroup directory. This file can be read to discover the set of threads that are members of the cgroup. This file is not present in cgroup v2 directories. - -A child process created via -.BR fork (2) -inherits its parent's cgroup memberships. -A process's cgroup memberships are preserved across -.BR execve (2). .\" .SS Removing cgroups To remove a cgroup, @@ -573,6 +567,12 @@ An attempt to mount a cgroup version 1 filesystem specified neither the .I name= option (to mount a named hierarchy) nor a controller name (or .IR all ). +.SH NOTES +A child process created via +.BR fork (2) +inherits its parent's cgroup memberships. +A process's cgroup memberships are preserved across +.BR execve (2). .SH SEE ALSO .BR prlimit (1), .BR systemd (1),