Package: glibc / 2.28-10

Metadata

Package Version Patches format
glibc 2.28-10 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
git updates.diff | (download)

ChangeLog | 819 819 + 0 - 0 !
Makeconfig | 6 4 + 2 - 0 !
NEWS | 83 83 + 0 - 0 !
conform/data/signal.h-data | 3 2 + 1 - 0 !
conform/data/sys/wait.h-data | 3 2 + 1 - 0 !
dlfcn/dlerror.c | 5 4 + 1 - 0 !
elf/Makefile | 5 4 + 1 - 0 !
elf/dl-runtime.c | 48 43 + 5 - 0 !
elf/pldd-xx.c | 114 40 + 74 - 0 !
elf/pldd.c | 64 30 + 34 - 0 !
elf/tst-unwind-main.c | 60 60 + 0 - 0 !
grp/initgroups.c | 2 1 + 1 - 0 !
htl/Versions | 2 2 + 0 - 0 !
include/arpa/inet.h | 6 3 + 3 - 0 !
include/link.h | 4 4 + 0 - 0 !
include/stdio.h | 3 2 + 1 - 0 !
inet/Makefile | 2 1 + 1 - 0 !
inet/tst-if_index-long.c | 61 61 + 0 - 0 !
intl/dcigettext.c | 2 1 + 1 - 0 !
libio/tst-readline.c | 1 1 + 0 - 0 !
localedata/locales/ja_JP | 4 3 + 1 - 0 !
localedata/locales/kl_GL | 4 2 + 2 - 0 !
malloc/Makefile | 1 1 + 0 - 0 !
malloc/malloc.c | 109 57 + 52 - 0 !
malloc/tst-tcfree1.c | 42 42 + 0 - 0 !
malloc/tst-tcfree2.c | 48 48 + 0 - 0 !
malloc/tst-tcfree3.c | 56 56 + 0 - 0 !
math/libm-test-fma.inc | 16 8 + 8 - 0 !
misc/Makefile | 7 7 + 0 - 0 !
misc/error.c | 2 2 + 0 - 0 !
misc/tst-gethostid.c | 108 108 + 0 - 0 !
misc/tst-preadvwritev2-common.c | 65 62 + 3 - 0 !
misc/tst-preadvwritev2.c | 2 2 + 0 - 0 !
misc/tst-preadvwritev64v2.c | 2 2 + 0 - 0 !
nptl/Makefile | 29 23 + 6 - 0 !
nptl/pthreadP.h | 12 8 + 4 - 0 !
nptl/pthread_cond_common.c | 8 6 + 2 - 0 !
nptl/pthread_cond_wait.c | 2 1 + 1 - 0 !
nptl/pthread_mutex_consistent.c | 7 5 + 2 - 0 !
nptl/pthread_mutex_destroy.c | 11 8 + 3 - 0 !
nptl/pthread_mutex_getprioceiling.c | 4 3 + 1 - 0 !
nptl/pthread_mutex_init.c | 14 9 + 5 - 0 !
nptl/pthread_mutex_lock.c | 28 21 + 7 - 0 !
nptl/pthread_mutex_setprioceiling.c | 7 4 + 3 - 0 !
nptl/pthread_mutex_timedlock.c | 17 14 + 3 - 0 !
nptl/pthread_mutex_trylock.c | 74 67 + 7 - 0 !
nptl/pthread_mutex_unlock.c | 17 14 + 3 - 0 !
nptl/pthread_rwlock_common.c | 4 2 + 2 - 0 !
nptl/pthread_rwlock_tryrdlock.c | 25 16 + 9 - 0 !
nptl/pthread_rwlock_trywrlock.c | 9 8 + 1 - 0 !
nptl/register-atfork.c | 8 5 + 3 - 0 !
nptl/tst-audit-threads-mod1.c | 74 74 + 0 - 0 !
nptl/tst-audit-threads-mod2.c | 22 22 + 0 - 0 !
nptl/tst-audit-threads.c | 97 97 + 0 - 0 !
nptl/tst-audit-threads.h | 92 92 + 0 - 0 !
nptl/tst-mutex10.c | 109 109 + 0 - 0 !
nptl/tst-rwlock-pwn.c | 87 87 + 0 - 0 !
nptl/tst-rwlock-tryrdlock-stall.c | 355 355 + 0 - 0 !
nptl/tst-rwlock-trywrlock-stall.c | 108 108 + 0 - 0 !
nptl/tst-unwind-thread.c | 2 2 + 0 - 0 !
nscd/Makefile | 2 1 + 1 - 0 !
nscd/gai.c | 7 6 + 1 - 0 !
nscd/gethstbynm3_r.c | 2 0 + 2 - 0 !
nscd/initgrcache.c | 2 1 + 1 - 0 !
nscd/netgroupcache.c | 42 29 + 13 - 0 !
nscd/nscd-inet_addr.c | 32 32 + 0 - 0 !
nscd/nscd_conf.c | 6 5 + 1 - 0 !
nss/Makefile | 3 3 + 0 - 0 !
nss/digits_dots.c | 3 1 + 2 - 0 !
nss/nss_files/files-alias.c | 9 9 + 0 - 0 !
nss/nsswitch.c | 2 1 + 1 - 0 !
nss/tst-nss-files-alias-leak.c | 237 237 + 0 - 0 !
posix/Makefile | 3 2 + 1 - 0 !
posix/regex_internal.c | 4 2 + 2 - 0 !
posix/regexec.c | 6 4 + 2 - 0 !
posix/tst-regcomp-truncated.c | 191 191 + 0 - 0 !
resolv/Makefile | 7 7 + 0 - 0 !
resolv/Versions | 1 1 + 0 - 0 !
resolv/gai_misc.c | 7 5 + 2 - 0 !
resolv/inet_addr.c | 226 130 + 96 - 0 !
resolv/nss_dns/dns-host.c | 24 22 + 2 - 0 !
resolv/res_init.c | 17 11 + 6 - 0 !
resolv/tst-aton.c | 35 29 + 6 - 0 !
resolv/tst-inet_aton_exact.c | 47 47 + 0 - 0 !
resolv/tst-resolv-network.c | 6 6 + 0 - 0 !
resolv/tst-resolv-nondecimal.c | 139 139 + 0 - 0 !
resolv/tst-resolv-trailing.c | 136 136 + 0 - 0 !
stdlib/test-bz22786.c | 54 23 + 31 - 0 !
stdlib/tst-setcontext9.c | 49 39 + 10 - 0 !
stdlib/tst-strtod-overflow.c | 16 10 + 6 - 0 !
string/Makefile | 6 6 + 0 - 0 !
string/strcasestr.c | 5 3 + 2 - 0 !
string/strstr.c | 5 3 + 2 - 0 !
string/test-strerror-errno.c | 61 61 + 0 - 0 !
string/test-strstr.c | 30 30 + 0 - 0 !
support/Makefile | 7 7 + 0 - 0 !
support/blob_repeat.c | 302 302 + 0 - 0 !
support/blob_repeat.h | 44 44 + 0 - 0 !
support/check.h | 4 4 + 0 - 0 !
support/descriptors.h | 47 47 + 0 - 0 !
support/support.h | 5 5 + 0 - 0 !
support/support_capture_subprocess.c | 6 6 + 0 - 0 !
support/support_descriptors.c | 274 274 + 0 - 0 !
support/support_quote_string.c | 26 26 + 0 - 0 !
support/support_record_failure.c | 8 8 + 0 - 0 !
support/support_test_main.c | 28 28 + 0 - 0 !
support/tst-support_blob_repeat.c | 85 85 + 0 - 0 !
support/tst-support_descriptors.c | 198 198 + 0 - 0 !
support/tst-support_quote_string.c | 60 60 + 0 - 0 !
support/xpthread_rwlock_destroy.c | 26 26 + 0 - 0 !
support/xthread.h | 1 1 + 0 - 0 !
sysdeps/aarch64/dl-irel.h | 2 1 + 1 - 0 !
sysdeps/alpha/fpu/libm-test-ulps | 8 8 + 0 - 0 !
sysdeps/arm/dl-irel.h | 2 1 + 1 - 0 !
sysdeps/generic/unwind-dw2.c | 2 1 + 1 - 0 !
sysdeps/htl/pt-getspecific.c | 1 1 + 0 - 0 !
sysdeps/htl/pt-setspecific.c | 1 1 + 0 - 0 !
sysdeps/htl/pthreadP.h | 2 2 + 0 - 0 !
sysdeps/i386/dl-cet.c | 67 0 + 67 - 0 !
sysdeps/i386/dl-irel.h | 2 1 + 1 - 0 !
sysdeps/i386/dl-machine.h | 13 11 + 2 - 0 !
sysdeps/i386/start.S | 10 6 + 4 - 0 !
sysdeps/ia64/fpu/e_exp2f.S | 6 3 + 3 - 0 !
sysdeps/ia64/fpu/e_log2f.S | 6 3 + 3 - 0 !
sysdeps/ia64/fpu/e_powf.S | 6 3 + 3 - 0 !
sysdeps/ieee754/soft-fp/s_fdiv.c | 12 12 + 0 - 0 !
sysdeps/nptl/bits/thread-shared-types.h | 22 21 + 1 - 0 !
sysdeps/nptl/fork.c | 6 3 + 3 - 0 !
sysdeps/nptl/fork.h | 8 5 + 3 - 0 !
sysdeps/nptl/futex-internal.h | 2 1 + 1 - 0 !
sysdeps/posix/getaddrinfo.c | 2 1 + 1 - 0 !
sysdeps/powerpc/nptl/tcb-offsets.sym | 1 0 + 1 - 0 !
sysdeps/powerpc/nptl/tls.h | 13 1 + 12 - 0 !
sysdeps/powerpc/powerpc32/dl-irel.h | 2 1 + 1 - 0 !
sysdeps/powerpc/powerpc32/sysdep.h | 17 0 + 17 - 0 !
sysdeps/powerpc/powerpc64/addmul_1.S | 31 21 + 10 - 0 !
sysdeps/powerpc/powerpc64/dl-irel.h | 2 1 + 1 - 0 !
sysdeps/powerpc/powerpc64/lshift.S | 12 8 + 4 - 0 !
sysdeps/powerpc/powerpc64/mul_1.S | 13 9 + 4 - 0 !
sysdeps/powerpc/powerpc64/sysdep.h | 17 0 + 17 - 0 !
sysdeps/powerpc/sysdep.h | 20 0 + 20 - 0 !
sysdeps/riscv/rv64/rvd/libm-test-ulps | 16 12 + 4 - 0 !
sysdeps/riscv/rvf/math_private.h | 2 1 + 1 - 0 !
sysdeps/riscv/start.S | 7 6 + 1 - 0 !
sysdeps/s390/dl-irel.h | 2 1 + 1 - 0 !
sysdeps/s390/dl-procinfo.h | 3 2 + 1 - 0 !
sysdeps/sparc/sparc32/dl-irel.h | 2 1 + 1 - 0 !
sysdeps/sparc/sparc64/dl-irel.h | 2 1 + 1 - 0 !
sysdeps/unix/sysv/linux/Makefile | 1 1 + 0 - 0 !
sysdeps/unix/sysv/linux/arm/atomic-machine.h | 18 13 + 5 - 0 !
sysdeps/unix/sysv/linux/bits/types/siginfo_t.h | 2 1 + 1 - 0 !
sysdeps/unix/sysv/linux/getdents64.c | 97 73 + 24 - 0 !
sysdeps/unix/sysv/linux/gethostid.c | 4 2 + 2 - 0 !
sysdeps/unix/sysv/linux/if_index.c | 11 6 + 5 - 0 !
sysdeps/unix/sysv/linux/kernel_sigaction.h | 12 10 + 2 - 0 !
sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h | 26 4 + 22 - 0 !
sysdeps/unix/sysv/linux/netlink_assert_response.c | 4 2 + 2 - 0 !
sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h | 3 2 + 1 - 0 !
sysdeps/unix/sysv/linux/powerpc/elision-conf.c | 20 20 + 0 - 0 !
sysdeps/unix/sysv/linux/powerpc/force-elision.h | 44 40 + 4 - 0 !
sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h | 3 2 + 1 - 0 !
sysdeps/unix/sysv/linux/powerpc/not-errno.h | 30 0 + 30 - 0 !
sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h | 1 0 + 1 - 0 !
sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h | 1 0 + 1 - 0 !
sysdeps/unix/sysv/linux/powerpc/syscall.S | 1 0 + 1 - 0 !
sysdeps/unix/sysv/linux/preadv2.c | 2 1 + 1 - 0 !
sysdeps/unix/sysv/linux/preadv64v2.c | 2 1 + 1 - 0 !
sysdeps/unix/sysv/linux/pwritev2.c | 2 1 + 1 - 0 !
sysdeps/unix/sysv/linux/pwritev64v2.c | 2 1 + 1 - 0 !
sysdeps/unix/sysv/linux/riscv/clone.S | 5 5 + 0 - 0 !
sysdeps/unix/sysv/linux/riscv/flush-icache.c | 6 5 + 1 - 0 !
sysdeps/unix/sysv/linux/riscv/kernel-features.h | 5 5 + 0 - 0 !
sysdeps/unix/sysv/linux/s390/force-elision.h | 44 40 + 4 - 0 !
sysdeps/unix/sysv/linux/sh/kernel_sigaction.h | 3 2 + 1 - 0 !
sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h | 7 6 + 1 - 0 !
sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h | 7 1 + 6 - 0 !
sysdeps/unix/sysv/linux/sparc/sparc64/Makefile | 5 5 + 0 - 0 !
sysdeps/unix/sysv/linux/spawni.c | 2 1 + 1 - 0 !
sysdeps/unix/sysv/linux/syscall-names.list | 6 4 + 2 - 0 !
sysdeps/unix/sysv/linux/tst-readdir64-compat.c | 115 115 + 0 - 0 !
sysdeps/unix/sysv/linux/x86/force-elision.h | 44 40 + 4 - 0 !
sysdeps/unix/sysv/linux/x86_64/sigaction.c | 3 2 + 1 - 0 !
sysdeps/x86/cpu-features.c | 6 6 + 0 - 0 !
sysdeps/x86/dl-prop.h | 51 41 + 10 - 0 !
sysdeps/x86/link_map.h | 9 5 + 4 - 0 !
sysdeps/x86_64/dl-irel.h | 2 1 + 1 - 0 !
sysdeps/x86_64/memchr.S | 10 7 + 3 - 0 !
sysdeps/x86_64/memcmp.S | 20 12 + 8 - 0 !
sysdeps/x86_64/memrchr.S | 4 2 + 2 - 0 !
sysdeps/x86_64/multiarch/memchr-avx2.S | 8 6 + 2 - 0 !
sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S | 7 5 + 2 - 0 !
sysdeps/x86_64/multiarch/memcmp-sse4.S | 9 6 + 3 - 0 !
sysdeps/x86_64/multiarch/memcmp-ssse3.S | 7 5 + 2 - 0 !
sysdeps/x86_64/multiarch/memcpy-ssse3-back.S | 17 11 + 6 - 0 !
sysdeps/x86_64/multiarch/memcpy-ssse3.S | 17 11 + 6 - 0 !
sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S | 16 10 + 6 - 0 !
sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S | 54 31 + 23 - 0 !
sysdeps/x86_64/multiarch/memrchr-avx2.S | 4 2 + 2 - 0 !
sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S | 6 5 + 1 - 0 !
sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S | 34 21 + 13 - 0 !
sysdeps/x86_64/multiarch/strcmp-avx2.S | 6 3 + 3 - 0 !
sysdeps/x86_64/multiarch/strcmp-sse42.S | 6 3 + 3 - 0 !
sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S | 4 2 + 2 - 0 !
sysdeps/x86_64/multiarch/strcpy-ssse3.S | 6 3 + 3 - 0 !
sysdeps/x86_64/multiarch/strlen-avx2.S | 9 6 + 3 - 0 !
sysdeps/x86_64/strcmp.S | 6 3 + 3 - 0 !
sysdeps/x86_64/strlen.S | 12 6 + 6 - 0 !
sysdeps/x86_64/x32/Makefile | 12 12 + 0 - 0 !
sysdeps/x86_64/x32/test-size_t.h | 35 35 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-memchr.c | 72 72 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-memcmp-2.c | 79 79 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-memcmp.c | 76 76 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-memcpy.c | 58 58 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-memrchr.c | 57 57 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-memset.c | 73 73 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-strncasecmp.c | 59 59 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-strncmp.c | 78 78 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-strncpy.c | 58 58 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-strnlen.c | 72 72 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-wcsncmp.c | 20 20 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-wcsnlen.c | 20 20 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-wmemchr.c | 20 20 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-wmemcmp.c | 20 20 + 0 - 0 !
sysdeps/x86_64/x32/tst-size_t-wmemset.c | 20 20 + 0 - 0 !
time/tzfile.c | 3 2 + 1 - 0 !
225 files changed, 6685 insertions(+), 881 deletions(-)

