]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
namespaces.7: Clarify max # of bytes that can be written to a user namespace map
authorMichael Kerrisk <mtk.manpages@gmail.com>
Sat, 23 Feb 2013 11:32:17 +0000 (12:32 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 14 Sep 2014 03:15:59 +0000 (20:15 -0700)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/namespaces.7

index efc071d8d33b89a9e6e45fe9edb86e15652c1980..ef9e0071c8664ca08235d949e1d8498f5a618114 100644 (file)
@@ -633,8 +633,11 @@ Lines are terminated by newline characters.
 .IP *
 There is an (arbitrary) limit on the number of lines in the file.
 As at Linux 3.8, the limit is five lines.
-In addition,
-the number of bytes written to the file cannot exceed the system page size,
+In addition, the number of bytes written to
+the file must be less than the system page size,
+.\" FIXME(Eric): the restriction "less than" rather than "less than or equal"
+.\" seems strangely arbitrary. Furthermore, the comment does not agree
+.\" with the code in kernel/user_namespace.c. Which is correct.
 and the write must be performed at the start of the file (i.e.,
 .BR lseek (2)
 and