Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/kdump/kdump.c
Show First 20 Lines • Show All 167 Lines • ▼ Show 20 Lines | static int bsd_to_linux_errno[ELAST + 1] = { | ||||
-110,-111, -40, -36,-112,-113, -39, -11, -87,-122, | -110,-111, -40, -36,-112,-113, -39, -11, -87,-122, | ||||
-116, -66, -6, -6, -6, -6, -6, -37, -38, -9, | -116, -66, -6, -6, -6, -6, -6, -37, -38, -9, | ||||
-6, -6, -43, -42, -75,-125, -84, -95, -16, -74, | -6, -6, -43, -42, -75,-125, -84, -95, -16, -74, | ||||
-72, -67, -71 | -72, -67, -71 | ||||
}; | }; | ||||
#endif | #endif | ||||
#if defined(__amd64__) | #if defined(__amd64__) | ||||
extern char *linux32_syscallnames[]; | extern const char *linux32_syscallnames[]; | ||||
extern int nlinux32_syscalls; | #include <linux32_syscalls.c> | ||||
static int nlinux_syscalls = sizeof(linux32_syscallnames) / \ | |||||
sizeof(linux32_syscallnames[0]); | |||||
#endif | #endif | ||||
struct proc_info | struct proc_info | ||||
{ | { | ||||
TAILQ_ENTRY(proc_info) info; | TAILQ_ENTRY(proc_info) info; | ||||
u_int sv_flags; | u_int sv_flags; | ||||
pid_t pid; | pid_t pid; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 1,860 Lines • Show Last 20 Lines |