Red Hat Bugzilla – Bug 187075
man 2 read doesn't mention ERESTARTSYS
Last modified: 2010-04-23 04:06:34 EDT
Description of problem:
read(2) can return the error ERESTARTSYS if the read is interrupted by a trace,
eg strace or attaching gdb. ERESTARTSYS is mentioned in the man page for
accept(2) in this context, but not for read(2). I believe wait4(2) can also
Version-Release number of selected component (if applicable):
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.
read(2) in F13 (man-pages-3.23-6) still doesn't show a reference to ERESTARTSYS, so this patch was probably not upstreamed and therefore still affects other versions of RHEL and Fedora.