Update copyright dates with scripts/update-copyrights.
[glibc.git] / elf / dl-tunables.list
blobcbd1f4fb4a7c29a2492cbd9b031cb9c32433656b
1 # Copyright (C) 2016-2017 Free Software Foundation, Inc.
2 # This file is part of the GNU C Library.
4 # The GNU C Library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
9 # The GNU C Library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 # Lesser General Public License for more details.
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with the GNU C Library; if not, see
16 # <http://www.gnu.org/licenses/>.
18 # Allowed attributes for tunables:
20 # type: Defaults to STRING
21 # minval: Optional minimum acceptable value
22 # maxval: Optional maximum acceptable value
23 # env_alias: An alias environment variable
24 # is_secure: Specify whether the environment variable should be read for
25 # setuid binaries.
27 glibc {
28   malloc {
29     check {
30       type: INT_32
31       minval: 0
32       maxval: 3
33       env_alias: MALLOC_CHECK_
34       is_secure: true
35     }
36     top_pad {
37       type: SIZE_T
38       env_alias: MALLOC_TOP_PAD_
39     }
40     perturb {
41       type: INT_32
42       minval: 0
43       maxval: 0xff
44       env_alias: MALLOC_PERTURB_
45     }
46     mmap_threshold {
47       type: SIZE_T
48       env_alias: MALLOC_MMAP_THRESHOLD_
49     }
50     trim_threshold {
51       type: SIZE_T
52       env_alias: MALLOC_TRIM_THRESHOLD_
53     }
54     mmap_max {
55       type: INT_32
56       env_alias: MALLOC_MMAP_MAX_
57     }
58     arena_max {
59       type: SIZE_T
60       env_alias: MALLOC_ARENA_MAX
61       minval: 1
62     }
63     arena_test {
64       type: SIZE_T
65       env_alias: MALLOC_ARENA_TEST
66       minval: 1
67     }
68   }