diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-27 15:37:35 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-27 15:37:35 +0200 |
commit | 76b0c59e333da6fd4103e478b63522636d9d232b (patch) | |
tree | f20e7ff7398161347494a64e7382546908e09a8c /nptl/semaphoreP.h | |
parent | 4f26956d5ba394eb3ade6c1c20b5c16864a00766 (diff) | |
download | glibc-76b0c59e333da6fd4103e478b63522636d9d232b.tar.gz glibc-76b0c59e333da6fd4103e478b63522636d9d232b.tar.xz glibc-76b0c59e333da6fd4103e478b63522636d9d232b.zip |
nptl: Install SIGSETXID handler with SA_ONSTACK [BZ #27914]
The signal is sent to all threads, some of which may have switched to very small stacks. If they have also installed an alternate signal stack, SA_ONSTACK makes this work. The Go runtime needs this: runtime: C.setuid/C.setgid smashes Go stack <https://github.com/golang/go/issues/9400> Doing this for SIGCANCEL is less obviously beneficial and needs further testing. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/semaphoreP.h')
0 files changed, 0 insertions, 0 deletions