mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (bug 16850)
This commit is contained in:
parent
c26efef979
commit
b763f6ae85
@ -1,3 +1,8 @@
|
||||
2015-04-02 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
[BZ #16850]
|
||||
* sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
|
||||
|
||||
2015-04-02 Mel Gorman <mgorman@suse.de>
|
||||
|
||||
[BZ #17195]
|
||||
|
12
NEWS
12
NEWS
@ -10,12 +10,12 @@ Version 2.22
|
||||
* The following bugs are resolved with this release:
|
||||
|
||||
4719, 13064, 14094, 14841, 14906, 15319, 15467, 15790, 15969, 16351,
|
||||
16512, 16560, 16783, 17090, 17195, 17269, 17523, 17542, 17569, 17588,
|
||||
17620, 17621, 17628, 17631, 17711, 17776, 17779, 17792, 17836, 17912,
|
||||
17916, 17932, 17944, 17949, 17964, 17965, 17967, 17969, 17978, 17987,
|
||||
17991, 17996, 17998, 17999, 18019, 18020, 18029, 18030, 18032, 18036,
|
||||
18038, 18039, 18042, 18043, 18046, 18047, 18068, 18080, 18093, 18100,
|
||||
18104, 18110, 18111, 18128, 18138, 18185.
|
||||
16512, 16560, 16783, 16850, 17090, 17195, 17269, 17523, 17542, 17569,
|
||||
17588, 17620, 17621, 17628, 17631, 17711, 17776, 17779, 17792, 17836,
|
||||
17912, 17916, 17932, 17944, 17949, 17964, 17965, 17967, 17969, 17978,
|
||||
17987, 17991, 17996, 17998, 17999, 18019, 18020, 18029, 18030, 18032,
|
||||
18036, 18038, 18039, 18042, 18043, 18046, 18047, 18068, 18080, 18093,
|
||||
18100, 18104, 18110, 18111, 18128, 18138, 18185.
|
||||
|
||||
* A powerpc and powerpc64 optimization for TLS, similar to TLS descriptors
|
||||
for LD and GD on x86 and x86-64, has been implemented. You will need
|
||||
|
54
sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
Normal file
54
sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user