mirror of https://github.com/mkerrisk/man-pages
fcntl.2: Improve F_SETPIPE_SZ text
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
cbd7b9bfbe
commit
cc7965fc11
10
man2/fcntl.2
10
man2/fcntl.2
|
@ -58,7 +58,7 @@
|
|||
.\" 2010-06-17, Michael Kerrisk
|
||||
.\" Document F_SETPIPE_SZ and F_GETPIPE_SZ.
|
||||
.\"
|
||||
.TH FCNTL 2 2010-06-17 "Linux" "Linux Programmer's Manual"
|
||||
.TH FCNTL 2 2010-06-19 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
fcntl \- manipulate file descriptor
|
||||
.SH SYNOPSIS
|
||||
|
@ -1012,7 +1012,13 @@ An unprivileged process can adjust the pipe capacity to any value
|
|||
between the system page size and the limit defined in
|
||||
.IR /proc/sys/fs/pipe-size-max
|
||||
(see
|
||||
.BR proc (5));
|
||||
.BR proc (5)).
|
||||
Attempts to set the pipe capacity below the page size are silently
|
||||
rounded up to the page size.
|
||||
Attempts by an unprivielged process to set the pipe capacity above the limit in
|
||||
.IR /proc/sys/fs/pipe-size-max
|
||||
yield the error
|
||||
.BR EPERM ;
|
||||
a privileged process
|
||||
.RB ( CAP_SYS_RESOURCE )
|
||||
can override the limit.
|
||||
|
|
Loading…
Reference in New Issue