Home
last modified time | relevance | path

Searched refs:sigsys (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/sandbox/linux/seccomp-bpf/
Dtrap.cc170 struct arch_sigsys sigsys; in SigSys() local
171 memcpy(&sigsys, &info->_sifields, sizeof(sigsys)); in SigSys()
177 bool sigsys_nr_is_bad = sigsys.nr != static_cast<int>(SECCOMP_SYSCALL(ctx)) && in SigSys()
178 sigsys.nr != static_cast<int>(SECCOMP_PARM1(ctx)); in SigSys()
180 bool sigsys_nr_is_bad = sigsys.nr != static_cast<int>(SECCOMP_SYSCALL(ctx)); in SigSys()
184 if (sigsys.ip != reinterpret_cast<void*>(SECCOMP_IP(ctx)) || in SigSys()
185 sigsys_nr_is_bad || sigsys.arch != SECCOMP_ARCH) { in SigSys()
197 if (sigsys.nr == __NR_clone) { in SigSys()
234 reinterpret_cast<uint64_t>(sigsys.ip), in SigSys()
/external/minijail/
Dsignal_handler.c31 struct local_sigsys sigsys; in log_sigsys_handler() local
33 memcpy(&sigsys, &info->_sifields, sizeof(sigsys)); in log_sigsys_handler()
34 syscall_name = lookup_syscall_name(sigsys.nr); in log_sigsys_handler()
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c501 } *sigsys = (struct local_sigsys *) in TEST_F() local
507 EXPECT_EQ(__NR_getpid, sigsys->_syscall); in TEST_F()
509 EXPECT_NE(0, sigsys->_arch); in TEST_F()
510 EXPECT_NE(0, (unsigned long)sigsys->_call_addr); in TEST_F()