Skip to content
Commits on Source (2)
......@@ -118,6 +118,9 @@ glibc (2.27-6) UNRELEASED; urgency=medium
* patches/hurd-i386/tg-pthread_deps.diff: Rename to git-pthread_deps.diff.
* patches/hurd-i386/tg-hurdsig-SA_SIGINFO.diff: Fix standardization of
exposition of sigaction
* patches/kfreebsd/local-tst-unique.diff: Fix patch application.
* patches/hurd-i386/unsubmitted-getaux_at_secure.diff: Fix
getauxval(AT_SECURE).
 
-- Samuel Thibault <sthibault@debian.org> Fri, 20 Jul 2018 01:26:25 +0200
 
......
FIXME: sysdeps/mach/hurd/i386/init-first.c should instead pass an auxv
to __libc_start_main
Index: glibc-2.28/misc/getauxval.c
===================================================================
--- glibc-2.28.orig/misc/getauxval.c
+++ glibc-2.28/misc/getauxval.c
@@ -18,6 +18,7 @@
#include <sys/auxv.h>
#include <errno.h>
#include <ldsodefs.h>
+#include <unistd.h>
unsigned long int
@@ -27,6 +28,11 @@ __getauxval (unsigned long int type)
ElfW(auxv_t) *p;
#endif
+#ifdef AT_SECURE
+ if (type == AT_SECURE)
+ return __libc_enable_secure;
+#endif
+
#ifdef AT_HWCAP
if (type == AT_HWCAP)
return GLRO(dl_hwcap);
......@@ -5,12 +5,12 @@ tst-unique is not supported by the FreeBSD ELF OSABI
@@ -145,7 +145,7 @@ tests += loadtest restest1 preloadtest loadfail multiload origtest resolvfail \
unload3 unload4 unload5 unload6 unload7 unload8 tst-global1 order2 \
tst-audit1 tst-audit2 tst-audit8 tst-audit9 \
tst-stackguard1 tst-addr1 tst-thrlock \
tst-addr1 tst-thrlock \
- tst-unique1 tst-unique2 $(if $(CXX),tst-unique3 tst-unique4 \
+ $(if $(CXX),tst-unique3 tst-unique4 \
tst-nodelete) \
tst-initorder tst-initorder2 tst-relsort1 tst-null-argv \
tst-ptrguard1 tst-tlsalign tst-tlsalign-extern tst-nodelete-opened \
tst-tlsalign tst-tlsalign-extern tst-nodelete-opened \
@@ -207,8 +207,6 @@ modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
unload7mod1 unload7mod2 \
unload8mod1 unload8mod1x unload8mod2 unload8mod3 \
......
......@@ -8,3 +8,4 @@ hurd-i386/local-no-bootstrap-fs-access.diff
hurd-i386/local-versions-hack.diff
hurd-i386/unsubmitted-prof-eintr.diff
hurd-i386/tg-glibc-2.24-restore-malloc-hook.diff
hurd-i386/unsubmitted-getaux_at_secure.diff