From cc6b4da2ecb6bfb54e4c78f377134a5c9b609ea0 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 17 Aug 2016 09:43:43 +1200 Subject: [PATCH] pipe.7: Fixes after review by Vegard Nossum Reviewed-by: Vegard Nossum Reviewed-by: Willy Tarreau Signed-off-by: Michael Kerrisk --- man7/pipe.7 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/man7/pipe.7 b/man7/pipe.7 index 73aa3a37a..aef987144 100644 --- a/man7/pipe.7 +++ b/man7/pipe.7 @@ -178,11 +178,13 @@ This interface was removed in Linux 2.6.35, in favor of .TP .IR /proc/sys/fs/pipe-max-size " (since Linux 2.6.35)" .\" commit ff9da691c0498ff81fdd014e7a0731dab2337dac -The maximum size (in bytes) of individual pipes created or set by users -without the +The maximum size (in bytes) of individual pipes that can be set +.\" This limit is not checked on pipe creation, where the capacity is +.\" always PIPE_DEF_BUFS, regardless of pipe-max-size +by users without the .B CAP_SYS_RESOURCE capability. -The default value for this file is 1048576. +The default value for this file is 1048576 (1 MiB). Attempts to set a limit less than the page size cause .BR write (2) to fail with the error