git-gsync-libc
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Tue, 4 Sep 2018 19:13:02 +0000 (20:13 +0100)
committerSamuel Thibault <sthibault@debian.org>
Tue, 4 Sep 2018 19:13:02 +0000 (20:13 +0100)
commitee537f8cecb936152e0c8aabe2689f9cf53e7df9
treeff6847f6f6ecbdb970dce10237825669ba34804e
parentf67a9f7429d37deb7a665bcf1f8d1ae48face56b
git-gsync-libc

t/gsync-libc
From: Agustina Arzille <avarzille@riseup.net>
Subject: [PATCH] Introduce gsync-based locks to glibc.

* hurd/Makefile: Add hurdlock.
* hurd/Versions: Added new entry to export the above interface.
* hurd/hurdlock.c: New file.
* hurd/hurdlock.h: New file.
* hurd/hurdpid.c: Include <lowlevellock.h>
  (_S_msg_proc_newids): Use lll_wait to synchronize.
* hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
* hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
* hurd/sysvshm.c: Include <hurdlock.h>, use integer for synchronization.
* mach/Makefile: Remove unneeded file
* mach/lock-intern.h: Use lll to implement spinlocks.
* mach/lowlevellock.h: New file
* mach/mutex-init.c: Rewrite mutex initialization.
* sysdeps/mach/Makefile: Add libmachuser as dependencies for some libs.
* sysdeps/mach/libc-lock.h: Reimplemented libc internal locks
  with lll, cleanup routines now use gcc's cleanup attribute
* sysdeps/mach/hurd/bits/errno.h: New errno values.
* sysdeps/mach/hurd/libc-lock.h: Removed file.
* sysdeps/mach/hurd/malloc-machine.h: Reimplemented malloc locks.
* sysdeps/mach/hurd/setpgid.c: (setpgid): Use gsync for synchronization.
* sysdeps/mach/hurd/setsid.c: (setsid): Likewise.

t/libc_cleanup
From: Agustina Arzille <avarzille@riseup.net>
Subject: [PATCH] Use gcc's cleanup attributes

cleanup routines now use gcc's cleanup attribute

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-gsync-libc.diff
19 files changed:
hurd/Makefile
hurd/Versions
hurd/hurdlock.c [new file with mode: 0644]
hurd/hurdlock.h [new file with mode: 0644]
hurd/hurdpid.c
hurd/hurdsig.c
hurd/setauth.c
hurd/sysvshm.c
mach/Makefile
mach/lock-intern.h
mach/lowlevellock.h [new file with mode: 0644]
mach/mutex-init.c
sysdeps/mach/Makefile
sysdeps/mach/hurd/bits/errno.h
sysdeps/mach/hurd/i386/libc.abilist
sysdeps/mach/hurd/libc-lock.h [deleted file]
sysdeps/mach/hurd/setpgid.c
sysdeps/mach/hurd/setsid.c
sysdeps/mach/libc-lock.h