about summary refs log tree commit diff
path: root/posix/spawn.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2016-06-13 13:08:39 +0200
committerFlorian Weimer <fweimer@redhat.com>2016-06-13 16:36:46 +0200
commit2c41b52901331f5c761015af786a3976e225d779 (patch)
tree01a09edb1fb8aeb35cc5ad8525be286d08e181ca /posix/spawn.c
parentf5c77f78ec03363d5e550c4996deb75ee3f2e32a (diff)
downloadglibc-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