Home
last modified time | relevance | path

Searched refs:SECCOMP_RET_DATA (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/sandbox/linux/seccomp-bpf/
Derrorcode_unittest.cc33 SANDBOX_ASSERT((e0.err() & SECCOMP_RET_DATA) + 1 == in SANDBOX_TEST()
34 (e1.err() & SECCOMP_RET_DATA)); in SANDBOX_TEST()
37 SANDBOX_ASSERT((e0.err() & SECCOMP_RET_DATA) == in SANDBOX_TEST()
38 (e2.err() & SECCOMP_RET_DATA)); in SANDBOX_TEST()
Dsandbox_bpf.cc130 insn->k - SECCOMP_RET_TRAP <= SECCOMP_RET_DATA) { in CheckForUnsafeErrorCodes()
132 Trap::ErrorCodeFromTrapId(insn->k & SECCOMP_RET_DATA); in CheckForUnsafeErrorCodes()
147 int err = reinterpret_cast<intptr_t>(aux) & SECCOMP_RET_DATA; in ReturnErrno()
169 reinterpret_cast<void*>(insn->k & SECCOMP_RET_DATA)).err(); in RedirectToUserspace()
191 ReturnErrno, reinterpret_cast<void*>(err.err() & SECCOMP_RET_DATA)); in EvaluateSyscall()
Dlinux_seccomp.h86 #define SECCOMP_RET_DATA 0x0000ffffU // sections macro
Dtrap.cc261 if (trap_array_size_ >= SECCOMP_RET_DATA /* 0xFFFF */ || in MakeTrapImpl()
Dcodegen.cc105 fprintf(stderr, "Trap #%d\n", iter->k & SECCOMP_RET_DATA); in PrintProgram()
107 fprintf(stderr, "errno = %d\n", iter->k & SECCOMP_RET_DATA); in PrintProgram()
/external/kernel-headers/original/linux/
Dseccomp.h29 #define SECCOMP_RET_DATA 0x0000ffffU macro