diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-08-04 10:24:47 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-08-04 17:20:48 +0200 |
commit | 6c93af6b458031ebba5484bdc0029ad92720d51d (patch) | |
tree | 320c2c5493a373d81a6bd0525c3a23bd874db771 /elf | |
parent | 3698f5a9dd4b98b3d88f61fceae8b6bb39c7db2b (diff) | |
download | glibc-6c93af6b458031ebba5484bdc0029ad92720d51d.tar glibc-6c93af6b458031ebba5484bdc0029ad92720d51d.tar.gz glibc-6c93af6b458031ebba5484bdc0029ad92720d51d.tar.bz2 glibc-6c93af6b458031ebba5484bdc0029ad92720d51d.zip |
malloc: Correct the documentation of the top_pad default
DEFAULT_TOP_PAD is defined as 131072 in
sysdeps/generic/malloc-machine.h.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-tunables.list | 1 | ||||
-rw-r--r-- | elf/tst-rtld-list-tunables.exp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/elf/dl-tunables.list b/elf/dl-tunables.list index e6a56b3070..e925590c36 100644 --- a/elf/dl-tunables.list +++ b/elf/dl-tunables.list @@ -42,6 +42,7 @@ glibc { type: SIZE_T env_alias: MALLOC_TOP_PAD_ security_level: SXID_IGNORE + default: 131072 } perturb { type: INT_32 diff --git a/elf/tst-rtld-list-tunables.exp b/elf/tst-rtld-list-tunables.exp index cdfdb56a94..2233ea9c7c 100644 --- a/elf/tst-rtld-list-tunables.exp +++ b/elf/tst-rtld-list-tunables.exp @@ -9,7 +9,7 @@ glibc.malloc.perturb: 0 (min: 0, max: 255) glibc.malloc.tcache_count: 0x0 (min: 0x0, max: 0x[f]+) glibc.malloc.tcache_max: 0x0 (min: 0x0, max: 0x[f]+) glibc.malloc.tcache_unsorted_limit: 0x0 (min: 0x0, max: 0x[f]+) -glibc.malloc.top_pad: 0x0 (min: 0x0, max: 0x[f]+) +glibc.malloc.top_pad: 0x20000 (min: 0x0, max: 0x[f]+) glibc.malloc.trim_threshold: 0x0 (min: 0x0, max: 0x[f]+) glibc.rtld.dynamic_sort: 2 (min: 1, max: 2) glibc.rtld.nns: 0x4 (min: 0x1, max: 0x10) |