Package: glibc / 2.28-10
Metadata
Package | Version | Patches format |
---|---|---|
glibc | 2.28-10 | 3.0 (quilt) |
Patch series
view the series filePatch | File delta | Description |
---|---|---|
git updates.diff | (download) |
ChangeLog |
819 819 + 0 - 0 ! |
--- |
locale/check unknown symbols.diff | (download) |
locale/programs/ld-collate.c |
12 12 + 0 - 0 ! |
--- |
locale/locale print LANGUAGE.diff | (download) |
locale/programs/locale.c |
4 4 + 0 - 0 ! |
--- |
locale/LC_IDENTIFICATION optional fields.diff | (download) |
locale/programs/ld-identification.c |
9 6 + 3 - 0 ! |
--- |
localedata/local all no archive.diff | (download) |
localedata/Makefile |
2 1 + 1 - 0 ! |
--- |
localedata/sort UTF8 first.diff | (download) |
localedata/SUPPORTED |
14 7 + 7 - 0 ! |
--- |
localedata/supported.diff | (download) |
localedata/SUPPORTED |
5 5 + 0 - 0 ! |
add several locales to localedata.supported # DP: - ru_RU.CP1251 was requested in #225516 # DP: - uz_UZ.UTF-8 was clearly missing, uz_UZ had no UTF-8 variant # DP: - da_DK.ISO-8859-15, en_GB.ISO-8859-15, en_US.ISO-8859-15, no_NO.UTF-8, # DP: no_NO and sv_SE.ISO-8859-15 are found in fedora-branch CVS branch. # DP: Related bugs: #225516 (ru_RU.CP1251) |
localedata/locale eu_FR.diff | (download) |
localedata/SUPPORTED |
3 3 + 0 - 0 ! |
#257840: locales: please add the eu_fr locale # DP: Related bugs: #257840 |
localedata/locale ku_TR.diff | (download) |
localedata/locales/ku_TR |
70 36 + 34 - 0 ! |
please add kurdish locale # DP: Related bugs: BZ870 |
localedata/fo_FO date_fmt.diff | (download) |
localedata/locales/fo_FO |
3 2 + 1 - 0 ! |
fix d_t_fmt and date_fmt in fo_fo # DP: Related bugs: #307194 |
localedata/locales_CH.diff | (download) |
localedata/locales/it_CH |
4 1 + 3 - 0 ! |
lc_numeric: copy de_ch into it_ch |
localedata/locales fr.diff | (download) |
localedata/locales/fr_BE |
5 4 + 1 - 0 ! |
various fixes for all french locales # DP: Related bugs: #248377 #351786 #345481 |
localedata/locale en_DK.diff | (download) |
localedata/SUPPORTED |
1 1 + 0 - 0 ! |
improve en_dk and add en_dk.iso-8859-15 to supported # DP: This locale is only useful to provide ISO8601 date formats. # DP: Related bugs: #323159 |
localedata/locale zh_TW.diff | (download) |
localedata/locales/zh_TW |
4 2 + 2 - 0 ! |
--- |
localedata/tailor iso14651_t1.diff | (download) |
localedata/locales/ar_SA |
219 2 + 217 - 0 ! |
rewrite collation rules to include iso14651_t1 # DP: ar_SA cs_CZ et_EE hr_HR lt_LT pl_PL sl_SI tr_TR: not # DP: submitted yet. # DP: Related bugs: BZ664 BZ672 |
localedata/submitted bz9725 locale sv_SE.diff | (download) |
localedata/locales/sv_SE |
4 4 + 0 - 0 ! |
--- |
localedata/locale C.diff | (download) |
localedata/locales/C |
3232 3232 + 0 - 0 ! |
--- |
localedata/submitted en_AU date_fmt.diff | (download) |
localedata/locales/en_AU |
1 1 + 0 - 0 ! |
--- |
localedata/submitted es_MX decimal_point.diff | (download) |
localedata/locales/es_MX |
2 1 + 1 - 0 ! |
--- |
localedata/submitted it_IT thousands_sep.diff | (download) |
localedata/locales/it_IT |
4 2 + 2 - 0 ! |
--- |
localedata/git en_US date_fmt.diff | (download) |
localedata/locales/en_US |
3 3 + 0 - 0 ! |
--- |
alpha/local gcc4.1.diff | (download) |
sysdeps/unix/sysv/linux/alpha/ioperm.c |
8 4 + 4 - 0 ! |
--- |
alpha/submitted dl support.diff | (download) |
sysdeps/unix/sysv/linux/alpha/dl-support.c |
2 0 + 2 - 0 ! |
--- |
alpha/local string functions.diff | (download) |
sysdeps/alpha/alphaev67/stpncpy.S |
115 0 + 115 - 0 ! |
--- |
alpha/submitted fts64.diff | (download) |
sysdeps/unix/sysv/linux/alpha/fts.c |
1 1 + 0 - 0 ! |
--- |
alpha/submitted makecontext.diff | (download) |
sysdeps/unix/sysv/linux/alpha/makecontext.S |
5 5 + 0 - 0 ! |
--- |
arm/local sigaction.diff | (download) |
sysdeps/unix/sysv/linux/arm/sigaction.c |
13 4 + 9 - 0 ! |
--- |
arm/unsubmitted ldconfig cache abi.diff | (download) |
sysdeps/unix/sysv/linux/arm/readelflib.c |
127 127 + 0 - 0 ! |
--- |
arm/unsubmitted ldso abi check.diff | (download) |
elf/dl-load.c |
218 218 + 0 - 0 ! |
--- |
arm/local soname hack.diff | (download) |
elf/dl-load.c |
5 4 + 1 - 0 ! |
--- |
arm/local vfp sysdeps.diff | (download) |
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 ! |
--- |
arm/local arm futex.diff | (download) |
sysdeps/unix/sysv/linux/arm/kernel-features.h |
2 1 + 1 - 0 ! |
lie about futex_atomic_cmpxchg_inatomic kernel support. In past versions of glibc, we incorrectly assumed all ARM kernels in all configurations supported futex_atomic_cmpxchg_inatomic. This was clearly a lie, however it was a lie that we relied on, because the fallback implementation appears to not play nicely with certain applications like pulseaudio. Restore the lie for kernels > 2.6.32 and plug our ears and scream "LA LA LA" about how wrong this is. |
hppa/local inlining.diff | (download) |
sysdeps/hppa/Makefile |
1 1 + 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 |
4 4 + 0 - 0 ! |
[patch] getcontext, makecontext, setcontext, swapcontext |
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. TODO: > + char filename[sizeof (SHM_DIR) - 1 + SHM_NAMEMAX]; > + struct stat statbuf; > + > + sprintf (filename, SHM_DIR SHM_NAMEPRI, id); > + /* SysV requires read access for IPC_STAT. */ > + fd = __open (filename, O_NORW); > + if (fd < 0) > + { > + if (errno == ENOENT) > + errno = EINVAL; > + return -1; > + } Since this is repeated in more than one function, put it into an internal subroutine. Then we have only one place doing the name-generation logic. > + case IPC_RMID: > + res = __unlink (filename); > + /* FIXME: Check error (mapping ENOENT to EINVAL). */ Fix it. |
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 VM_MAX_ADDRESS shouldn't be hardcoded in libc, the kernel should be able to decide about it dynamically. This fixes glibc into supporting that. It's however 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 sendmsg SCM_RIGHTS.diff | (download) |
sysdeps/mach/hurd/recvmsg.c |
97 95 + 2 - 0 ! |
[patch] add support to send file descriptors over unix sockets |
hurd i386/tg sendmsg SCM_CREDS.diff | (download) |
hurd/Makefile |
2 1 + 1 - 0 ! |
[patch] hurd: scm_creds support Svante Signell <svante.signell@gmail.com> Samuel Thibault <samuel.thibault@ens-lyon.org> * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): On SCM_CREDS control messages, record uids, pass a rendez-vous port in the control message, and call __auth_user_authenticate_request to make auth send credentials on that port. Do not wait for a reply. * sysdeps/mach/hurd/recvmsg.c (contains_uid, contains_gid, check_auth): New functions. (__libc_recvmsg): On SCM_CREDS control messages, call check_auth to check the passed credentials thanks to the answer from the auth server. * hurd/Makefile (user-interfaces): Add auth_request and auth_reply. |
hurd i386/tg mach hurd link.diff | (download) |
Makerules |
3 3 + 0 - 0 ! |
[patch] add -lmachuser -lhurduser to libc.so on gnu/hurd. http://lists.gnu.org/archive/html/bug-hurd/2011-03/msg00112.html 2011-03-29 Samuel Thibault <samuel.thibault@ens-lyon.org> * Makerules ($(inst_libdir)/libc.so): Add -lmachuser -lhurduser to libc.so on GNU/Hurd. It's still unclear what we want to aim for. |
hurd i386/local ED.diff | (download) |
sysdeps/mach/hurd/bits/errno.h |
4 4 + 0 - 0 ! |
--- |
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 anyway (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) |
hurd/Versions |
16 16 + 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/libpthread_version.diff | (download) |
htl/Versions |
24 24 + 0 - 0 ! |
--- |
hurd i386/local usr.diff | (download) |
sysdeps/mach/hurd/i386/libc.abilist |
2 1 + 1 - 0 ! |
--- |
hurd i386/tg hurdsig boot fix.diff | (download) |
hurd/hurdsig.c |
3 2 + 1 - 0 ! |
--- |