---
locale/check unknown symbols.diff | (download)

locale/programs/ld-collate.c | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

---
locale/locale print LANGUAGE.diff | (download)

locale/programs/locale.c | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

---
locale/LC_IDENTIFICATION optional fields.diff | (download)

locale/programs/ld-identification.c | 9 6 + 3 - 0 !
1 file changed, 6 insertions(+), 3 deletions(-)

---
localedata/local all no archive.diff | (download)

localedata/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
localedata/sort UTF8 first.diff | (download)

localedata/SUPPORTED | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

---
localedata/supported.diff | (download)

localedata/SUPPORTED | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 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 !
localedata/locales/eu_FR | 83 83 + 0 - 0 !
localedata/locales/eu_FR@euro | 83 83 + 0 - 0 !
3 files changed, 169 insertions(+)

 #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 !
1 file changed, 36 insertions(+), 34 deletions(-)

 please add kurdish locale
# DP: Related bugs: BZ870
localedata/fo_FO date_fmt.diff | (download)

localedata/locales/fo_FO | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 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 !
1 file changed, 1 insertion(+), 3 deletions(-)

 lc_numeric: copy de_ch into it_ch
localedata/locales fr.diff | (download)

localedata/locales/fr_BE | 5 4 + 1 - 0 !
localedata/locales/fr_CA | 1 1 + 0 - 0 !
localedata/locales/fr_CH | 5 4 + 1 - 0 !
localedata/locales/fr_FR | 7 7 + 0 - 0 !
localedata/locales/fr_LU | 5 4 + 1 - 0 !
5 files changed, 20 insertions(+), 3 deletions(-)

 various fixes for all french locales
