diff options
author | Florian Weimer <fweimer@redhat.com> | 2016-06-13 13:08:39 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2016-06-13 16:36:46 +0200 |
commit | 2c41b52901331f5c761015af786a3976e225d779 (patch) | |
tree | 01a09edb1fb8aeb35cc5ad8525be286d08e181ca /posix/spawn.c | |
parent | f5c77f78ec03363d5e550c4996deb75ee3f2e32a (diff) | |
download | glibc-2c41b52901331f5c761015af786a3976e225d779.tar.gz glibc-2c41b52901331f5c761015af786a3976e225d779.tar.xz glibc-2c41b52901331f5c761015af786a3976e225d779.zip |
debug/tst-longjmp_chk2: Make signal handler more conservative [BZ #20248]
Currently, printf needs more stack space than what is available with SIGSTKSZ. This commit use the the write system call directly instead. Also use sig_atomic_t for the “pass” variable (for general correctness), and restore signal handlers to their defaults, to avoid masking crashes.
Diffstat (limited to 'posix/spawn.c')
0 files changed, 0 insertions, 0 deletions