aboutsummaryrefslogtreecommitdiff
path: root/libc.map
blob: 587c71e59a4141c103a561519a8a643f07d1eec4 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
GLIBC_2.0 {
  global:
    # global variables
    _errno; _itoa_lower_digits; _itoa_upper_digits;
    __ctype_b; __ctype_tolower; __ctype_toupper;
    _IO_stderr_; _IO_stdin_; _IO_stdout_;
    _nl_msg_cat_cntr; __environ; _environ; _res;
    ___brk_addr; __curbrk; _nl_current_LC_CTYPE; _libc_intl_domainname;
    _sys_errlist; _sys_siglist; __progname; _nl_default_dirname;
    __timezone; __daylight; __tzname;
    _nl_current_LC_COLLATE; __collate_element_hash;
    __collate_element_strings; __collate_symbol_classes;
    __collate_symbol_hash; __collate_symbol_strings;
    _obstack;

    # helper functions
    __errno_location; __libc_init_first; __h_errno_location;

    # functions with special/multiple interfaces
    __sigsetjmp; _setjmp; __sigaddset; __sigdelset; __sigismember;
    __sysv_signal; __bsd_getpgrp; _longjmp;

    # functions which have an additional interface since they are
    # are cancelable.
    __libc_wait; __libc_waitpid; __libc_pause; __libc_nanosleep;
    __libc_open; __libc_close; __libc_read; __libc_write;
    __libc_lseek; __libc_fcntl; __libc_tcdrain; __libc_fsync;
    __libc_msync; __libc_system;

    # interface of malloc functions
    __libc_calloc; __libc_free; __libc_mallinfo; __libc_malloc;
    __libc_mallopt; __libc_memalign; __libc_pvalloc; __libc_realloc;
    __libc_valloc;
    __malloc_initialize_hook; __free_hook; __malloc_hook; __realloc_hook;
    __memalign_hook; __after_morecore_hook;
    __malloc_initialized; __default_morecore; __morecore;

    # functions with required interface outside normal name space
    _exit; __ivaliduser; __open_catalog;
    __argz_count; __argz_stringify; __argz_next;
    __check_rhosts_file; __rcmd_errstr;

    # functions from the experimental locale implementation
    __*_l; __newlocale; __duplocale; __freelocale;

    # functions used in inline functions or macros
    __strto*_internal; __wcsto*_internal; __getdelim;
    __isnan; __isnanf; __isnanl; __finite; __finitef; __finitel;
    __isinf; __isinff; __isinfl;
    __signbit; __signbitf; __signbitl; __cmsg_nxthdr;
    _obstack_allocated_p; _obstack_begin; _obstack_begin_1;
    _obstack_free; _obstack_memory_used; _obstack_newchunk;
    __assert_fail; __assert_perror_fail;
    _IO_getc; _IO_peekc_unlocked; _IO_putc; _IO_feof; _IO_ferror;
    __xstat; __fxstat; __lxstat; __xmknod; __dcgettext;
    __uflow; __underflow; __overflow; __iswctype; __sigpause;
    __ctype_get_mb_cur_max;

    # functions used in other libraries
    __printf_fp; __stpncpy;
    _nss_files_parse_grent; _nss_files_parse_pwent; _nss_files_parse_spent;
    __nss_database_lookup; __internal_endnetgrent; __internal_getnetgrent_r;
    __internal_setnetgrent; __gmtime_r; __secure_getenv;
    __select; __sched_get_priority_max; __sched_get_priority_min;
    __sched_getparam; __sched_getscheduler; __sched_setscheduler;
    __sched_yield; __on_exit; __gettimeofday; __fork; __clone;
    __nss_configure_lookup; _dl_open; _dl_close; _IO_file_setbuf;
    _IO_file_init; _IO_file_attach; _IO_do_write; _IO_seekoff;
    _IO_link_in; _IO_file_open; _IO_file_doallocate; _IO_file_fopen;
    _IO_file_overflow; _IO_file_underflow; _IO_file_sync; _IO_file_seekoff;
    _IO_file_close_it; _IO_file_read; _IO_file_seek; _IO_file_write;
    _IO_file_stat; _IO_file_close; _IO_file_xsputn; _IO_sgetn;
    _IO_seekpos; _IO_padn; _IO_getline; _IO_vfprintf;
    _IO_proc_open; _IO_proc_close; _IO_vfscanf; _IO_free_backup_area;
    _IO_un_link; _IO_switch_to_get_mode; _IO_default_uflow;
    _IO_default_xsputn; _IO_default_xsgetn; _IO_default_pbackfail;
    _IO_setb; _IO_default_doallocate; _IO_doallocbuf; _IO_init;
    _IO_default_finish; _IO_sputbackc; _IO_sungetc; _IO_adjust_column;
    _IO_flush_all; _IO_flush_all_linebuffered; _IO_init_marker;
    _IO_remove_marker; _IO_marker_difference; _IO_marker_delta;
    _IO_seekmark; _IO_unsave_markers; _IO_str_overflow;
    _IO_str_underflow; _IO_str_init_static; _IO_str_init_readonly;
    _IO_str_seekoff; _IO_str_pbackfail; _IO_list_all; _IO_file_jumps;
    _IO_peekc_locked;
    _rpc_dtablesize; _null_auth; _seterr_reply;
    __res_randomid;

    # variables in normal name space
    argp_err_exit_status; argp_program_bug_address; argp_program_version;
    argp_program_version_hook;
    daylight;
    environ;
    errno; error_message_count; error_one_per_line; error_print_progname;
    getdate_err;
    h_errlist; h_errno; h_nerr;
    in6addr_any; in6addr_loopback;
    loc1; loc2; locs;
    mallwatch;
    obstack_alloc_failed_handler; obstack_exit_failure;
    optarg; opterr; optind; optopt;
    program_invocation_name; program_invocation_short_name;
    re_max_failures;  re_syntax_options; rexecoptions; rpc_createerr;
    stderr; stdin; stdout; svc_fdset; svcauthdes_stats;
    sys_errlist; sys_nerr; sys_sigabbrev; sys_siglist;
    timezone; tzname;

    # functions in normal name space
    # Please keep them sorted by name!

    # a*
    a64l; abort; abs; accept; access; acct; addmntent; addseverity;
    adjtime; adjtimex; advance; alarm; alphasort;

    argp_error; argp_failure; argp_fmtstream_free; argp_fmtstream_point;
    argp_fmtstream_printf; argp_fmtstream_putc; argp_fmtstream_puts;
    argp_fmtstream_set_lmargin; argp_fmtstream_set_rmargin;
    argp_fmtstream_set_wmargin; argp_fmtstream_write; argp_help;
    argp_make_fmtstream; argp_parse; argp_state_help; argp_usage;

    argz_add; argz_add_sep; argz_append; argz_count; argz_create;
    argz_create_sep; argz_delete; argz_extract; argz_insert; argz_next;
    argz_replace; argz_stringify;

    asctime; asctime_r; asprintf; atexit; atof; atoi; atol; atoll;
    authdes_create; authdes_getucred; authdes_pk_create; authnone_create;
    authunix_create; authunix_create_default;

    # b*
    basename; bcmp; bcopy; bdflush; bind; bindresvport;
    bindtextdomain; brk; bsd_signal; bsearch; btowc; bzero;

    # c*
    cachectl; cacheflush; calloc; callrpc; canonicalize_file_name;
    catclose; catgets; catopen;
    cbc_crypt; cfgetispeed; cfgetospeed; cfmakeraw; cfree;
    cfsetispeed; cfsetospeed; cfsetspeed; chdir; chflags; chmod; chown;
    chroot; clearenv; clearerr; clearerr_unlocked;

    clnt_broadcast; clnt_create; clnt_pcreateerror; clnt_perrno;
    clnt_perror; clnt_spcreateerror; clnt_sperrno; clnt_sperror;
    clntraw_create; clnttcp_create; clntudp_bufcreate; clntudp_create;

    clock; clone; close; closedir; closelog; confstr; connect; copysign;
    copysignf; copysignl; creat; create_module; ctermid; ctime; ctime_r;
    cuserid;

    # d*
    daemon; dcgettext; delete_module; des_setparity; dgettext;
    difftime; dirfd; dirname; div; dprintf; drand48; drand48_r; dup; dup2;
    dysize;

    # e*
    ecb_crypt; ecvt; ecvt_r; endaliasent; endfsent; endgrent; endhostent;
    endmntent; endnetent; endnetgrent; endprotoent; endpwent; endrpcent;
    endservent; endspent; endttyent; endusershell; endutent; endutxent;
    envz_add; envz_entry; envz_get; envz_merge; envz_remove;
    envz_strip; erand48; erand48_r; err; error; error_at_line; errx;

    ether_aton; ether_aton_r; ether_hostton; ether_line; ether_ntoa;
    ether_ntoa_r; ether_ntohost;

    euidaccess; execl; execle; execlp; execv; execve; execvp; exit;

    # f*
    fchdir; fchflags; fchmod; fchown; fclose; fcloseall; fcntl; fcvt;
    fcvt_r; fdatasync; fdopen; feof; feof_unlocked; ferror;
    ferror_unlocked; fexecve; fflush; fflush_unlocked; ffs; fgetc;
    fgetgrent; fgetgrent_r; fgetpos; fgetpwent; fgetpwent_r; fgets;
    fgetspent; fgetspent_r; fileno; fileno_unlocked; finite; finitef;
    finitel; flock; flockfile; fmtmsg; fnmatch; fopen; fopencookie; fork;
    fpathconf; fprintf; fputc; fputc_unlocked; fputs; fread; free;
    freeaddrinfo; freopen; frexp; frexpf; frexpl; fscanf; fseek; fsetpos;
    fstatfs; fsync; ftell; ftime; ftok; ftruncate; ftrylockfile;
    fts_children; fts_close; fts_open; fts_read; fts_set; ftw;
    funlockfile; fwrite;

    # g*
    gai_strerror; gcvt; get_avphys_pages; get_current_dir_name;
    get_kernel_syms; get_myaddress; get_nprocs; get_nprocs_conf;
    get_phys_pages; getaddrinfo; getaliasbyname; getaliasbyname_r;
    getaliasent; getaliasent_r; getc; getc_unlocked; getchar;
    getchar_unlocked; getcwd; getdate; getdate_r; getdelim; getdirentries;
    getdomainname; getdtablesize; getegid; getenv; geteuid; getfsent;
    getfsfile; getfsspec; getgid; getgrent; getgrent_r; getgrgid;
    getgrgid_r; getgrnam; getgrnam_r; getgroups; gethostbyaddr;
    gethostbyaddr_r; gethostbyname; gethostbyname2; gethostbyname2_r;
    gethostbyname_r; gethostent; gethostent_r; gethostid; gethostname;
    getitimer; getline; getlogin; getlogin_r; getmntent; getmntent_r;
    getnameinfo; getnetbyaddr; getnetbyaddr_r; getnetbyname;
    getnetbyname_r; getnetent; getnetent_r; getnetgrent; getnetgrent_r;
    getnetname; getopt; getopt_long; getopt_long_only; getpagesize;
    getpass; getpeername; getpgid; getpgrp; getpid; getppid; getpriority;
    getprotobyname; getprotobyname_r; getprotobynumber;
    getprotobynumber_r; getprotoent; getprotoent_r; getpublickey; getpw;
    getpwent; getpwent_r; getpwnam; getpwnam_r; getpwuid; getpwuid_r;
    getrlimit; getrpcbyname; getrpcbyname_r; getrpcbynumber;
    getrpcbynumber_r; getrpcent; getrpcent_r; getrpcport; getrusage; gets;
    getsecretkey; getservbyname; getservbyname_r; getservbyport;
    getservbyport_r; getservent; getservent_r; getsid; getsockname;
    getsockopt; getspent; getspent_r; getspnam; getspnam_r; getsubopt;
    gettext; gettimeofday; getttyent; getttynam; getuid; getusershell;
    getutent; getutent_r; getutid; getutid_r; getutline; getutline_r;
    getutxent; getw; getwd; glob; glob_pattern_p; globfree; gmtime;
    gmtime_r; group_member; gsignal; gtty;

    # h*
    hasmntopt; hcreate; hcreate_r; hdestroy; hdestroy_r; herror;
    host2netname; hsearch; hsearch_r; hstrerror; htonl; htons;

    # i*
    if_freenameindex; if_indextoname; if_nameindex; if_nametoindex; index;
    inet6_isipv4mapped; inet_addr; inet_aton; inet_lnaof; inet_makeaddr;
    inet_netof; inet_network; inet_nsap_addr; inet_nsap_ntoa; inet_ntoa;
    inet_ntop; inet_pton; init_module; initgroups; initstate; initstate_r;
    innetgr; insque; ioctl; ioperm; iopl; iruserok;

    isalnum; isalpha; isascii; isatty; isblank; iscntrl; isdigit;
    isfdtype; isgraph; isinf; isinff; isinfl; islower; isnan; isnanf;
    isnanl; isprint; ispunct; isspace; isupper; iswalnum; iswalpha;
    iswblank; iswcntrl; iswctype; iswdigit; iswgraph; iswlower; iswprint;
    iswpunct; iswspace; iswupper; iswxdigit; isxdigit;

    # j*
    jrand48; jrand48_r;

    # k*
    key_decryptsession; key_decryptsession_pk; key_encryptsession;
    key_encryptsession_pk; key_gendes; key_get_conv; key_secretkey_is_set;
    key_setnet; key_setsecret;

    kill; killpg; klogctl;

    # l*
    l64a; labs; lchown; lckpwdf; lcong48; lcong48_r; ldexp; ldexpf;
    ldexpl; ldiv; lfind; link; listen; llabs; lldiv; llseek; localeconv;
    localtime; localtime_r; lockf; longjmp; lrand48; lrand48_r; lsearch;
    lseek;

    # m*
    madvise;

    mallinfo; malloc; malloc_get_state; malloc_set_state;
    malloc_stats; malloc_trim; malloc_usable_size; mallopt;

    mblen; mbrlen; mbrtowc; mbsinit; mbsnrtowcs; mbsrtowcs; mbstowcs;
    mbtowc; mcheck; mcount;

    memalign; memccpy; memchr; memcmp; memcpy; memfrob; memmem;
    memmove; memset;

    mkdir; mkfifo; mkstemp; mktemp; mktime; mlock;
    mlockall; mmap; modf; modff; modfl; moncontrol; monstartup; mount;
    mprobe; mprotect; mrand48; mrand48_r; mremap; msgctl; msgget; msgrcv;
    msgsnd; msync; mtrace; munlock; munlockall; munmap; muntrace;

    # n*
    nanosleep; netname2host; netname2user; nftw; nice; nl_langinfo;
    nrand48; nrand48_r; ntohl; ntohs;

    # o*
    obstack_free; obstack_printf; obstack_vprintf; on_exit; open;
    open_memstream; opendir; openlog;

    # p*
    parse_printf_format; passwd2des; pathconf; pause; pclose; perror;
    personality; pipe; pmap_getmaps; pmap_getport; pmap_rmtcall; pmap_set;
    pmap_unset; poll; popen; printf; printf_size; printf_size_info;
    profil; profil_counter; pselect; psignal;

    pthread_attr_destroy;
    pthread_attr_getdetachstate; pthread_attr_getinheritsched;
    pthread_attr_getschedparam; pthread_attr_getschedpolicy;
    pthread_attr_getscope; pthread_attr_init; pthread_attr_setdetachstate;
    pthread_attr_setinheritsched; pthread_attr_setschedparam;
    pthread_attr_setschedpolicy; pthread_attr_setscope;
    pthread_cond_broadcast; pthread_cond_destroy; pthread_cond_init;
    pthread_cond_signal; pthread_cond_wait; pthread_condattr_destroy;
    pthread_condattr_init; pthread_equal; pthread_exit;
    pthread_getschedparam; pthread_mutex_destroy; pthread_mutex_init;
    pthread_mutex_lock; pthread_mutex_unlock;
    pthread_mutexattr_getkind_np; pthread_mutexattr_setkind_np;
    pthread_self; pthread_setcancelstate; pthread_setcanceltype;
    pthread_setschedparam;

    ptrace; putc; putc_unlocked; putchar;
    putchar_unlocked; putenv; putpwent; puts; putspent; pututline;
    pututxline; putw; pvalloc;

    # q*
    qecvt; qecvt_r; qfcvt; qfcvt_r; qgcvt; qsort; quotactl;

    # r*
    raise; rand; rand_r; random; random_r; rcmd;

    re_comp; re_compile_fastmap; re_compile_pattern; re_exec; re_match;
    re_match_2; re_search; re_search_2; re_set_registers; re_set_syntax;

    read; readdir; readdir_r; readlink; readv; realloc; realpath; reboot;
    recv; recvfrom; recvmsg; regcomp; regerror; regexec; regfree;
    register_printf_function; registerrpc; remove; remque; rename;
    res_init; revoke; rewind; rewinddir; rexec; rindex; rmdir; rpmatch;
    rresvport; rtime; ruserok; ruserpass;

    # s*
    sbrk; scalbn; scalbnf; scalbnl; scandir; scanf;

    sched_get_priority_max; sched_get_priority_min; sched_getparam;
    sched_getscheduler; sched_rr_get_interval; sched_setparam;
    sched_setscheduler; sched_yield;

    seed48; seed48_r; seekdir; select;
    semctl; semget; semop; send; sendmsg; sendto; setaliasent; setbuf;
    setbuffer; setdomainname; setegid; setenv; seteuid; setfsent;
    setfsgid; setfsuid; setgid; setgrent; setgroups; sethostent;
    sethostid; sethostname; setitimer; setjmp; setlinebuf; setlocale;
    setlogin; setlogmask; setmntent; setnetent; setnetgrent; setpgid;
    setpgrp; setpriority; setprotoent; setpwent; setregid; setreuid;
    setrlimit; setrpcent; setservent; setsid; setsockopt; setspent;
    setstate; setstate_r; settimeofday; setttyent; setuid; setusershell;
    setutent; setutxent; setvbuf; sgetspent; sgetspent_r; shmat; shmctl;
    shmdt; shmget; shutdown;

    sigaction; sigaddset; sigaltstack; sigandset; sigblock; sigdelset;
    sigemptyset; sigfillset; siggetmask; siginterrupt; sigisemptyset;
    sigismember; siglongjmp; signal; sigorset; sigpause; sigpending;
    sigprocmask; sigreturn; sigsetmask; sigstack; sigsuspend; sigvec;
    sigwait;

    sleep; snprintf; socket; socketpair; sprintf; srand; srand48;
    srand48_r; srandom; srandom_r; sscanf; ssignal; sstk; statfs; step;
    stime; stpcpy; stpncpy; strcasecmp; strcat; strchr; strcmp; strcoll;
    strcpy; strcspn; strdup; strerror; strerror_r; strfmon; strfry;
    strftime; strlen; strncasecmp; strncat; strncmp; strncpy; strndup;
    strnlen; strpbrk; strptime; strrchr; strsep; strsignal; strspn;
    strstr; strtod; strtof; strtok; strtok_r; strtol; strtold; strtoll;
    strtoq; strtoul; strtoull; strtouq; strverscmp; strxfrm; stty;

    svc_exit; svc_getreq; svc_getreqset; svc_register; svc_run;
    svc_sendreply; svc_unregister; svcerr_auth; svcerr_decode;
    svcerr_noproc; svcerr_noprog; svcerr_progvers; svcerr_systemerr;
    svcerr_weakauth; svcfd_create; svcraw_create; svctcp_create;
    svcudp_bufcreate; svcudp_create; svcudp_enablecache;

    swab; swapoff; swapon; symlink; sync;
    syscall; sysconf; sysctl; sysinfo; syslog;
    system;

    # t*
    tcdrain; tcflow; tcflush; tcgetattr; tcgetpgrp; tcsendbreak;
    tcsetattr; tcsetpgrp; tdelete; tdestroy; telldir; tempnam; textdomain;
    tfind; time; timegm; timelocal; times; tmpfile; tmpnam; tmpnam_r;

    toascii; tolower; toupper; towctrans; towlower; towupper;
    tr_break; truncate; tsearch; ttyname; ttyname_r; ttyslot; twalk;
    tzset;

    # u*
    ualarm; ulckpwdf; ulimit; umask; umount; uname; ungetc; unlink;
    unsetenv; updwtmp; uselib; user2netname; usleep; ustat; utime; utimes;
    utmpname;

    # v*
    valloc; vasprintf; vdprintf; verr; verrx; versionsort; vfork;
    vfprintf; vfscanf; vhangup; vlimit; vm86; vprintf; vscanf; vsnprintf;
    vsprintf; vsscanf; vsyslog; vtimes; vwarn; vwarnx;

    # w*
    wait; wait3; wait4; waitpid; warn; warnx;

    wcpcpy; wcpncpy; wcrtomb; wcscasecmp; wcscat; wcschr; wcscmp; wcscoll;
    wcscpy; wcscspn; wcsdup; wcslen; wcsncasecmp; wcsncat; wcsncmp;
    wcsncpy; wcsnrtombs; wcspbrk; wcsrchr; wcsrtombs; wcsspn; wcsstr;
    wcstod; wcstof; wcstok; wcstol; wcstold; wcstoll; wcstombs; wcstoq;
    wcstoul; wcstoull; wcstouq; wcswcs; wcswidth; wcsxfrm; wctob; wctomb;
    wctrans; wctype; wcwidth;

    wmemchr; wmemcmp; wmemcpy; wmemmove; wmemset; write; writev;

    # x*
    xdecrypt; xdr_accepted_reply; xdr_array; xdr_authdes_cred;
    xdr_authdes_verf; xdr_authunix_parms; xdr_bool; xdr_bytes;
    xdr_callhdr; xdr_callmsg; xdr_char; xdr_cryptkeyarg; xdr_cryptkeyarg2;
    xdr_cryptkeyres; xdr_des_block; xdr_double; xdr_enum; xdr_float;
    xdr_free; xdr_getcredres; xdr_int; xdr_key_netstarg; xdr_key_netstres;
    xdr_keybuf; xdr_keystatus; xdr_long; xdr_netnamestr; xdr_netobj;
    xdr_opaque; xdr_opaque_auth; xdr_pmap; xdr_pmaplist; xdr_pointer;
    xdr_reference; xdr_rejected_reply; xdr_replymsg; xdr_rmtcall_args;
    xdr_rmtcallres; xdr_short; xdr_string; xdr_u_char; xdr_u_int;
    xdr_u_long; xdr_u_short; xdr_union; xdr_unixcred; xdr_vector;
    xdr_void; xdr_wrapstring; xdrmem_create; xdrrec_create;
    xdrrec_endofrecord; xdrrec_eof; xdrrec_skiprecord; xdrstdio_create;
    xencrypt; xprt_register; xprt_unregister;

  local:
    *;
};