# DP: Related bugs: #248377  #351786 #345481
localedata/locale en_DK.diff | (download)

localedata/SUPPORTED | 1 1 + 0 - 0 !
localedata/locales/en_DK | 22 3 + 19 - 0 !
2 files changed, 4 insertions(+), 19 deletions(-)

 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 !
1 file changed, 2 insertions(+), 2 deletions(-)

---
localedata/tailor iso14651_t1.diff | (download)

localedata/locales/ar_SA | 219 2 + 217 - 0 !
localedata/locales/sl_SI | 2070 17 + 2053 - 0 !
2 files changed, 19 insertions(+), 2270 deletions(-)

 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 !
1 file changed, 4 insertions(+)

---
localedata/locale C.diff | (download)

localedata/locales/C | 3232 3232 + 0 - 0 !
1 file changed, 3232 insertions(+)

---
localedata/submitted en_AU date_fmt.diff | (download)

localedata/locales/en_AU | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

---
localedata/submitted es_MX decimal_point.diff | (download)

localedata/locales/es_MX | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
localedata/submitted it_IT thousands_sep.diff | (download)

localedata/locales/it_IT | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

---
localedata/git en_US date_fmt.diff | (download)

localedata/locales/en_US | 3 3 + 0 - 0 !
1 file changed, 3 insertions(+)

