Home
last modified time | relevance | path

Searched refs:kExpectedExitCode (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/sandbox/linux/tests/
Dunit_tests_unittest.cc21 const int kExpectedExitCode = 100; variable
25 DEATH_EXIT_CODE(kExpectedExitCode)) { in SANDBOX_DEATH_TEST() argument
26 _exit(kExpectedExitCode); in SANDBOX_DEATH_TEST()
/external/chromium_org/sandbox/linux/seccomp-bpf/
Dsandbox_bpf.cc49 const int kExpectedExitCode = 100; variable
117 syscall(__NR_exit_group, static_cast<intptr_t>(kExpectedExitCode)); in ProbeProcess()
139 syscall(__NR_exit_group, static_cast<intptr_t>(kExpectedExitCode)); in TryVsyscallProcess()
401 bool rc = WIFEXITED(status) && WEXITSTATUS(status) == kExpectedExitCode; in RunFunctionInPolicy()