glibc/sysdeps
Florian Weimer cccb6d4e87 sigwait: Do not fail with EINTR and return error code [BZ #22478]
Since

commit 8b0e795aaa
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Nov 1 11:49:05 2017 -0200

    Simplify Linux sig{timed}wait{info} implementations

sigwait can fail with EINTR.  Applications do not expect that, and the
error code is not documented in POSIX or the manual pages.

This commit restores the previous behavior by retrying the system call
on EINTR.  It also returns the error code, not -1, on the remaing
errors.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
2017-11-23 11:20:53 +01:00
..
aarch64 aarch64: Optimized memset for falkor 2017-11-20 18:25:04 +05:30
alpha nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
arm Prefer https for Sourceware links 2017-11-16 11:49:26 +05:30
generic ld.so: Add architecture specific fields 2017-11-13 08:02:52 -08:00
gnu The -Wstringop-truncation option new in GCC 8 detects common misuses 2017-11-15 17:39:59 -07:00
hppa Fix clog10_downward ulps on hppa. 2017-11-11 12:12:28 -05:00
i386 Use libm_alias_ldouble in sysdeps/i386/fpu. 2017-11-17 22:54:39 +00:00
ia64 Support bits/floatn.h inclusion from .S files. 2017-11-17 22:01:43 +00:00
ieee754 Support bits/floatn.h inclusion from .S files. 2017-11-17 22:01:43 +00:00
init_array
m68k nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
mach
microblaze nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
mips Support bits/floatn.h inclusion from .S files. 2017-11-17 22:01:43 +00:00
nios2 nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
nptl nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
posix Cleanup sigpause implementation 2017-11-15 15:45:39 -02:00
powerpc powerpc: Update AT_HWCAP2 bits 2017-11-17 21:49:02 -02:00
pthread
s390 S390: Add cfi information for start routines in order to stop unwinding. 2017-11-21 08:45:28 +01:00
sh nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
sparc Remove unused sparc64/soft-fp libm function implementations. 2017-11-22 21:11:00 +00:00
tile nptl: Define __PTHREAD_MUTEX_{NUSERS_AFTER_KIND,USE_UNION} 2017-11-07 09:48:41 -02:00
unix sigwait: Do not fail with EINTR and return error code [BZ #22478] 2017-11-23 11:20:53 +01:00
wordsize-32
wordsize-64
x86 Support bits/floatn.h inclusion from .S files. 2017-11-17 22:01:43 +00:00
x86_64 Use libm_alias_ldouble in sysdeps/x86_64/fpu. 2017-11-17 23:39:11 +00:00