Re: [PATCH v3 6/6] stdlib: Add testcase fro BZ #26241

2021-01-20 Thread DJ Delorie
Adhemerval Zanella via Libc-alpha writes: > -tst-setcontext9 tst-bz20544 > +tst-setcontext9 tst-bz20544 tst-canon-bz26341 New test, ok. > +LDLIBS-tst-canon-bz26341 = $(shared-thread-library) Ok. > diff --git a/stdlib/tst-canon-bz26341.c b/stdlib/tst-canon-bz26

Re: [PATCH v3 6/6] stdlib: Add testcase fro BZ #26241

2021-01-20 Thread Adhemerval Zanella
On 20/01/2021 01:33, DJ Delorie wrote: > > Adhemerval Zanella via Libc-alpha writes: >> - tst-setcontext9 tst-bz20544 >> + tst-setcontext9 tst-bz20544 tst-canon-bz26341 > > New test, ok. > >> +LDLIBS-tst-canon-bz26341 = $(shared-thread-library) > > Ok. > >> diff

[PATCH v3 6/6] stdlib: Add testcase fro BZ #26241

2020-12-29 Thread Adhemerval Zanella
Old implementation of realpath allocates a PATH_MAX using alloca for each symlink in the path, leading to MAXSYMLINKS times PATH_MAX maximum stack usage. The test create a symlink with __eloop_threshold() loops and creates a thread with minimum stack size (obtained through support_small_stack_thre