]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Add tst-minstack-cancel, tst-minstack-exit [BZ #22636]
authorFlorian Weimer <fweimer@redhat.com>
Thu, 11 Jan 2018 12:13:14 +0000 (13:13 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 15 Jan 2018 15:06:35 +0000 (16:06 +0100)
commit3feefa1cc80140693581b0ae825dabd145b3cd9a
tree1749f13ffa3411b363301578c78f7c266a44217a
parent89d6a6583367a90ab562207a2180c44a77c658a1
nptl: Add tst-minstack-cancel, tst-minstack-exit [BZ #22636]

I verified that without the guard accounting change in commit
630f4cc3aa019ede55976ea561f1a7af2f068639 (Fix stack guard size
accounting) and RTLD_NOW for libgcc_s introduced by commit
f993b8754080ac7572b692870e926d8b493db16c (nptl: Open libgcc.so with
RTLD_NOW during pthread_cancel), the tst-minstack-cancel test fails on
an AVX-512F machine.  tst-minstack-exit still passes, and either of
the mentioned commit by itself frees sufficient stack space to make
tst-minstack-cancel pass, too.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit d8b778907e5270fdeb70459842ffbc20bd2ca5e1)
ChangeLog
nptl/Makefile
nptl/tst-minstack-cancel.c [new file with mode: 0644]
nptl/tst-minstack-exit.c [new file with mode: 0644]