namespaces.7: Clarify max # of bytes that can be written to a user namespace map

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-02-23 12:32:17 +01:00
parent 3fe8d14797
commit b2e73e0ce8
1 changed files with 5 additions and 2 deletions

View 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