tunables: Disallow negative values for some tunables
commit228f30ab4724d4087d5f52018873fde22efea6e2
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 5 Feb 2021 08:39:24 +0000 (5 14:09 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 10 Feb 2021 13:38:33 +0000 (10 19:08 +0530)
tree3b903fb3f04326e26ec6c418303d6ee2f3a150fe
parenta1b8b06a55c1ee581d5ef860cec214b0c27a66f0
tunables: Disallow negative values for some tunables

The glibc.malloc.mmap_max tunable as well as al of the INT_32 tunables
don't have use for negative values, so pin the hardcoded limits in the
non-negative range of INT.  There's no real benefit in any of those
use cases for the extended range of unsigned, so I have avoided added
a new type to keep things simple.
elf/dl-tunables.list
elf/tst-rtld-list-tunables.exp