git-gsync-libc
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Mon, 16 Jul 2018 20:23:13 +0000 (21:23 +0100)
committerAurelien Jarno <aurel32@debian.org>
Mon, 16 Jul 2018 20:23:13 +0000 (21:23 +0100)
commitd8fd04e386e0f193cae9d31a1176175e2181d943
tree460557527a0aafdeeda9b38ad5a8998d0a3e3354
parent3572be1a80b04d15f93ae48696d05857da8b72c0
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