Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/interposing_table.c
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Lines | interpos_func_t __libc_interposing[INTERPOS_MAX] = { | ||||
SLOT(spinlock, __libc_spinlock_stub), | SLOT(spinlock, __libc_spinlock_stub), | ||||
SLOT(spinunlock, __libc_spinunlock_stub), | SLOT(spinunlock, __libc_spinunlock_stub), | ||||
SLOT(kevent, __sys_kevent), | SLOT(kevent, __sys_kevent), | ||||
SLOT(wait6, __sys_wait6), | SLOT(wait6, __sys_wait6), | ||||
SLOT(ppoll, __sys_ppoll), | SLOT(ppoll, __sys_ppoll), | ||||
SLOT(map_stacks_exec, __libc_map_stacks_exec), | SLOT(map_stacks_exec, __libc_map_stacks_exec), | ||||
SLOT(fdatasync, __sys_fdatasync), | SLOT(fdatasync, __sys_fdatasync), | ||||
SLOT(clock_nanosleep, __sys_clock_nanosleep), | SLOT(clock_nanosleep, __sys_clock_nanosleep), | ||||
SLOT(distribute_static_tls, __libc_distribute_static_tls), | |||||
}; | }; | ||||
#undef SLOT | #undef SLOT | ||||
interpos_func_t * | interpos_func_t * | ||||
__libc_interposing_slot(int interposno) | __libc_interposing_slot(int interposno) | ||||
{ | { | ||||
return (&__libc_interposing[interposno]); | return (&__libc_interposing[interposno]); | ||||
} | } |