summaryrefslogtreecommitdiff
path: root/lib/libcrypt.map.in
blob: 59b4b6d70d6ca2029f4ad33ff46e2480f5b30f47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This file is processed by gen-map.awk to produce the versions map file
# for libxcrypt.
# symbol default_version compat_version [compat_version ...]

# Actively supported POSIX interfaces; in GNU libc since 2.0
crypt			XCRYPT_2.0	GLIBC_2.0
crypt_r			XCRYPT_2.0	GLIBC_2.0

# Actively supported Openwall extensions; never actually added to
# upstream GNU libc, but present in at least Openwall, ALT, and SUSE
# Linux distributions with one or more of these symbol versions
crypt_rn		XCRYPT_2.0	GLIBC_2.0:owl:suse	GLIBC_2.2.1:alt
crypt_gensalt		XCRYPT_2.0	GLIBC_2.0:owl:suse	GLIBC_2.2.1:alt     OW_CRYPT_1.0:suse
crypt_gensalt_rn	XCRYPT_2.0	GLIBC_2.0:owl:suse	GLIBC_2.2.1:alt     OW_CRYPT_1.0:suse

crypt_ra		XCRYPT_2.0	GLIBC_2.0:owl:suse	GLIBC_2.2.2:alt
crypt_gensalt_ra	XCRYPT_2.0	GLIBC_2.0:owl:suse	GLIBC_2.2.2:alt     OW_CRYPT_1.0:suse

# Actively supported interfaces from libxcrypt.
crypt_checksalt		XCRYPT_4.3
crypt_preferred_method	XCRYPT_4.4

# Interfaces for code compatibility with libxcrypt v3.1.1 and earlier.
# They need to be exported as default symbols, although we take care they
# are not linked by new compiled applications, so functions with similar
# semantics of AC_CHECK_FUNCS will detect them as available.
crypt_gensalt_r		XCRYPT_2.0
xcrypt			XCRYPT_2.0
xcrypt_r		XCRYPT_2.0
xcrypt_gensalt		XCRYPT_2.0
xcrypt_gensalt_r	XCRYPT_2.0

# Deprecated interfaces, POSIX and otherwise; also present in GNU libc
# since 2.0
encrypt			-		GLIBC_2.0
encrypt_r		-		GLIBC_2.0
setkey			-		GLIBC_2.0
setkey_r		-		GLIBC_2.0
fcrypt			-		GLIBC_2.0

# This determines the ordering of the version chain.  Each symbol
# version that appears above must also appear in this list, and to
# simplify gen-map.awk, so must all of the versions listed in
# libcrypt.minver.  The ordering is left to right, top to bottom.
%chain GLIBC_2.0 GLIBC_2.2 GLIBC_2.2.1 GLIBC_2.2.2 GLIBC_2.2.5 GLIBC_2.2.6 GLIBC_2.3
%chain GLIBC_2.4 GLIBC_2.12 GLIBC_2.16 GLIBC_2.17 GLIBC_2.18 GLIBC_2.21
%chain GLIBC_2.27
%chain OW_CRYPT_1.0 XCRYPT_2.0 XCRYPT_4.3 XCRYPT_4.4