aarch64: Move and update the definition of MTE_ENABLED
[glibc.git] / elf / dl-tunables.list
blob3cf0ad83eca89200fd4eefe49b5b32ae1d3b6b1d
1 # Copyright (C) 2016-2021 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 # <https://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 # security_level: Specify security level of the tunable for AT_SECURE binaries.
25 #                 Valid values are:
27 #            SXID_ERASE: (default) Do not read and do not pass on to
28 #            child processes.
29 #            SXID_IGNORE: Do not read, but retain for non-AT_SECURE
30 #            subprocesses.
31 #            NONE: Read all the time.
33 glibc {
34   malloc {
35     check {
36       type: INT_32
37       minval: 0
38       maxval: 3
39       env_alias: MALLOC_CHECK_
40     }
41     top_pad {
42       type: SIZE_T
43       env_alias: MALLOC_TOP_PAD_
44       security_level: SXID_IGNORE
45     }
46     perturb {
47       type: INT_32
48       minval: 0
49       maxval: 0xff
50       env_alias: MALLOC_PERTURB_
51       security_level: SXID_IGNORE
52     }
53     mmap_threshold {
54       type: SIZE_T
55       env_alias: MALLOC_MMAP_THRESHOLD_
56       security_level: SXID_IGNORE
57     }
58     trim_threshold {
59       type: SIZE_T
60       env_alias: MALLOC_TRIM_THRESHOLD_
61       security_level: SXID_IGNORE
62     }
63     mmap_max {
64       type: INT_32
65       env_alias: MALLOC_MMAP_MAX_
66       security_level: SXID_IGNORE
67     }
68     arena_max {
69       type: SIZE_T
70       env_alias: MALLOC_ARENA_MAX
71       minval: 1
72       security_level: SXID_IGNORE
73     }
74     arena_test {
75       type: SIZE_T
76       env_alias: MALLOC_ARENA_TEST
77       minval: 1
78       security_level: SXID_IGNORE
79     }
80     tcache_max {
81       type: SIZE_T
82     }
83     tcache_count {
84       type: SIZE_T
85     }
86     tcache_unsorted_limit {
87       type: SIZE_T
88     }
89     mxfast {
90       type: SIZE_T
91       minval: 0
92       security_level: SXID_IGNORE
93     }
94   }
95   cpu {
96     hwcap_mask {
97       type: UINT_64
98       env_alias: LD_HWCAP_MASK
99       default: HWCAP_IMPORTANT
100     }
101   }
103   elision {
104     enable {
105       type: INT_32
106       minval: 0
107       maxval: 1
108     }
109     skip_lock_busy {
110       type: INT_32
111       default: 3
112     }
113     skip_lock_internal_abort {
114       type: INT_32
115       default: 3
116     }
117     skip_lock_after_retries {
118       type: INT_32
119       default: 3
120     }
121     tries {
122       type: INT_32
123       default: 3
124     }
125     skip_trylock_internal_abort {
126       type: INT_32
127       default: 3
128     }
129   }
131   rtld {
132     nns {
133       type: SIZE_T
134       minval: 1
135       maxval: 16
136       default: 4
137     }
138     optional_static_tls {
139       type: SIZE_T
140       minval: 0
141       default: 512
142     }
143   }
145   mem {
146     tagging {
147       type: INT_32
148       minval: 0
149       maxval: 255
150       security_level: SXID_IGNORE
151     }
152   }