git-eintr
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)
committerAurelien Jarno <aurel32@debian.org>
Sun, 19 Sep 2021 18:46:59 +0000 (19:46 +0100)
commitc403f9f64c7d961c74d2aaa5389a1676f2b0bd39
treef6e1ecc61cfa4ddbb7058476a6f2397347a8a0c8
parent3974dc6d38dc77e02b88b098fee62bdbfe640986
git-eintr

Committed for glibc 2.34

commit 1ecc5307a84d34c25dc026aec02d9276cd569561
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Mon Mar 22 22:44:36 2021 +0100

    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.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-eintr.diff
29 files changed:
hurd/dtable.c
hurd/geteuids.c
hurd/hurd/signal.h
hurd/hurdexec.c
hurd/hurdfchdir.c
hurd/hurdsock.c
hurd/seteuids.c
sysdeps/mach/hurd/faccessat.c
sysdeps/mach/hurd/fork.c
sysdeps/mach/hurd/getegid.c
sysdeps/mach/hurd/geteuid.c
sysdeps/mach/hurd/getgid.c
sysdeps/mach/hurd/getgroups.c
sysdeps/mach/hurd/getresgid.c
sysdeps/mach/hurd/getresuid.c
sysdeps/mach/hurd/getuid.c
sysdeps/mach/hurd/group_member.c
sysdeps/mach/hurd/setegid.c
sysdeps/mach/hurd/seteuid.c
sysdeps/mach/hurd/setgid.c
sysdeps/mach/hurd/setgroups.c
sysdeps/mach/hurd/setitimer.c
sysdeps/mach/hurd/setregid.c
sysdeps/mach/hurd/setresgid.c
sysdeps/mach/hurd/setresuid.c
sysdeps/mach/hurd/setreuid.c
sysdeps/mach/hurd/setsid.c
sysdeps/mach/hurd/setuid.c
sysdeps/mach/hurd/spawni.c