glibc/hurd
Samuel Thibault c3b287be74 hurd: handle EINTR during critical sections
During critical sections, signal handling is deferred and thus RPCs return
EINTR, even if SA_RESTART is set. We thus have to restart the whole critical
section in that case.

This also adds HURD_CRITICAL_UNLOCK in the cases where one wants to
break the section in the middle.
2021-03-23 22:40:10 +00:00
..
hurd hurd: handle EINTR during critical sections 2021-03-23 22:40:10 +00:00
alloc-fd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
catch-exc.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
catch-signal.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
compat-20.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ctty-input.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ctty-output.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Depend
dtable.c hurd: handle EINTR during critical sections 2021-03-23 22:40:10 +00:00
exc2signal.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
faultexc.defs
fchroot.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fcntl-internal.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fd-cleanup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fd-close.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fd-read.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fd-write.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
fopenport.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
get-host.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
getdport.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
geteuids.c hurd: handle EINTR during critical sections 2021-03-23 22:40:10 +00:00
getumask.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurd-raise.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurd.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdauth.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdchdir.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdexec.c hurd: handle EINTR during critical sections 2021-03-23 22:40:10 +00:00
hurdfault.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdfault.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdfchdir.c hurd: handle EINTR during critical sections 2021-03-23 22:40:10 +00:00
hurdhost.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdinit.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdioctl.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdkill.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdlock.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdlock.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdlookup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdmalloc.c hurd: Remove some remnants of cthreads 2020-11-15 13:16:03 +01:00
hurdmalloc.h
hurdmsg.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdpid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdports.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdprio.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdrlimit.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdselect.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdsig.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdsock.c hurd: handle EINTR during critical sections 2021-03-23 22:40:10 +00:00
hurdsocket.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdstartup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
hurdstartup.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
intern-fd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
intr-msg.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
intr-rpc.defs Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
intr-rpc.h Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
longjmp-ts.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
lookup-at.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
lookup-retry.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Makefile Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
msgportdemux.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
new-fd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Notes
openport.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
path-lookup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
pid2task.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
port2fd.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
port-cleanup.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ports-get.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
ports-set.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
preempt-sig.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
privports.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
report-wait.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
RPC_gsync_wait_intr.c hurd: Add __lll_abstimed_wait_intr 2020-12-16 01:58:33 +01:00
set-host.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
setauth.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
seteuids.c hurd: handle EINTR during critical sections 2021-03-23 22:40:10 +00:00
siginfo.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
sigunwind.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
stack_chk_fail_local.c hurd: fix build with -fstack-protector-strong 2017-08-27 22:10:17 +02:00
task2pid.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
thread-cancel.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
thread-self.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
trampoline.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
Versions hurd: Add __libc_open and __libc_close 2020-12-16 01:58:33 +01:00
vpprintf.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00
xattr.c Update copyright dates with scripts/update-copyrights 2021-01-02 12:17:34 -08:00