1libc {
2  GLIBC_2.0 {
3    # functions with special/multiple interfaces
4    __bsd_getpgrp; __getpgid; __setpgid;
5
6    # functions with required interface outside normal name space
7    _exit;
8
9    # functions used in other libraries
10    __sched_get_priority_max; __sched_get_priority_min;
11    __sched_getparam; __sched_getscheduler; __sched_setscheduler;
12    __sched_yield; __fork; __getpid; __wait;
13
14    # functions used by libstdc++ 2.7.2
15    __waitpid;
16
17    # global variables
18    __environ; _environ;
19
20    # variables in normal name space
21    environ; optarg; opterr; optind; optopt;
22    re_max_failures; re_syntax_options;
23
24    # a*
25    alarm;
26
27    # c*
28    confstr;
29
30    # e*
31    execl; execle; execlp; execv; execve; execvp; fexecve;
32
33    # f*
34    fnmatch; fork; fpathconf; freeaddrinfo;
35
36    # g*
37    getaddrinfo; getdtablesize; getegid; geteuid; getgid; getopt; getopt_long;
38    getopt_long_only; getpgid; getpgrp; getpid; getppid; getsid; getuid; glob;
39    glob_pattern_p; globfree; group_member;
40
41    # n*
42    nanosleep;
43
44    # p*
45    pathconf; pause; pselect;
46
47    # r*
48    re_comp; re_compile_fastmap; re_compile_pattern; re_exec; re_match;
49    re_match_2; re_search; re_search_2; re_set_registers; re_set_syntax;
50    regcomp; regerror; regexec; regfree;
51
52    # s*
53    sched_get_priority_max; sched_get_priority_min; sched_getparam;
54    sched_getscheduler; sched_rr_get_interval; sched_setparam;
55    sched_setscheduler; sched_yield; setegid; seteuid; setgid;
56    setpgid; setpgrp; setsid; setuid; sleep; sysconf;
57
58    # t*
59    times;
60
61    # u*
62    uname;
63
64    # v*
65    vfork;
66
67    # w*
68    wait; wait3; wait4; waitpid;
69  }
70  GLIBC_2.1 {
71    # functions used in other libraries
72    __pread64; __pwrite64;
73
74    # g*
75    gai_strerror; getnameinfo; glob64; globfree64;
76
77    # p*
78    pread; pread64; pwrite; pwrite64;
79
80    # w*
81    waitid; wordexp; wordfree;
82  }
83  GLIBC_2.1 {
84    # Compat symbols for the obsolete, unimplemented XSI streams extension.
85    fattach; fdetach; getmsg; getpmsg; isastream; putmsg; putpmsg;
86  }
87  GLIBC_2.1.2 {
88    # functions used in other libraries
89    __vfork;
90  }
91  GLIBC_2.2 {
92    # p*
93    posix_spawn_file_actions_init; posix_spawn_file_actions_destroy;
94    posix_spawn_file_actions_addclose; posix_spawn_file_actions_addopen;
95    posix_spawn_file_actions_adddup2;
96    posix_spawnattr_init; posix_spawnattr_destroy;
97    posix_spawnattr_getsigdefault; posix_spawnattr_setsigdefault;
98    posix_spawnattr_getflags; posix_spawnattr_setflags;
99    posix_spawnattr_getpgroup; posix_spawnattr_setpgroup;
100    posix_spawnattr_setsigmask; posix_spawnattr_getsigmask;
101    posix_spawn; posix_spawnp; posix_spawnattr_getschedpolicy;
102    posix_spawnattr_setschedpolicy; posix_spawnattr_getschedparam;
103    posix_spawnattr_setschedparam;
104
105    # Used in macros.
106    __sysconf;
107  }
108  GLIBC_2.2.3 {
109    # Extended Interface.
110    fnmatch;
111  }
112  GLIBC_2.2.6 {
113    # For syscall wrapper
114    __nanosleep;
115  }
116  GLIBC_2.3.2 {
117    # Note that these symbols appear in sysdeps/unix/sysv/linux/Versions
118    # under GLIBC_2.0; the first instance in the script is taken as the
119    # default, so linux configurations put them in GLIBC_2.0 while other
120    # configuration put them in GLIBC_2.3.2.
121    getresgid; getresuid; setresgid; setresuid;
122  }
123  GLIBC_2.3.3 {
124    sched_getaffinity; sched_setaffinity;
125  }
126  GLIBC_2.3.4 {
127    regexec;
128  }
129  GLIBC_2.6 {
130    __sched_cpucount;
131  }
132  GLIBC_2.7 {
133    __sched_cpualloc; __sched_cpufree;
134  }
135  GLIBC_2.10 {
136    __posix_getopt;
137  }
138  GLIBC_2.11 {
139    execvpe;
140  }
141  GLIBC_2.15 {
142    posix_spawn;
143    posix_spawnp;
144  }
145  GLIBC_2.27 {
146    glob; glob64;
147  }
148  GLIBC_2.29 {
149    posix_spawn_file_actions_addchdir_np;
150    posix_spawn_file_actions_addfchdir_np;
151  }
152  GLIBC_2.30 {
153  }
154  GLIBC_2.34 {
155    _Fork;
156    execveat;
157    posix_spawn_file_actions_addclosefrom_np;
158  }
159  GLIBC_2.35 {
160    posix_spawn_file_actions_addtcsetpgrp_np;
161  }
162  GLIBC_PRIVATE {
163    __libc_fork; __libc_pread; __libc_pwrite;
164    __nanosleep_nocancel; __pause_nocancel;
165    __shm_get_name;
166  }
167}
168