This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][AARCH64][BZ #16850]Increase MINSIGSTKSZ & SIGSTKSZ


On 14/11/14 10:20, Will Newton wrote:
On 14 November 2014 10:15, Renlin Li <renlin.li@arm.com> wrote:
Hi all,

This patch duplicates sysdeps/unix/sysv/linux/bits/sigstack.h into
sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h and modifies only SIGSTCKSZ
and MINSIGSTKSZ.

The ucontext_t is 4560 bytes, siginfo_t is 128 bytes. The required sigframe
is far larger than the current default MINSIGSTKSZ (which is 2048). Thus, I
increase MINSIGSTKSZ to 8192, and adjust SIGSTCKSZ accordingly.

Glibc has been build and test on the model, no new issues.

Okay to commit?

ChangeLog:

2014-11-14  Renlin Li  <Renlin.Li@arm.com>
     [BZ #16850]
     * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New.
I believe this should be synchronized with the value of this constant
in the kernel.

I got some information from this page. Alan Modra holds the option that those two values in glibc could differ from kernel.

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1267062

Any suggestion?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]