]> 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>
Thu, 11 Jan 2018 12:13:14 +0000 (13:13 +0100)
commitd8b778907e5270fdeb70459842ffbc20bd2ca5e1
tree142a63159940cf2b741f6b730f99f8392796930a
parentb303185df9b4f3d097956fe566a32aed4f85b127
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>
ChangeLog
nptl/Makefile
nptl/tst-minstack-cancel.c [new file with mode: 0644]
nptl/tst-minstack-exit.c [new file with mode: 0644]