Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/truss/truss.h
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | struct extra_syscall { | ||||
STAILQ_ENTRY(extra_syscall) entries; | STAILQ_ENTRY(extra_syscall) entries; | ||||
struct syscall *sc; | struct syscall *sc; | ||||
u_int number; | u_int number; | ||||
}; | }; | ||||
struct procabi { | struct procabi { | ||||
const char *type; | const char *type; | ||||
enum sysdecode_abi abi; | enum sysdecode_abi abi; | ||||
size_t pointer_size; | |||||
STAILQ_HEAD(, extra_syscall) extra_syscalls; | STAILQ_HEAD(, extra_syscall) extra_syscalls; | ||||
struct syscall *syscalls[SYSCALL_NORMAL_COUNT]; | struct syscall *syscalls[SYSCALL_NORMAL_COUNT]; | ||||
}; | }; | ||||
/* | /* | ||||
* This is confusingly named. It holds per-thread state about the | * This is confusingly named. It holds per-thread state about the | ||||
* currently executing system call. syscall.h defines a struct | * currently executing system call. syscall.h defines a struct | ||||
* syscall that holds metadata used to format system call arguments. | * syscall that holds metadata used to format system call arguments. | ||||
▲ Show 20 Lines • Show All 48 Lines • Show Last 20 Lines |