lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | libc { |
| 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.2 { |
| 84 | # functions used in other libraries |
| 85 | __vfork; |
| 86 | } |
| 87 | GLIBC_2.2 { |
| 88 | # p* |
| 89 | posix_spawn_file_actions_init; posix_spawn_file_actions_destroy; |
| 90 | posix_spawn_file_actions_addclose; posix_spawn_file_actions_addopen; |
| 91 | posix_spawn_file_actions_adddup2; |
| 92 | posix_spawnattr_init; posix_spawnattr_destroy; |
| 93 | posix_spawnattr_getsigdefault; posix_spawnattr_setsigdefault; |
| 94 | posix_spawnattr_getflags; posix_spawnattr_setflags; |
| 95 | posix_spawnattr_getpgroup; posix_spawnattr_setpgroup; |
| 96 | posix_spawnattr_setsigmask; posix_spawnattr_getsigmask; |
| 97 | posix_spawn; posix_spawnp; posix_spawnattr_getschedpolicy; |
| 98 | posix_spawnattr_setschedpolicy; posix_spawnattr_getschedparam; |
| 99 | posix_spawnattr_setschedparam; |
| 100 | |
| 101 | # Used in macros. |
| 102 | __sysconf; |
| 103 | } |
| 104 | GLIBC_2.2.3 { |
| 105 | # Extended Interface. |
| 106 | fnmatch; |
| 107 | } |
| 108 | GLIBC_2.2.6 { |
| 109 | # For syscall wrapper |
| 110 | __nanosleep; |
| 111 | } |
| 112 | GLIBC_2.3.2 { |
| 113 | # Note that these symbols appear in sysdeps/unix/sysv/linux/Versions |
| 114 | # under GLIBC_2.0; the first instance in the script is taken as the |
| 115 | # default, so linux configurations put them in GLIBC_2.0 while other |
| 116 | # configuration put them in GLIBC_2.3.2. |
| 117 | getresgid; getresuid; setresgid; setresuid; |
| 118 | } |
| 119 | GLIBC_2.3.3 { |
| 120 | sched_getaffinity; sched_setaffinity; |
| 121 | } |
| 122 | GLIBC_2.3.4 { |
| 123 | regexec; |
| 124 | } |
| 125 | GLIBC_2.6 { |
| 126 | __sched_cpucount; |
| 127 | } |
| 128 | GLIBC_2.7 { |
| 129 | __sched_cpualloc; __sched_cpufree; |
| 130 | } |
| 131 | GLIBC_2.10 { |
| 132 | __posix_getopt; |
| 133 | } |
| 134 | GLIBC_2.11 { |
| 135 | execvpe; |
| 136 | } |
| 137 | GLIBC_PRIVATE { |
| 138 | __libc_fork; __libc_pread; __libc_pwrite; |
| 139 | } |
| 140 | } |