Changeset View
Changeset View
Standalone View
Standalone View
tools/regression/bpf/bpf_filter/tests/test0077.h
Show All 23 Lines | |||||
/* Invalid instruction */ | /* Invalid instruction */ | ||||
static int invalid = 1; | static int invalid = 1; | ||||
/* Expected return value */ | /* Expected return value */ | ||||
static u_int expect = 0xdeadc0de; | static u_int expect = 0xdeadc0de; | ||||
/* Expected signal */ | /* Expected signal */ | ||||
#ifdef __amd64__ | |||||
static int expect_signal = SIGBUS; | |||||
#else | |||||
static int expect_signal = SIGSEGV; | static int expect_signal = SIGSEGV; | ||||
#endif |