[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[glibc] 01/01: patches/hurd-i386/cvs-libc_init_secure.diff: new patch



This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch glibc-2.25
in repository glibc.

commit 37511f6bc8c800fcf8e6644adff651181b46c010
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Wed Aug 2 21:45:20 2017 +0000

    patches/hurd-i386/cvs-libc_init_secure.diff: new patch
---
 debian/changelog                                   |  1 +
 debian/patches/hurd-i386/cvs-libc_init_secure.diff | 27 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 29 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fcae42d..a2169f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ glibc (2.25-0experimental1) UNRELEASED; urgency=medium
   * patches/hurd-i386/tg-tls.diff: update.
   * patches/hurd-i386/submitted-malloc-setstate.diff: update.
   * patches/hurd-i386/submitted-shm_open_pthread.diff: new patch.
+  * patches/hurd-i386/cvs-libc_init_secure.diff: new patch.
 
  -- Aurelien Jarno <aurel32@debian.org>  Wed, 02 Aug 2017 19:03:14 +0200
 
diff --git a/debian/patches/hurd-i386/cvs-libc_init_secure.diff b/debian/patches/hurd-i386/cvs-libc_init_secure.diff
new file mode 100644
index 0000000..1580d58
--- /dev/null
+++ b/debian/patches/hurd-i386/cvs-libc_init_secure.diff
@@ -0,0 +1,27 @@
+commit 8ee1abdb4b2c92fb5f189aabec34d1b7d54ac332
+Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
+Date:   Wed Aug 2 23:29:57 2017 +0200
+
+    [hurd]: Add __libc_init_secure stub
+
+    csu/libc-start.c now insists on calling __libc_init_secure, while the Hurd
+    port already implements it "very early" in dl-sysdep.c and init-first.c
+
+            * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
+            function.
+
+diff --git a/sysdeps/mach/hurd/enbl-secure.c b/sysdeps/mach/hurd/enbl-secure.c
+index 9aeb0fafa6..87a8f93013 100644
+--- a/sysdeps/mach/hurd/enbl-secure.c
++++ b/sysdeps/mach/hurd/enbl-secure.c
+@@ -21,3 +21,10 @@
+    In the shared library, the `__libc_enable_secure' variable is defined
+    by the dynamic linker in dl-sysdep.c and set there.
+    In the static library, it is defined in init-first.c and set there.  */
++
++#include <libc-internal.h>
++
++void
++__libc_init_secure (void)
++{
++}
diff --git a/debian/patches/series b/debian/patches/series
index 51e69c2..da0bb57 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -135,6 +135,7 @@ hurd-i386/tg-libc_rwlock_recursive.diff
 hurd-i386/tg-magic-pid.diff
 hurd-i386/tg-mlockall.diff
 hurd-i386/submitted-shm_open_pthread.diff
+hurd-i386/cvs-libc_init_secure.diff
 
 i386/local-biarch.diff
 i386/local-cmov.diff

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-glibc/glibc.git


Reply to: