3 #define _FILE_OFFSET_BITS 64
8 #include <arpa/nameser.h>
41 #include <netinet/ether.h>
42 #include <netinet/in.h>
52 #include <semaphore.h>
58 #include <stdio_ext.h>
66 #include <sys/cachectl.h>
68 #include <sys/epoll.h>
69 #include <sys/eventfd.h>
70 #include <sys/fanotify.h>
72 #include <sys/fsuid.h>
73 #include <sys/inotify.h>
74 // #include <sys/io.h>
75 #include <sys/ioctl.h>
78 #include <sys/membarrier.h>
80 #include <sys/mount.h>
82 #include <sys/personality.h>
83 #include <sys/prctl.h>
84 #include <sys/ptrace.h>
85 #include <sys/quota.h>
86 #include <sys/random.h>
87 #include <sys/reboot.h>
88 #include <sys/resource.h>
89 #include <sys/select.h>
91 #include <sys/sendfile.h>
93 #include <sys/signalfd.h>
94 #include <sys/socket.h>
96 #include <sys/statfs.h>
97 #include <sys/statvfs.h>
99 #include <sys/sysinfo.h>
100 #include <sys/time.h>
101 #include <sys/timeb.h>
102 #include <sys/timerfd.h>
103 #include <sys/times.h>
104 #include <sys/timex.h>
107 #include <sys/utsname.h>
108 #include <sys/wait.h>
109 #include <sys/xattr.h>
117 #include <ucontext.h>
127 #define T(x) void t_##x(__typeof(x)*p){}
131 #define sigsetjmp __sigsetjmp
139 T(__ctype_get_mb_cur_max)
158 T(__h_errno_location)
159 T(__libc_current_sigrtmax)
160 T(__libc_current_sigrtmin)
170 M(T(_pthread_cleanup_pop))
171 M(T(_pthread_cleanup_push))
228 T(bind_textdomain_codeset)
301 T(clock_getcpuclockid)
582 T(get_current_dir_name)
868 T(malloc_usable_size)
963 T(ns_name_uncompress)
994 T(posix_spawn_file_actions_addclose)
995 T(posix_spawn_file_actions_adddup2)
996 T(posix_spawn_file_actions_addopen)
997 T(posix_spawn_file_actions_destroy)
998 T(posix_spawn_file_actions_init)
999 T(posix_spawnattr_destroy)
1000 T(posix_spawnattr_getflags)
1001 T(posix_spawnattr_getpgroup)
1002 T(posix_spawnattr_getschedparam)
1003 T(posix_spawnattr_getschedpolicy)
1004 T(posix_spawnattr_getsigdefault)
1005 T(posix_spawnattr_getsigmask)
1006 T(posix_spawnattr_init)
1007 T(posix_spawnattr_setflags)
1008 T(posix_spawnattr_setpgroup)
1009 T(posix_spawnattr_setschedparam)
1010 T(posix_spawnattr_setschedpolicy)
1011 T(posix_spawnattr_setsigdefault)
1012 T(posix_spawnattr_setsigmask)
1027 T(process_vm_writev)
1032 T(pthread_attr_destroy)
1033 T(pthread_attr_getdetachstate)
1034 T(pthread_attr_getguardsize)
1035 T(pthread_attr_getinheritsched)
1036 T(pthread_attr_getschedparam)
1037 T(pthread_attr_getschedpolicy)
1038 T(pthread_attr_getscope)
1039 T(pthread_attr_getstack)
1040 T(pthread_attr_getstacksize)
1041 T(pthread_attr_init)
1042 T(pthread_attr_setdetachstate)
1043 T(pthread_attr_setguardsize)
1044 T(pthread_attr_setinheritsched)
1045 T(pthread_attr_setschedparam)
1046 T(pthread_attr_setschedpolicy)
1047 T(pthread_attr_setscope)
1048 T(pthread_attr_setstack)
1049 T(pthread_attr_setstacksize)
1050 T(pthread_barrier_destroy)
1051 T(pthread_barrier_init)
1052 T(pthread_barrier_wait)
1053 T(pthread_barrierattr_destroy)
1054 T(pthread_barrierattr_getpshared)
1055 T(pthread_barrierattr_init)
1056 T(pthread_barrierattr_setpshared)
1058 T(pthread_cond_broadcast)
1059 T(pthread_cond_destroy)
1060 T(pthread_cond_init)
1061 T(pthread_cond_signal)
1062 T(pthread_cond_timedwait)
1063 T(pthread_cond_wait)
1064 T(pthread_condattr_destroy)
1065 T(pthread_condattr_getclock)
1066 T(pthread_condattr_getpshared)
1067 T(pthread_condattr_init)
1068 T(pthread_condattr_setclock)
1069 T(pthread_condattr_setpshared)
1074 T(pthread_getaffinity_np)
1075 T(pthread_getattr_default_np)
1076 T(pthread_getattr_np)
1077 T(pthread_getconcurrency)
1078 T(pthread_getcpuclockid)
1079 T(pthread_getschedparam)
1080 T(pthread_getspecific)
1082 T(pthread_key_create)
1083 T(pthread_key_delete)
1085 T(pthread_mutex_consistent)
1086 T(pthread_mutex_destroy)
1087 T(pthread_mutex_getprioceiling)
1088 T(pthread_mutex_init)
1089 T(pthread_mutex_lock)
1090 T(pthread_mutex_setprioceiling)
1091 T(pthread_mutex_timedlock)
1092 T(pthread_mutex_trylock)
1093 T(pthread_mutex_unlock)
1094 T(pthread_mutexattr_destroy)
1095 T(pthread_mutexattr_getprioceiling)
1096 T(pthread_mutexattr_getprotocol)
1097 T(pthread_mutexattr_getpshared)
1098 T(pthread_mutexattr_getrobust)
1099 T(pthread_mutexattr_gettype)
1100 T(pthread_mutexattr_init)
1101 T(pthread_mutexattr_setprioceiling)
1102 T(pthread_mutexattr_setprotocol)
1103 T(pthread_mutexattr_setpshared)
1104 T(pthread_mutexattr_setrobust)
1105 T(pthread_mutexattr_settype)
1107 T(pthread_rwlock_destroy)
1108 T(pthread_rwlock_init)
1109 T(pthread_rwlock_rdlock)
1110 T(pthread_rwlock_timedrdlock)
1111 T(pthread_rwlock_timedwrlock)
1112 T(pthread_rwlock_tryrdlock)
1113 T(pthread_rwlock_trywrlock)
1114 T(pthread_rwlock_unlock)
1115 T(pthread_rwlock_wrlock)
1116 T(pthread_rwlockattr_destroy)
1117 T(pthread_rwlockattr_getpshared)
1118 T(pthread_rwlockattr_init)
1119 T(pthread_rwlockattr_setpshared)
1121 T(pthread_setaffinity_np)
1122 T(pthread_setattr_default_np)
1123 T(pthread_setcancelstate)
1124 T(pthread_setcanceltype)
1125 T(pthread_setconcurrency)
1126 T(pthread_setname_np)
1127 T(pthread_setschedparam)
1128 T(pthread_setschedprio)
1129 T(pthread_setspecific)
1131 T(pthread_spin_destroy)
1132 T(pthread_spin_init)
1133 T(pthread_spin_lock)
1134 T(pthread_spin_trylock)
1135 T(pthread_spin_unlock)
1136 T(pthread_testcancel)
1137 T(pthread_timedjoin_np)
1138 T(pthread_tryjoin_np)
1157 T(putwchar_unlocked)
1224 T(sched_get_priority_max)
1225 T(sched_get_priority_min)
1226 T(sched_getaffinity)
1229 T(sched_getscheduler)
1230 T(sched_rr_get_interval)
1231 T(sched_setaffinity)
1233 T(sched_setscheduler)