olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

Blame SOURCES/glibc-rh1335629.patch

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