Searched refs:sigsys (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/sandbox/linux/seccomp-bpf/ |
D | trap.cc | 170 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/ |
D | signal_handler.c | 31 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/ |
D | seccomp_bpf_tests.c | 501 } *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()
|
/external/seccomp-tests/linux/ |
D | seccomp_bpf.c | 724 } *sigsys = (struct local_sigsys *) in TEST_F() local 730 EXPECT_EQ(__NR_getpid, sigsys->_syscall); in TEST_F() 732 EXPECT_NE(0, sigsys->_arch); in TEST_F() 733 EXPECT_NE(0, (unsigned long)sigsys->_call_addr); in TEST_F()
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 724 } *sigsys = (struct local_sigsys *) in TEST_F() local 730 EXPECT_EQ(__NR_getpid, sigsys->_syscall); in TEST_F() 732 EXPECT_NE(0, sigsys->_arch); in TEST_F() 733 EXPECT_NE(0, (unsigned long)sigsys->_call_addr); in TEST_F()
|