Further harden glibc malloc metadata against 1-byte overflows.
[glibc.git] / abi-tags
blob150d29b9918af4eb2b1dab1b8cef1e9499df34a9
1 # This file defines the ABI tag value we will use in the ELF note included
2 # in the startup code to be linked into every program.
4 # The following lines list regexps matching canonical configurations, and
5 # the associated ABI tag values.  The entire list is processed, with
6 # earlier entries taking precedence over later entries.  So loose patterns
7 # at the end of the list can give defaults.
9 # The ABI tags we use are four 32-bit integers.  The first of these
10 # is the operating-system number, the next three are the revision number
11 # of the first compatible kernel.
13 # After the configuration regexp, four integers in C syntax appear
14 # surrounded by any whitespace or punctuation, one for each byte, MSB first.
16 # Configuration         ABI OS  ABI version
17 # -------------         ------  -----------
19 .*-.*-linux.*           0       2.0.0   # earliest compatible kernel version
21 .*-.*-gnu-gnu.*         1       0.0.0
23 .*-sun-solaris2.*       2       2.0.0   # just an arbitrary value
25 .*-.*-freebsd.*-gnu.*   3       4.0.0   # earliest compatible kernel version
27 .*-.*-knetbsd.*-gnu.*   4       1.6.0   # earliest compatible kernel version
29 .*-.*-syllable.*        5       2.0.0   # just an arbitrary value
31 .*-.*-nacl.*            6       42.0.0  # earliest compatible Chromium version
33 # There is no catch-all default here because every supported OS that uses
34 # ELF must have its own unique ABI tag.