diff --git a/man2/fcntl.2 b/man2/fcntl.2 index c51b705c3..7a7f06fec 100644 --- a/man2/fcntl.2 +++ b/man2/fcntl.2 @@ -56,7 +56,7 @@ .\" Note obsolete F_SETOWN behavior with threads. .\" Document F_SETOWN_EX and F_GETOWN_EX .\" -.TH FCNTL 2 2009-10-17 "Linux" "Linux Programmer's Manual" +.TH FCNTL 2 2010-06-17 "Linux" "Linux Programmer's Manual" .SH NAME fcntl \- manipulate file descriptor .SH SYNOPSIS @@ -1159,14 +1159,18 @@ will be \-1, and .I errno will contain the (positive) process group ID. The Linux-specific -.BR F_SETOWN_EX -and .BR F_GETOWN_EX -operations avoid this problem. +operation avoids this problem. .\" mtk, Dec 04: some limited testing on alpha and ia64 seems to .\" indicate that ANY negative PGID value will cause F_GETOWN .\" to misinterpret the return as an error. Some other architectures .\" seem to have the same range check as i386. +Since glibc version 2.11, glibc makes the kernel +.B F_GETOWN +problem invisible by implementing +.B F_GETOWN +using +.BR F_GETOWN_EX . In Linux 2.4 and earlier, there is bug that can occur when an unprivileged process uses