tg-gsync-libc
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)
commit0edb565c184d4fbb6496f39e0fe6b2c0702014c0
tree8d19aaef657036c4ca4154ec1cae26c4cd928c9b
parenta5205daaf3750be7ef2ce3abc51b944d3c8fc2d8
tg-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 tg-gsync-libc.diff
18 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/libc-lock.h [deleted file]
sysdeps/mach/hurd/setpgid.c
sysdeps/mach/hurd/setsid.c
sysdeps/mach/libc-lock.h