#include "lint.h"
#include <signal.h>
#include <siginfo.h>
#undef _sys_siginfolist
#define OLDNSIG 34
const char *_sys_traplist[NSIGTRAP] = {
"breakpoint trap",
"trace trap",
"read access trap",
"write access trap",
"execute access trap",
"dtrace trap"
};
const char *_sys_illlist[NSIGILL] = {
"illegal instruction",
"illegal operand",
"illegal addressing mode",
"illegal trap",
"privileged instruction",
"privileged register",
"co-processor",
"bad stack"
};
const char *_sys_fpelist[NSIGFPE] = {
"integer divide by zero",
"integer overflow",
"floating point divide by zero",
"floating point overflow",
"floating point underflow",
"floating point inexact result",
"invalid floating point operation",
"subscript out of range"
};
const char *_sys_segvlist[NSIGSEGV] = {
"address not mapped to object",
"invalid permissions"
};
const char *_sys_buslist[NSIGBUS] = {
"invalid address alignment",
"non-existent physical address",
"object specific"
};
const char *_sys_cldlist[NSIGCLD] = {
"child has exited",
"child was killed",
"child has coredumped",
"traced child has trapped",
"child has stopped",
"stopped child has continued"
};
const char *_sys_polllist[NSIGPOLL] = {
"input available",
"output possible",
"message available",
"I/O error",
"high priority input available",
"device disconnected"
};
struct siginfolist _sys_siginfolist[OLDNSIG-1] = {
0, 0,
0, 0,
0, 0,
NSIGILL, (char **)_sys_illlist,
NSIGTRAP, (char **)_sys_traplist,
0, 0,
0, 0,
NSIGFPE, (char **)_sys_fpelist,
0, 0,
NSIGBUS, (char **)_sys_buslist,
NSIGSEGV, (char **)_sys_segvlist,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
NSIGCLD, (char **)_sys_cldlist,
0, 0,
0, 0,
0, 0,
NSIGPOLL, (char **)_sys_polllist,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
};
static const struct siginfolist _sys_siginfolist_data[NSIG-1] = {
0, 0,
0, 0,
0, 0,
NSIGILL, (char **)_sys_illlist,
NSIGTRAP, (char **)_sys_traplist,
0, 0,
0, 0,
NSIGFPE, (char **)_sys_fpelist,
0, 0,
NSIGBUS, (char **)_sys_buslist,
NSIGSEGV, (char **)_sys_segvlist,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
NSIGCLD, (char **)_sys_cldlist,
0, 0,
0, 0,
0, 0,
NSIGPOLL, (char **)_sys_polllist,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
0, 0,
};
const struct siginfolist *_sys_siginfolistp = _sys_siginfolist_data;