diff --git a/man5/proc.5 b/man5/proc.5 index f41da4f65..ee25f27be 100644 --- a/man5/proc.5 +++ b/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 diff --git a/man7/pipe.7 b/man7/pipe.7 index aef987144..af0a42cc4 100644 --- a/man7/pipe.7 +++ b/man7/pipe.7 @@ -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