summaryrefslogtreecommitdiff
path: root/libc.map
blob: b23a8ff5d308a82fb0060bfd3da5e5cd32cb8b54 (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
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;
    _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;

    # all functions and variables in the normal name space
    a*; b*; c*; d*; e*; f*; g*; h*; i*; j*; k*; l*; m*;
    n*; o*; p*; q*; r*; s*; t*; u*; v*; w*; x*; y*; z*;

  local:
    *;
};