]> git.ipfire.org Git - thirdparty/glibc.git/blame - elf/dl-tunables.list
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / elf / dl-tunables.list
CommitLineData
04277e02 1# Copyright (C) 2016-2019 Free Software Foundation, Inc.
67e58f39
SP
2# This file is part of the GNU C Library.
3
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.
8
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.
13
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/>.
17
18# Allowed attributes for tunables:
19#
20# type: Defaults to STRING
21# minval: Optional minimum acceptable value
22# maxval: Optional maximum acceptable value
23# env_alias: An alias environment variable
8b9e9c3c
SP
24# security_level: Specify security level of the tunable. Valid values are:
25#
26# SXID_ERASE: (default) Don't read for AT_SECURE binaries and
27# removed so that child processes can't read it.
28# SXID_IGNORE: Don't read for AT_SECURE binaries, but retained for
29# non-AT_SECURE subprocesses.
65eff7fb 30# NONE: Read all the time.
67e58f39
SP
31
32glibc {
33 malloc {
34 check {
35 type: INT_32
36 minval: 0
37 maxval: 3
38 env_alias: MALLOC_CHECK_
67e58f39
SP
39 }
40 top_pad {
41 type: SIZE_T
42 env_alias: MALLOC_TOP_PAD_
8b9e9c3c 43 security_level: SXID_IGNORE
67e58f39
SP
44 }
45 perturb {
46 type: INT_32
47 minval: 0
48 maxval: 0xff
49 env_alias: MALLOC_PERTURB_
8b9e9c3c 50 security_level: SXID_IGNORE
67e58f39
SP
51 }
52 mmap_threshold {
53 type: SIZE_T
54 env_alias: MALLOC_MMAP_THRESHOLD_
8b9e9c3c 55 security_level: SXID_IGNORE
67e58f39
SP
56 }
57 trim_threshold {
58 type: SIZE_T
59 env_alias: MALLOC_TRIM_THRESHOLD_
8b9e9c3c 60 security_level: SXID_IGNORE
67e58f39
SP
61 }
62 mmap_max {
63 type: INT_32
64 env_alias: MALLOC_MMAP_MAX_
8b9e9c3c 65 security_level: SXID_IGNORE
67e58f39
SP
66 }
67 arena_max {
68 type: SIZE_T
69 env_alias: MALLOC_ARENA_MAX
70 minval: 1
8b9e9c3c 71 security_level: SXID_IGNORE
67e58f39
SP
72 }
73 arena_test {
74 type: SIZE_T
75 env_alias: MALLOC_ARENA_TEST
76 minval: 1
8b9e9c3c 77 security_level: SXID_IGNORE
67e58f39 78 }
d5c3fafc
DD
79 tcache_max {
80 type: SIZE_T
d5c3fafc
DD
81 }
82 tcache_count {
83 type: SIZE_T
d5c3fafc
DD
84 }
85 tcache_unsorted_limit {
86 type: SIZE_T
d5c3fafc 87 }
67e58f39 88 }
dce452dc 89 cpu {
ea9b0ecb
SP
90 hwcap_mask {
91 type: UINT_64
92 env_alias: LD_HWCAP_MASK
93 default: HWCAP_IMPORTANT
aa6932aa 94 }
ea9b0ecb 95 }
07ed18d2
RA
96
97 elision {
98 enable {
99 type: INT_32
100 minval: 0
101 maxval: 1
07ed18d2
RA
102 }
103 skip_lock_busy {
104 type: INT_32
105 default: 3
07ed18d2
RA
106 }
107 skip_lock_internal_abort {
108 type: INT_32
109 default: 3
07ed18d2
RA
110 }
111 skip_lock_after_retries {
112 type: INT_32
113 default: 3
07ed18d2
RA
114 }
115 tries {
116 type: INT_32
117 default: 3
07ed18d2
RA
118 }
119 skip_trylock_internal_abort {
120 type: INT_32
121 default: 3
07ed18d2
RA
122 }
123 }
67e58f39 124}