SHA256
3
0
forked from pool/glibc

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
This commit is contained in:
Andreas Schwab 2015-04-02 08:45:57 +00:00 committed by Git OBS Bridge
parent d6f647d047
commit f7ec599259
7 changed files with 86 additions and 0 deletions

62
aarch64-sigstksz.patch Normal file
View File

@ -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
+ <http://www.gnu.org/licenses/>. */
+
+#ifndef _SIGNAL_H
+# error "Never include this file directly. Use <signal.h> 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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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