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