cgroups.7: Create a NOTES section and move fork/execve discussion there

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-10-07 13:31:22 +02:00
parent 3ddb25ac9b
commit 15ce4b0cae
1 changed files with 6 additions and 6 deletions

View File

@ -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),