---
alpha/local gcc4.1.diff | (download)

sysdeps/unix/sysv/linux/alpha/ioperm.c | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

---
alpha/submitted dl support.diff | (download)

sysdeps/unix/sysv/linux/alpha/dl-support.c | 2 0 + 2 - 0 !
1 file changed, 2 deletions(-)

---
alpha/local string functions.diff | (download)

sysdeps/alpha/alphaev67/stpncpy.S | 115 0 + 115 - 0 !
sysdeps/alpha/alphaev67/strncat.S | 87 0 + 87 - 0 !
sysdeps/alpha/stpncpy.S | 106 0 + 106 - 0 !
sysdeps/alpha/strcmp.S | 194 0 + 194 - 0 !
sysdeps/alpha/strncat.S | 94 0 + 94 - 0 !
sysdeps/alpha/strncmp.S | 277 0 + 277 - 0 !
sysdeps/alpha/strncpy.S | 87 0 + 87 - 0 !
7 files changed, 960 deletions(-)

---
alpha/submitted fts64.diff | (download)

sysdeps/unix/sysv/linux/alpha/fts.c | 1 1 + 0 - 0 !
sysdeps/unix/sysv/linux/alpha/fts64.c | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

---
alpha/submitted makecontext.diff | (download)

sysdeps/unix/sysv/linux/alpha/makecontext.S | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

