about summary refs log tree commit diff
path: root/elf/tst-dlmopen-twice.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-10-18 16:33:52 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-11-22 14:24:26 +0000
commitd4a845daaf05e22207243b69624def1ee59607ac (patch)
tree1bb9a87846f5ebc3e0c30417c652162fb77e9829 /elf/tst-dlmopen-twice.c
parent69ecb7b4a3287e814d315e0bab05705be4d9a010 (diff)
downloadglibc-d4a845daaf05e22207243b69624def1ee59607ac.tar.gz
glibc-d4a845daaf05e22207243b69624def1ee59607ac.tar.xz
glibc-d4a845daaf05e22207243b69624def1ee59607ac.zip
Fix elf/tst-dlmopen-twice to support enough link namespaces
The test dlmopens 10 namespaces recursively, which requires a glibc
tunable setting, otherwise it may run out of static TLS.
Diffstat (limited to 'elf/tst-dlmopen-twice.c')
-rw-r--r--elf/tst-dlmopen-twice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-dlmopen-twice.c b/elf/tst-dlmopen-twice.c
index 70c71fe19c..dfa58b1505 100644
--- a/elf/tst-dlmopen-twice.c
+++ b/elf/tst-dlmopen-twice.c
@@ -46,7 +46,7 @@ do_test (void)
   recurse (1);
 
   /* Then with nesting.  The constant needs to be less than the
-     internal DL_NNS namespace constant.  */
+     glibc.rtld.nns tunable (which is between 1 and DL_NNS).  */
   recurse (10);
   return 0;
 }