Debian Codegraph @

lib/libcrypt.map.in

raw
1 # This file is processed by gen-libcrypt-map to produce the versions
2 # map file for libxcrypt.
3 # symbol default_version compat_version [compat_version ...]
4
5 # Actively supported POSIX interfaces; in GNU libc since 2.0
6 crypt XCRYPT_2.0 GLIBC_2.0
7 crypt_r XCRYPT_2.0 GLIBC_2.0
8
9 # Actively supported Openwall extensions; never actually added to
10 # upstream GNU libc, but present in at least Openwall, ALT, and SUSE
11 # Linux distributions with one or more of these symbol versions
12 crypt_rn XCRYPT_2.0 GLIBC_2.0:owl:suse GLIBC_2.2.1:alt
13 crypt_gensalt XCRYPT_2.0 GLIBC_2.0:owl:suse GLIBC_2.2.1:alt OW_CRYPT_1.0:suse
14 crypt_gensalt_rn XCRYPT_2.0 GLIBC_2.0:owl:suse GLIBC_2.2.1:alt OW_CRYPT_1.0:suse
15
16 crypt_ra XCRYPT_2.0 GLIBC_2.0:owl:suse GLIBC_2.2.2:alt
17 crypt_gensalt_ra XCRYPT_2.0 GLIBC_2.0:owl:suse GLIBC_2.2.2:alt OW_CRYPT_1.0:suse
18
19 # Actively supported interfaces from libxcrypt.
20 crypt_checksalt XCRYPT_4.3
21 crypt_preferred_method XCRYPT_4.4
22
23 # Interfaces for code compatibility with libxcrypt v3.1.1 and earlier.
24 # No longer available to new binaries. Include in version-script, only
25 # if one of the compatibility interfaces is enabled.
26 crypt_gensalt_r - XCRYPT_2.0:alt:glibc:owl:suse:yes
27 xcrypt - XCRYPT_2.0:alt:glibc:owl:suse:yes
28 xcrypt_r - XCRYPT_2.0:alt:glibc:owl:suse:yes
29 xcrypt_gensalt - XCRYPT_2.0:alt:glibc:owl:suse:yes
30 xcrypt_gensalt_r - XCRYPT_2.0:alt:glibc:owl:suse:yes
31
32 # Deprecated interfaces, POSIX and otherwise; also present in GNU libc
33 # since 2.0
34 encrypt - GLIBC_2.0
35 encrypt_r - GLIBC_2.0
36 setkey - GLIBC_2.0
37 setkey_r - GLIBC_2.0
38 fcrypt - GLIBC_2.0
39
40 # This determines the ordering of the version chain. Each symbol
41 # version that appears above must also appear in this list, and to
42 # simplify gen-libcrypt-map, so must all of the versions listed in
43 # libcrypt.minver. The ordering is left to right, top to bottom.
44 %chain GLIBC_2.0 GLIBC_2.2 GLIBC_2.2.1 GLIBC_2.2.2 GLIBC_2.2.5 GLIBC_2.2.6
45 %chain GLIBC_2.3 GLIBC_2.4 GLIBC_2.12 GLIBC_2.16 GLIBC_2.17 GLIBC_2.18
46 %chain GLIBC_2.21 GLIBC_2.27 GLIBC_2.29 GLIBC_2.32 GLIBC_2.33 GLIBC_2.35
47 %chain GLIBC_2.36 GLIBC_2.38
48 %chain OW_CRYPT_1.0 XCRYPT_2.0 XCRYPT_4.3 XCRYPT_4.4