mirror of https://github.com/mkerrisk/man-pages
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:
parent
cc6b4da2ec
commit
33dc4b59be
14
man5/proc.5
14
man5/proc.5
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue