Blame SOURCES/glibc-rh1335629.patch

147e83
commit b763f6ae859ecea70a5dacb8ad45c71d5f667e2e
147e83
Author: Andreas Schwab <schwab@suse.de>
147e83
Date:   Tue Sep 30 12:41:11 2014 +0200
147e83
147e83
    aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (bug 16850)
147e83
147e83
diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h b/sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
147e83
new file mode 100644
147e83
index 0000000..8f2fb76
147e83
--- /dev/null
147e83
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
147e83
@@ -0,0 +1,54 @@
147e83
+/* sigstack, sigaltstack definitions.
147e83
+   Copyright (C) 2015 Free Software Foundation, Inc.
147e83
+   This file is part of the GNU C Library.
147e83
+
147e83
+   The GNU C Library is free software; you can redistribute it and/or
147e83
+   modify it under the terms of the GNU Lesser General Public
147e83
+   License as published by the Free Software Foundation; either
147e83
+   version 2.1 of the License, or (at your option) any later version.
147e83
+
147e83
+   The GNU C Library is distributed in the hope that it will be useful,
147e83
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
147e83
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
147e83
+   Lesser General Public License for more details.
147e83
+
147e83
+   You should have received a copy of the GNU Lesser General Public
147e83
+   License along with the GNU C Library; if not, see
147e83
+   <http://www.gnu.org/licenses/>.  */
147e83
+
147e83
+#ifndef _SIGNAL_H
147e83
+# error "Never include this file directly.  Use <signal.h> instead"
147e83
+#endif
147e83
+
147e83
+
147e83
+/* Structure describing a signal stack (obsolete).  */
147e83
+struct sigstack
147e83
+  {
147e83
+    void *ss_sp;		/* Signal stack pointer.  */
147e83
+    int ss_onstack;		/* Nonzero if executing on this stack.  */
147e83
+  };
147e83
+
147e83
+
147e83
+/* Possible values for `ss_flags.'.  */
147e83
+enum
147e83
+{
147e83
+  SS_ONSTACK = 1,
147e83
+#define SS_ONSTACK	SS_ONSTACK
147e83
+  SS_DISABLE
147e83
+#define SS_DISABLE	SS_DISABLE
147e83
+};
147e83
+
147e83
+/* Minimum stack size for a signal handler.  */
147e83
+#define MINSIGSTKSZ	5120
147e83
+
147e83
+/* System default stack size.  */
147e83
+#define SIGSTKSZ	16384
147e83
+
147e83
+
147e83
+/* Alternate, preferred interface.  */
147e83
+typedef struct sigaltstack
147e83
+  {
147e83
+    void *ss_sp;
147e83
+    int ss_flags;
147e83
+    size_t ss_size;
147e83
+  } stack_t;