---
arm/local sigaction.diff | (download)

sysdeps/unix/sysv/linux/arm/sigaction.c | 13 4 + 9 - 0 !
1 file changed, 4 insertions(+), 9 deletions(-)

---
arm/unsubmitted ldconfig cache abi.diff | (download)

sysdeps/unix/sysv/linux/arm/readelflib.c | 127 127 + 0 - 0 !
1 file changed, 127 insertions(+)

---
arm/unsubmitted ldso abi check.diff | (download)

elf/dl-load.c | 218 218 + 0 - 0 !
1 file changed, 218 insertions(+)

---
arm/local soname hack.diff | (download)

elf/dl-load.c | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

---
arm/local vfp sysdeps.diff | (download)

sysdeps/arm/sysdep.h | 7 7 + 0 - 0 !
1 file changed, 7 insertions(+)

 work around broken compilers (like fpc) on armhf
arm/unsubmitted ldso multilib.diff | (download)

elf/dl-load.c | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

---
arm/local arm futex.diff | (download)

sysdeps/unix/sysv/linux/arm/kernel-features.h | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 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 !
1 file changed, 1 insertion(+)

---
hurd i386/local enable ldconfig.diff | (download)

elf/ldconfig.c | 4 4 + 0 - 0 !
sysdeps/mach/hurd/configure | 2 2 + 0 - 0 !
sysdeps/mach/hurd/configure.ac | 2 2 + 0 - 0 !
3 files changed, 8 insertions(+)

 enable ldconfig and such on hurd-i386
