New: pselect man page Linux notes appear to be out of date
http://bugzilla.kernel.org/show_bug.cgi?id=14411
Summary: pselect man page Linux notes appear to be out of date
Product: Documentation
Version: unspecified
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: man-pages
AssignedTo: documentation_man-pages-ztI5WcYan/[email protected]
ReportedBy: [email protected]
Regression: No
man-pages-3.23 man2/select.2 contains the following text in its BUGS section:
Since version 2.1, glibc has provided an emulation of pselect() that is implemented using sigprocmask(2) and select(). This implementation remains vulnerable to the very race condition that pselect() was designed to prevent.
It would appear that glibc added support in January 2006 for the real pselect syscall which presumably doesn't suffer from these race conditions.
References:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9f72949f679df06021c9e43886c9191494fdb007$glibc/sysdeps/unix/sysv/linux/pselect.c
$glibc/ChangeLog.16
Signature · 7 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html