Fix elf/tst-dlmopen-twice not to exhaust static TLS
commit2eeeee7636cb52a09740598404808def17cf750e
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 18 Oct 2022 15:33:52 +0000 (18 16:33 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 28 Oct 2022 17:43:58 +0000 (28 18:43 +0100)
treebe285b2b6343ff94ef28ac3b9c31291ad6ee9d2d
parentf9deea6f81cd5266ffb3d27e2584d609fef9b8d2
Fix elf/tst-dlmopen-twice not to exhaust static TLS

By default glibc only allocates enough static TLS for 4 link namespaces
including the initial one. So only use 3 dlmopens in the test.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
elf/tst-dlmopen-twice.c