Package: glibc / 2.19-15
Metadata
Package | Version | Patches format |
---|---|---|
glibc | 2.19-15 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
arm/local vfp sysdeps.diff | (download) |
ports/sysdeps/arm/sysdep.h |
7 7 + 0 - 0 ! |
work around broken compilers (like fpc) on armhf |
arm/unsubmitted ldso multilib.diff | (download) |
elf/dl-load.c |
9 9 + 0 - 0 ! |
--- |
arm64/cvs includes cleanup.diff | (download) |
ports/sysdeps/unix/sysv/linux/aarch64/sys/procfs.h |
15 2 + 13 - 0 ! |
--- |
arm64/submitted align.diff | (download) |
ports/sysdeps/aarch64/nptl/tls.h |
4 2 + 2 - 0 ! |
--- |
arm64/submitted setcontext.diff | (download) |
ports/sysdeps/unix/sysv/linux/aarch64/setcontext.S |
147 92 + 55 - 0 ! |
--- |
arm64/submitted tst setcontext.diff | (download) |
stdlib/tst-setcontext.c |
21 21 + 0 - 0 ! |
--- |
hppa/local inlining.diff | (download) |
ports/sysdeps/hppa/Makefile |
1 1 + 0 - 0 ! |
--- |
hppa/submitted fadvise64_64.diff | (download) |
sysdeps/unix/sysv/linux/posix_fadvise.c |
13 13 + 0 - 0 ! |
--- |
hppa/submitted nptl carlos.diff | (download) |
elf/rtld.c |
10 5 + 5 - 0 ! |
--- |
hppa/local stack grows up.diff | (download) |
nptl/allocatestack.c |
35 25 + 10 - 0 ! |
--- |
hppa/local lowlevellock.diff | (download) |
ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c |
1 1 + 0 - 0 ! |
--- |
hppa/local EAGAIN.diff | (download) |
nptl/pthread_mutex_trylock.c |
3 2 + 1 - 0 ! |
--- |
hppa/local elf make cflags.diff | (download) |
elf/Makefile |
2 1 + 1 - 0 ! |
--- |
hppa/local setjmp namespace.diff | (download) |
ports/sysdeps/hppa/bits/setjmp.h |
2 1 + 1 - 0 ! |
--- |
hppa/local fcntl osync.diff | (download) |
ports/sysdeps/unix/sysv/linux/hppa/bits/fcntl.h |
2 1 + 1 - 0 ! |
--- |
hppa/local atomic.diff | (download) |
ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h |
66 35 + 31 - 0 ! |
--- |
hppa/local fpu.diff | (download) |
ports/sysdeps/hppa/fpu/feholdexcpt.c |
6 3 + 3 - 0 ! |
--- |
hppa/local shmlba.diff | (download) |
ports/sysdeps/unix/sysv/linux/hppa/bits/shm.h |
2 1 + 1 - 0 ! |
--- |
hppa/local pthread_spin_unlock.diff | (download) |
ports/sysdeps/hppa/nptl/pthread_spin_init.c |
8 4 + 4 - 0 ! |
--- |
hppa/cvs sigrtmin.diff | (download) |
ports/sysdeps/unix/sysv/linux/hppa/bits/signum.h |
22 15 + 7 - 0 ! |
[patch] hppa: make __sigrtmin 32 (abi break). In the Linux kernel version 3.17 the signal numbers were rearranged in order to make hppa like every other arch. Previously we started __SIGRTMIN at 37, and that meant several pieces of important software, including systemd, would fail to build. To support systemd we removed SIGEMT and SIGLOST, and rearranged the others according to expected values. This is technically an ABI incompatible change, but because zero applications use SIGSTKFLT, SIGXCPU, SIGXFSZ and SIGSYS nothing broke. Nothing uses SIGEMT and SIGLOST, and they were present for HPUX compatibility which is no longer supported. Thus because nothing breaks we don't do any compatibility work here. Upstream kernel commit is 1f25df2eff5b25f52c139d3ff31bc883eee9a0ab. Signed-off-by: Carlos O'Donell <carlos@systemhalted.org> Signed-off-by: Helge Deller <deller@gmx.de> 2014-10-23 Carlos O'Donell <carlos@systemhalted.org> Helge Deller <deller@gmx.de> [BZ #17508] * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT. Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12. Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32. |
hurd i386/cvs tcbhead_t.diff | (download) |
sysdeps/mach/hurd/i386/tls.h |
34 34 + 0 - 0 ! |
--- |
hurd i386/local enable ldconfig.diff | (download) |
elf/ldconfig.c |
4 4 + 0 - 0 ! |
enable ldconfig and such on hurd-i386 |
hurd i386/tg context_functions.diff | (download) |
sysdeps/mach/hurd/i386/Makefile |
5 5 + 0 - 0 ! |
[patch] getcontext, makecontext, setcontext, swapcontext |
hurd i386/tg tls.diff | (download) |
csu/libc-start.c |
2 2 + 0 - 0 ! |
[patch] tls TLS support. All by Samuel Thibault. |
hurd i386/tg tls threadvar.diff | (download) |
hurd/Versions |
7 2 + 5 - 0 ! |
[patch] tls-threadvar replace the custom threadvar mechanism with generic TLS. That will fix sigaltstack. |
hurd i386/tg tlsdesc.sym.diff | (download) |
sysdeps/mach/hurd/i386/tlsdesc.sym |
19 19 + 0 - 0 ! |
[patch] tlsdesc.sym i386 version of tlsdesc.sym for GNU Hurd. |
hurd i386/tg sysvshm.diff | (download) |
hurd/Makefile |
1 1 + 0 - 0 ! |
[patch] implement sysv shared memory for gnu/hurd. 2005-07-11 Marcus Brinkmann <marcus@gnu.org> * hurd/Makefile (routines): Add sysvshm. (distribute): Add sysvshm.h. * hurd/sysvshm.h: New file. * hurd/sysvshm.c: New file. * sysdeps/mach/hurd/bits/stat.h (S_IMMAP0): New macro. (S_ISPARE): Unset the S_IMMAP0 flag. * sysdeps/mach/hurd/ftok.c: New file. * sysdeps/mach/hurd/shmat.c: New file. * sysdeps/mach/hurd/shmctl.c: New file. * sysdeps/mach/hurd/shmdt.c: New file. * sysdeps/mach/hurd/bits/posix_opt.h: Define _XOPEN_SHM to 1. |
hurd i386/tg ioctl base types.diff | (download) |
sysdeps/mach/hurd/bits/ioctls.h |
23 22 + 1 - 0 ! |
[patch] add some basic types for ioctls. |
hurd i386/tg extern_inline.diff | (download) |
hurd/hurd.h |
4 4 + 0 - 0 ! |
[patch] extern_inline Fix some ``extern inline'' stuff. |
hurd i386/tg _dl_random.diff | (download) |
sysdeps/mach/hurd/dl-sysdep.c |
2 2 + 0 - 0 ! |
[patch] _dl_random _dl_random |
hurd i386/tg thread cancel.diff | (download) |
hurd/hurdexec.c |
1 0 + 1 - 0 ! |
[patch] the critical section lock _can_ be held in these place. At least since hurd_thread_cancel can be called by another thread and lock our critical lock. http://bugs.debian.org/46859 Thomas suggested that there is no need to take the critical section lock. I believe that taking the critical section lock is necessary to prevent the target thread from entering a signal handler. Roland will look into the problem. Taking the critical section lock makes these assertions bogus. It happens that hurd_thread_cancel is only called from libports and inside /hurd/term so this is rare in practice. A reproducer can be found here: http://lists.gnu.org/archive/html/bug-hurd/2014-05/msg00025.html 2006-08-05 Samuel Thibault <samuel.thibault@ens-lyon.org> * hurd/thread-cancel.c (hurd_thread_cancel): Do not assert that `&ss->critical_section_lock' is unlocked. * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise, and take critical section lock before taking the sigstate lock. * sysdeps/mach/hurd/spawni.c (__spawni): Likewise. |
hurd i386/tg bigmem.diff | (download) |
sysdeps/mach/hurd/dl-sysdep.c |
28 22 + 6 - 0 ! |
[patch] allow the kernel to start earlier than vm_max_address A bit hackish. |
hurd i386/local disable ioctls.diff | (download) |
sysdeps/mach/hurd/bits/ioctls.h |
6 6 + 0 - 0 ! |
--- |
hurd i386/tg locarchive.diff | (download) |
locale/programs/locarchive.c |
18 18 + 0 - 0 ! |
[patch] fix installation of locales-all Dirty hack to fix installation of locales-all: instead of just locking the archive extension (which is not supported on hurd-i386), lock it all. |
hurd i386/tg no hp timing.diff | (download) |
sysdeps/mach/hurd/hp-timing.h |
41 41 + 0 - 0 ! |
[patch] no hp timing 2010-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org> We don't have support for hp timing for now, even the i686 variant, which needs to know the CPU speed. Copied from sysdeps/generic/hp-timing.h |
hurd i386/tg sendmsg SCM_RIGHTS.diff | (download) |
sysdeps/mach/hurd/recvmsg.c |
103 101 + 2 - 0 ! |
[patch] add support to send file descriptors over unix sockets |
hurd i386/tg grantpt.diff | (download) |
sysdeps/mach/hurd/ptsname.c |
18 14 + 4 - 0 ! |
[patch] t/grantpt /media/Stalin/tmp/glibc.hurd.gnu-2/libc_pic.os: In function `pts_name': /media/data/home/thomas/tmp/source/glibc/git/glibc.hurd/login/../sysdeps/unix/grantpt.c:52: undefined reference to `__ptsname_internal' collect2: ld returned 1 exit status make[1]: *** [/media/Stalin/tmp/glibc.hurd.gnu-2/libc.so] Error 1 Cf. aa9890239a2aef81e64f3f22a31c7e01b6501f69 Need any of the checks (stat, etc.) that Linux' __ptsname_internal does? Implement close_all_fds as in 139ee080b6b428240bf49f3e6361f3ac729f891a? |
hurd i386/submitted add needed.diff | (download) |
Makerules |
3 3 + 0 - 0 ! |
--- |
hurd i386/local ED.diff | (download) |
sysdeps/mach/hurd/bits/errno.h |
2 2 + 0 - 0 ! |
--- |
hurd i386/tg posix_thread.diff | (download) |
sysdeps/mach/hurd/Makefile |
4 4 + 0 - 0 ! |
[patch] t/posix_thread Declare that we have a libpthread. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> |
hurd i386/tg gai_misc.diff | (download) |
sysdeps/mach/hurd/gai_misc.h |
44 44 + 0 - 0 ! |
[patch] t/gai_misc Add a hurd version of threaded gai_misc.h Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> |
hurd i386/local madvise_warn.diff | (download) |
misc/madvise.c |
2 1 + 1 - 0 ! |
--- |
hurd i386/tg hurdsig fixes.diff | (download) |
hurd/hurdsig.c |
272 160 + 112 - 0 ! |
[patch] signal code refactoring. These patches should not change the current behavior, although they do fix a few minor bugs which were made apparent in the process. They are unchanged from my previous post earlier this month. 34f5960 _hurd_internal_post_signal: Split into more functions 420eec9 _hurd_internal_post_signal: Scope variables more restrictively 1f5accd _hurd_internal_post_signal: Split out inner functions 1bb0a1d Hurd signals: refactor check_pending_signals 1764465 Hurd signals: reindent 28473d2 Hurd signals: make sigsuspend POSIX-conformant. 26d091a Hurd signals: fix uninitialized value. |
hurd i386/tg hurdsig global dispositions.diff | (download) |
hurd/ctty-input.c |
16 10 + 6 - 0 ! |
[patch] global signal dispositions. Although they should not change the default behaviors of signals for cthread programs, these patches add new functions which can be used by libpthread to enable POSIX-conforming behavior of signals on a per-thread basis. YYYY-MM-DD Jeremie Koenig <jk@jk.fr.eu.org> e407ae3 Hurd signals: implement global signal dispositions 38eb4b3 Hurd signals: provide a sigstate destructor 344dfd6 Hurd signals: fix sigwait() for global signals fb055f2 Hurd signals: fix global untraced signals. YYYY-MM-DD Thomas Schwinge <thomas@codesourcery.com> * sysdeps/mach/hurd/fork.c (__fork): In the child, reinitialize the global sigstate's lock. This is work in progress. This cures an issue that would very rarely cause a deadlock in the child in fork, tries to unlock ss' critical section lock at the end of fork. This will typically (always?) be observed in /bin/sh, which is not surprising as that is the foremost caller of fork. To reproduce an intermediate state, add an endless loop if _hurd_global_sigstate is locked after __proc_dostop (cast through volatile); that is, while still being in the fork's parent process. When that triggers (use the libtool testsuite), the signal thread has already locked ss (which is _hurd_global_sigstate), and is stuck at hurdsig.c:685 in post_signal, trying to lock _hurd_siglock (which the main thread already has locked and keeps locked until after __task_create). This is the case that ss->thread == MACH_PORT_NULL, that is, a global signal. In the main thread, between __proc_dostop and __task_create is the __thread_abort call on the signal thread which would abort any current kernel operation (but leave ss locked). Later in fork, in the parent, when _hurd_siglock is unlocked in fork, the parent's signal thread can proceed and will unlock eventually the global sigstate. In the client, _hurd_siglock will likewise be unlocked, but the global sigstate never will be, as the client's signal thread has been configured to restart execution from _hurd_msgport_receive. Thus, when the child tries to unlock ss' critical section lock at the end of fork, it will first lock the global sigstate, will spin trying to lock it, which can never be successful, and we get our deadlock. Options seem to be: * Move the locking of _hurd_siglock earlier in post_signal -- but that may generally impact performance, if this locking isn't generally needed anyway? On the other hand, would it actually make sense to wait here until we are not any longer in a critical section (which is meant to disable signal delivery anway (but not for preempted signals?))? * Clear the global sigstate in the fork's child with the rationale that we're anyway restarting the signal thread from a clean state. This has now been implemented. Why has this problem not been observed before Jrmie's patches? (Or has it? Perhaps even more rarely?) In _S_msg_sig_post, the signal is now posted to a *global receiver thread*, whereas previously it was posted to the *designated signal-receiving thread*. The latter one was in a critical section in fork, so didn't try to handle the signal until after leaving the critical section? (Not completely analyzed and verified.) Another question is what the signal is that is being received during/around the time __proc_dostop executes. |
hurd i386/local hurdsig global dispositions version.diff | (download) |
Versions.def |
1 1 + 0 - 0 ! |
--- |
hurd i386/tg hurdsig SA_SIGINFO.diff | (download) |
hurd/hurd/signal.h |
5 5 + 0 - 0 ! |
[patch] implement sa_siginfo signal handlers. 52baaca Hurd signals: Copy bits/sigaction.h 4232c66 Hurd signals: SA_SIGINFO support 1831cfe Hurd signals: Use POSIX sigcodes |
hurd i386/tg hurdsig fixes 2.diff | (download) |
hurd/hurdsig.c |
4 1 + 3 - 0 ! |
[patch] small signal fixes 22e7268 Hurd signals: fix sigwait for pending signals da8bf5e Hurd signals: clear the pending mask in fork and spawn 8e87205 Hurd signals: don't drop blocked ignored signals |
hurd i386/tg hooks.diff | (download) |
Makerules |
39 39 + 0 - 0 ! |
[patch] t/hooks Add link rules to sort hooks, otherwise they are not properly recorded 2012-04-21 Samuel Thibault <samuel.thibault@ens-lyon.org> * Makerules (shlib.lds): Add hurd hooks sorting rules. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> |
hurd i386/cvs libpthread.diff | (download) |
libpthread/ChangeLog |
6 6 + 0 - 0 ! |
--- |
hurd i386/libpthread_spin lock.diff | (download) |
libpthread/sysdeps/i386/bits/spin-lock-inline.h |
98 0 + 98 - 0 ! |
--- |
hurd i386/tg aio_misc.diff | (download) |
sysdeps/pthread/aio_misc.c |
5 4 + 1 - 0 ! |
[patch,hurd] fix build with pthread aio * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check priority against unexistent AIO_PRIO_DELTA_MAX. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> |
hurd i386/libpthread_build.diff | (download) |
libpthread/configure |
2 2 + 0 - 0 ! |
--- |
hurd i386/libpthread_sigmask.diff | (download) |
libpthread/sysdeps/mach/hurd/pt-sigstate.c |
12 10 + 2 - 0 ! |
--- |
hurd i386/libpthread_clean.diff | (download) |
libpthread/include/libc-symbols.h |
395 0 + 395 - 0 ! |
--- |
hurd i386/tg libpthread_depends.diff | (download) |
nscd/Depend |
1 1 + 0 - 0 ! |
[patch] t/libpthread_depends libpthread needs to be built before modules which need it. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> |
hurd i386/libpthread_version.diff | (download) |
Versions.def |
5 5 + 0 - 0 ! |
--- |
hurd i386/tg chflags.diff | (download) |
misc/chflags.c |
4 2 + 2 - 0 ! |
[patch] fix f?chflags prototypes, declare them and their flags. Although they are defined on GNU/Hurd, f?chflags were never declared. It seems the BSD prototype actually uses an unsigned long, so we can take the opportunity to fix the prototype, while adding an actual declaration. * misc/chflags.c (chflags): Set flags parameter type to unsigned long instead of int. * misc/fchflags.c (fchflags): Likewise. * sysdeps/mach/hurd/chflags.c (chflags): Likewise. * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise. * sysdeps/mach/hurd/bits/stat.h (UF_SETTABLE, UF_NODUMP, UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE, SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT): Declare macros. (chflags, fchflags): Declare functions. |