From f7ec599259d0be96f487458bea71200c44186d2c70893ff9b360ffbfdba46bf8 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 2 Apr 2015 08:45:57 +0000 Subject: [PATCH] Accepting request 294121 from home:Andreas_Schwab:Factory - aarch64-sigstksz.patch: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850) OBS-URL: https://build.opensuse.org/request/show/294121 OBS-URL: https://build.opensuse.org/package/show/Base:System/glibc?expand=0&rev=399 --- aarch64-sigstksz.patch | 62 +++++++++++++++++++++++++++++++++++++++++ glibc-testsuite.changes | 5 ++++ glibc-testsuite.spec | 3 ++ glibc-utils.changes | 5 ++++ glibc-utils.spec | 3 ++ glibc.changes | 5 ++++ glibc.spec | 3 ++ 7 files changed, 86 insertions(+) create mode 100644 aarch64-sigstksz.patch diff --git a/aarch64-sigstksz.patch b/aarch64-sigstksz.patch new file mode 100644 index 0000000..a405f0c --- /dev/null +++ b/aarch64-sigstksz.patch @@ -0,0 +1,62 @@ + [BZ #16850] + * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file. + +Index: glibc-2.21/sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h +=================================================================== +--- /dev/null ++++ glibc-2.21/sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h +@@ -0,0 +1,54 @@ ++/* sigstack, sigaltstack definitions. ++ Copyright (C) 2015 Free Software Foundation, Inc. ++ This file is part of the GNU C Library. ++ ++ The GNU C Library is free software; you can redistribute it and/or ++ modify it under the terms of the GNU Lesser General Public ++ License as published by the Free Software Foundation; either ++ version 2.1 of the License, or (at your option) any later version. ++ ++ The GNU C Library is distributed in the hope that it will be useful, ++ but WITHOUT ANY WARRANTY; without even the implied warranty of ++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ++ Lesser General Public License for more details. ++ ++ You should have received a copy of the GNU Lesser General Public ++ License along with the GNU C Library; if not, see ++ . */ ++ ++#ifndef _SIGNAL_H ++# error "Never include this file directly. Use instead" ++#endif ++ ++ ++/* Structure describing a signal stack (obsolete). */ ++struct sigstack ++ { ++ void *ss_sp; /* Signal stack pointer. */ ++ int ss_onstack; /* Nonzero if executing on this stack. */ ++ }; ++ ++ ++/* Possible values for `ss_flags.'. */ ++enum ++{ ++ SS_ONSTACK = 1, ++#define SS_ONSTACK SS_ONSTACK ++ SS_DISABLE ++#define SS_DISABLE SS_DISABLE ++}; ++ ++/* Minimum stack size for a signal handler. */ ++#define MINSIGSTKSZ 5120 ++ ++/* System default stack size. */ ++#define SIGSTKSZ 16384 ++ ++ ++/* Alternate, preferred interface. */ ++typedef struct sigaltstack ++ { ++ void *ss_sp; ++ int ss_flags; ++ size_t ss_size; ++ } stack_t; diff --git a/glibc-testsuite.changes b/glibc-testsuite.changes index cde2af6..286bb78 100644 --- a/glibc-testsuite.changes +++ b/glibc-testsuite.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 2 08:11:20 UTC 2015 - schwab@suse.de + +- aarch64-sigstksz.patch: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850) + ------------------------------------------------------------------- Mon Mar 30 09:04:49 UTC 2015 - schwab@suse.de diff --git a/glibc-testsuite.spec b/glibc-testsuite.spec index 381bc6a..b6ba37f 100644 --- a/glibc-testsuite.spec +++ b/glibc-testsuite.spec @@ -261,6 +261,8 @@ Patch2006: ibm93x-redundant-shift-si.patch Patch2007: resolv-nameserver-handling.patch # PATCH-FIX-UPSTREAM Separate internal state between getXXent and getXXbyYY NSS calls (bsc#918187, BZ #18007) Patch2008: nss-separate-state-getXXent.patch +# PATCH-FIX-UPSTREAM aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850) +Patch2009: aarch64-sigstksz.patch # Non-glibc patches # PATCH-FIX-OPENSUSE Remove debianisms from manpages @@ -475,6 +477,7 @@ rm nscd/s-stamp %patch2006 -p1 %patch2007 -p1 %patch2008 -p1 +%patch2009 -p1 %patch3000 diff --git a/glibc-utils.changes b/glibc-utils.changes index cde2af6..286bb78 100644 --- a/glibc-utils.changes +++ b/glibc-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 2 08:11:20 UTC 2015 - schwab@suse.de + +- aarch64-sigstksz.patch: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850) + ------------------------------------------------------------------- Mon Mar 30 09:04:49 UTC 2015 - schwab@suse.de diff --git a/glibc-utils.spec b/glibc-utils.spec index 73335dc..4d14ed7 100644 --- a/glibc-utils.spec +++ b/glibc-utils.spec @@ -260,6 +260,8 @@ Patch2006: ibm93x-redundant-shift-si.patch Patch2007: resolv-nameserver-handling.patch # PATCH-FIX-UPSTREAM Separate internal state between getXXent and getXXbyYY NSS calls (bsc#918187, BZ #18007) Patch2008: nss-separate-state-getXXent.patch +# PATCH-FIX-UPSTREAM aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850) +Patch2009: aarch64-sigstksz.patch # Non-glibc patches # PATCH-FIX-OPENSUSE Remove debianisms from manpages @@ -475,6 +477,7 @@ rm nscd/s-stamp %patch2006 -p1 %patch2007 -p1 %patch2008 -p1 +%patch2009 -p1 %patch3000 diff --git a/glibc.changes b/glibc.changes index cde2af6..286bb78 100644 --- a/glibc.changes +++ b/glibc.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 2 08:11:20 UTC 2015 - schwab@suse.de + +- aarch64-sigstksz.patch: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850) + ------------------------------------------------------------------- Mon Mar 30 09:04:49 UTC 2015 - schwab@suse.de diff --git a/glibc.spec b/glibc.spec index 65c74e0..f7d1dbf 100644 --- a/glibc.spec +++ b/glibc.spec @@ -261,6 +261,8 @@ Patch2006: ibm93x-redundant-shift-si.patch Patch2007: resolv-nameserver-handling.patch # PATCH-FIX-UPSTREAM Separate internal state between getXXent and getXXbyYY NSS calls (bsc#918187, BZ #18007) Patch2008: nss-separate-state-getXXent.patch +# PATCH-FIX-UPSTREAM aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850) +Patch2009: aarch64-sigstksz.patch # Non-glibc patches # PATCH-FIX-OPENSUSE Remove debianisms from manpages @@ -475,6 +477,7 @@ rm nscd/s-stamp %patch2006 -p1 %patch2007 -p1 %patch2008 -p1 +%patch2009 -p1 %patch3000