hurd i386/tg context_functions.diff | (download)

sysdeps/mach/hurd/i386/Makefile | 4 4 + 0 - 0 !
sysdeps/mach/hurd/i386/getcontext.S | 74 74 + 0 - 0 !
sysdeps/mach/hurd/i386/makecontext.S | 122 122 + 0 - 0 !
sysdeps/mach/hurd/i386/setcontext.S | 92 92 + 0 - 0 !
sysdeps/mach/hurd/i386/swapcontext.S | 110 110 + 0 - 0 !
sysdeps/mach/hurd/i386/ucontext_i.sym | 29 29 + 0 - 0 !
6 files changed, 431 insertions(+)

 [patch] getcontext, makecontext, setcontext, swapcontext

hurd i386/tg sysvshm.diff | (download)

hurd/Makefile | 1 1 + 0 - 0 !
hurd/sysvshm.c | 97 97 + 0 - 0 !
hurd/sysvshm.h | 47 47 + 0 - 0 !
sysdeps/mach/hurd/bits/posix_opt.h | 4 2 + 2 - 0 !
sysdeps/mach/hurd/ftok.c | 43 43 + 0 - 0 !
sysdeps/mach/hurd/shmat.c | 82 82 + 0 - 0 !
sysdeps/mach/hurd/shmctl.c | 132 132 + 0 - 0 !
sysdeps/mach/hurd/shmdt.c | 51 51 + 0 - 0 !
sysdeps/mach/hurd/shmget.c | 242 242 + 0 - 0 !
9 files changed, 697 insertions(+), 2 deletions(-)

 [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 !
hurd/thread-cancel.c | 2 0 + 2 - 0 !
sysdeps/mach/hurd/jmp-unwind.c | 3 1 + 2 - 0 !
sysdeps/mach/hurd/spawni.c | 1 0 + 1 - 0 !
4 files changed, 1 insertion(+), 6 deletions(-)

 [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 !
1 file changed, 22 insertions(+), 6 deletions(-)

 [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 !
1 file changed, 6 insertions(+)

---
hurd i386/tg locarchive.diff | (download)

locale/programs/locarchive.c | 18 18 + 0 - 0 !
1 file changed, 18 insertions(+)

 [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 !
sysdeps/mach/hurd/sendmsg.c | 73 62 + 11 - 0 !
2 files changed, 157 insertions(+), 13 deletions(-)

 [patch] add support to send file descriptors over unix sockets


hurd i386/tg sendmsg SCM_CREDS.diff | (download)

hurd/Makefile | 2 1 + 1 - 0 !
sysdeps/mach/hurd/recvmsg.c | 137 137 + 0 - 0 !
sysdeps/mach/hurd/sendmsg.c | 36 36 + 0 - 0 !
3 files changed, 174 insertions(+), 1 deletion(-)

 [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 !
1 file changed, 3 insertions(+)

 [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 !
1 file changed, 4 insertions(+)

---
hurd i386/local madvise_warn.diff | (download)

misc/madvise.c | 2 1 + 1 - 0 !
posix/posix_madvise.c | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

---
hurd i386/tg hurdsig fixes.diff | (download)

hurd/hurdsig.c | 272 160 + 112 - 0 !
1 file changed, 160 insertions(+), 112 deletions(-)

 [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 !
hurd/ctty-output.c | 16 10 + 6 - 0 !
hurd/hurd/signal.h | 38 29 + 9 - 0 !
hurd/hurdexec.c | 9 5 + 4 - 0 !
hurd/hurdmsg.c | 24 4 + 20 - 0 !
hurd/hurdsig.c | 272 211 + 61 - 0 !
sysdeps/mach/hurd/fork.c | 24 20 + 4 - 0 !
sysdeps/mach/hurd/i386/sigreturn.c | 10 5 + 5 - 0 !
sysdeps/mach/hurd/i386/trampoline.c | 6 5 + 1 - 0 !
sysdeps/mach/hurd/sigaction.c | 16 8 + 8 - 0 !
sysdeps/mach/hurd/sigpending.c | 6 3 + 3 - 0 !
sysdeps/mach/hurd/sigprocmask.c | 8 4 + 4 - 0 !
sysdeps/mach/hurd/sigsuspend.c | 15 8 + 7 - 0 !
sysdeps/mach/hurd/sigwait.c | 21 13 + 8 - 0 !
sysdeps/mach/hurd/spawni.c | 23 13 + 10 - 0 !
15 files changed, 348 insertions(+), 156 deletions(-)

 [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/hurdsig.c | 56 51 + 5 - 0 !
sysdeps/mach/hurd/i386/libc.abilist | 10 10 + 0 - 0 !
3 files changed, 77 insertions(+), 5 deletions(-)

---
hurd i386/tg hurdsig SA_SIGINFO.diff | (download)

hurd/hurd/signal.h | 5 5 + 0 - 0 !
hurd/hurd/sigpreempt.h | 4 2 + 2 - 0 !
hurd/hurdfault.c | 2 1 + 1 - 0 !
hurd/hurdinit.c | 2 1 + 1 - 0 !
hurd/hurdsig.c | 2 1 + 1 - 0 !
sysdeps/mach/hurd/bits/sigaction.h | 86 86 + 0 - 0 !
sysdeps/mach/hurd/i386/bits/sigcontext.h | 4 4 + 0 - 0 !
sysdeps/mach/hurd/i386/exc2signal.c | 123 77 + 46 - 0 !
sysdeps/mach/hurd/i386/trampoline.c | 126 115 + 11 - 0 !
sysdeps/mach/hurd/kill.c | 2 1 + 1 - 0 !
sysdeps/mach/hurd/setitimer.c | 2 1 + 1 - 0 !
11 files changed, 294 insertions(+), 64 deletions(-)

 [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 !
sysdeps/mach/hurd/fork.c | 4 3 + 1 - 0 !
sysdeps/mach/hurd/spawni.c | 2 1 + 1 - 0 !
3 files changed, 5 insertions(+), 5 deletions(-)

 [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 !
1 file changed, 39 insertions(+)

 [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 !
htl/forward.c | 53 48 + 5 - 0 !
sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c | 14 13 + 1 - 0 !
sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c | 16 15 + 1 - 0 !
sysdeps/mach/hurd/i386/libc.abilist | 32 32 + 0 - 0 !
sysdeps/mach/hurd/i386/libpthread.abilist | 2 2 + 0 - 0 !
6 files changed, 134 insertions(+), 7 deletions(-)

---
hurd i386/local usr.diff | (download)

sysdeps/mach/hurd/i386/libc.abilist | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
hurd i386/tg hurdsig boot fix.diff | (download)

hurd/hurdsig.c | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

---