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)
583 T(get_current_dir_name)
869 T(malloc_usable_size)
964 T(ns_name_uncompress)
995 T(posix_spawn_file_actions_addchdir_np)
996 T(posix_spawn_file_actions_addclose)
997 T(posix_spawn_file_actions_adddup2)
998 T(posix_spawn_file_actions_addfchdir_np)
999 T(posix_spawn_file_actions_addopen)
1000 T(posix_spawn_file_actions_destroy)
1001 T(posix_spawn_file_actions_init)
1002 T(posix_spawnattr_destroy)
1003 T(posix_spawnattr_getflags)
1004 T(posix_spawnattr_getpgroup)
1005 T(posix_spawnattr_getschedparam)
1006 T(posix_spawnattr_getschedpolicy)
1007 T(posix_spawnattr_getsigdefault)
1008 T(posix_spawnattr_getsigmask)
1009 T(posix_spawnattr_init)
1010 T(posix_spawnattr_setflags)
1011 T(posix_spawnattr_setpgroup)
1012 T(posix_spawnattr_setschedparam)
1013 T(posix_spawnattr_setschedpolicy)
1014 T(posix_spawnattr_setsigdefault)
1015 T(posix_spawnattr_setsigmask)
1030 T(process_vm_writev)
1035 T(pthread_attr_destroy)
1036 T(pthread_attr_getdetachstate)
1037 T(pthread_attr_getguardsize)
1038 T(pthread_attr_getinheritsched)
1039 T(pthread_attr_getschedparam)
1040 T(pthread_attr_getschedpolicy)
1041 T(pthread_attr_getscope)
1042 T(pthread_attr_getstack)
1043 T(pthread_attr_getstacksize)
1044 T(pthread_attr_init)
1045 T(pthread_attr_setdetachstate)
1046 T(pthread_attr_setguardsize)
1047 T(pthread_attr_setinheritsched)
1048 T(pthread_attr_setschedparam)
1049 T(pthread_attr_setschedpolicy)
1050 T(pthread_attr_setscope)
1051 T(pthread_attr_setstack)
1052 T(pthread_attr_setstacksize)
1053 T(pthread_barrier_destroy)
1054 T(pthread_barrier_init)
1055 T(pthread_barrier_wait)
1056 T(pthread_barrierattr_destroy)
1057 T(pthread_barrierattr_getpshared)
1058 T(pthread_barrierattr_init)
1059 T(pthread_barrierattr_setpshared)
1061 T(pthread_cond_broadcast)
1062 T(pthread_cond_destroy)
1063 T(pthread_cond_init)
1064 T(pthread_cond_signal)
1065 T(pthread_cond_timedwait)
1066 T(pthread_cond_wait)
1067 T(pthread_condattr_destroy)
1068 T(pthread_condattr_getclock)
1069 T(pthread_condattr_getpshared)
1070 T(pthread_condattr_init)
1071 T(pthread_condattr_setclock)
1072 T(pthread_condattr_setpshared)
1077 T(pthread_getaffinity_np)
1078 T(pthread_getattr_default_np)
1079 T(pthread_getattr_np)
1080 T(pthread_getconcurrency)
1081 T(pthread_getcpuclockid)
1082 T(pthread_getschedparam)
1083 T(pthread_getspecific)
1085 T(pthread_key_create)
1086 T(pthread_key_delete)
1088 T(pthread_mutex_consistent)
1089 T(pthread_mutex_destroy)
1090 T(pthread_mutex_getprioceiling)
1091 T(pthread_mutex_init)
1092 T(pthread_mutex_lock)
1093 T(pthread_mutex_setprioceiling)
1094 T(pthread_mutex_timedlock)
1095 T(pthread_mutex_trylock)
1096 T(pthread_mutex_unlock)
1097 T(pthread_mutexattr_destroy)
1098 T(pthread_mutexattr_getprioceiling)
1099 T(pthread_mutexattr_getprotocol)
1100 T(pthread_mutexattr_getpshared)
1101 T(pthread_mutexattr_getrobust)
1102 T(pthread_mutexattr_gettype)
1103 T(pthread_mutexattr_init)
1104 T(pthread_mutexattr_setprioceiling)
1105 T(pthread_mutexattr_setprotocol)
1106 T(pthread_mutexattr_setpshared)
1107 T(pthread_mutexattr_setrobust)
1108 T(pthread_mutexattr_settype)
1110 T(pthread_rwlock_destroy)
1111 T(pthread_rwlock_init)
1112 T(pthread_rwlock_rdlock)
1113 T(pthread_rwlock_timedrdlock)
1114 T(pthread_rwlock_timedwrlock)
1115 T(pthread_rwlock_tryrdlock)
1116 T(pthread_rwlock_trywrlock)
1117 T(pthread_rwlock_unlock)
1118 T(pthread_rwlock_wrlock)
1119 T(pthread_rwlockattr_destroy)
1120 T(pthread_rwlockattr_getpshared)
1121 T(pthread_rwlockattr_init)
1122 T(pthread_rwlockattr_setpshared)
1124 T(pthread_setaffinity_np)
1125 T(pthread_setattr_default_np)
1126 T(pthread_setcancelstate)
1127 T(pthread_setcanceltype)
1128 T(pthread_setconcurrency)
1129 T(pthread_setname_np)
1130 T(pthread_setschedparam)
1131 T(pthread_setschedprio)
1132 T(pthread_setspecific)
1134 T(pthread_spin_destroy)
1135 T(pthread_spin_init)
1136 T(pthread_spin_lock)
1137 T(pthread_spin_trylock)
1138 T(pthread_spin_unlock)
1139 T(pthread_testcancel)
1140 T(pthread_timedjoin_np)
1141 T(pthread_tryjoin_np)
1160 T(putwchar_unlocked)
1227 T(sched_get_priority_max)
1228 T(sched_get_priority_min)
1229 T(sched_getaffinity)
1232 T(sched_getscheduler)
1233 T(sched_rr_get_interval)
1234 T(sched_setaffinity)
1236 T(sched_setscheduler)