proc.5, pipe.7: Move /proc/sys/fs/pipe-max-size content from proc(5) to pipe(7)

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-08-17 16:16:08 +12:00
parent cc6b4da2ec
commit 33dc4b59be
2 changed files with 8 additions and 12 deletions

View File

@ -4028,18 +4028,8 @@ with writes enabled, any UID or GID that would exceed 65535 is translated
to the overflow value before being written to disk.
.TP
.IR /proc/sys/fs/pipe-max-size " (since Linux 2.6.35)"
The value in this file defines an upper limit for raising the capacity
of a pipe using the
.BR fcntl (2)
.B F_SETPIPE_SZ
operation.
This limit applies only to unprivileged processes.
The default value for this file is 1,048,576.
The value assigned to this file may be rounded upward,
to reflect the value actually employed for a convenient implementation.
To determine the rounded-up value,
display the contents of this file after assigning a value to it.
The minimum value that can be assigned to this file is the system page size.
See
.BR pipe (7).
.TP
.IR /proc/sys/fs/protected_hardlinks " (since Linux 3.6)"
.\" commit 800179c9b8a1e796e441674776d11cd4c05d61d7

View File

@ -184,7 +184,13 @@ The maximum size (in bytes) of individual pipes that can be set
by users without the
.B CAP_SYS_RESOURCE
capability.
The value assigned to this file may be rounded upward,
to reflect the value actually employed for a convenient implementation.
To determine the rounded-up value,
display the contents of this file after assigning a value to it.
The default value for this file is 1048576 (1 MiB).
The minimum value that can be assigned to this file is the system page size.
Attempts to set a limit less than the page size cause
.BR write (2)
to fail with the error