HomeSort by relevance Sort by last modified time
    Searched refs:SandboxSyscall (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/sandbox/linux/seccomp-bpf/
syscall.h 18 intptr_t SandboxSyscall(int nr,
49 inline intptr_t SandboxSyscall(int nr,
59 SandboxSyscall(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) {
60 return SandboxSyscall(nr,
76 inline intptr_t SandboxSyscall(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5)
80 SandboxSyscall(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4, T5 p5) {
81 return SandboxSyscall(nr,
91 inline intptr_t SandboxSyscall(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4)
94 inline intptr_t SandboxSyscall(int nr, T0 p0, T1 p1, T2 p2, T3 p3, T4 p4) {
95 return SandboxSyscall(nr, p0, p1, p2, p3, p4, 0)
    [all...]
syscall_unittest.cc 34 // Test that SandboxSyscall(-1) is handled specially. Don't do this on ARM,
38 EXPECT_NE(SandboxSyscall(-1), syscall(-1));
41 // If possible, test that SandboxSyscall(-1) returns the address right after
44 EXPECT_EQ(0x80CDu, ((uint16_t*)SandboxSyscall(-1))[-1]); // INT 0x80
46 EXPECT_EQ(0x050Fu, ((uint16_t*)SandboxSyscall(-1))[-1]); // SYSCALL
49 EXPECT_EQ(0xDF00u, ((uint16_t*)SandboxSyscall(-1))[-1]); // SWI 0
51 EXPECT_EQ(0xEF000000u, ((uint32_t*)SandboxSyscall(-1))[-1]); // SVC 0
60 EXPECT_EQ(SandboxSyscall(__NR_getpid), syscall(__NR_getpid));
66 ASSERT_GE(new_fd = SandboxSyscall(__NR_dup, 2), 0);
67 int close_return_value = IGNORE_EINTR(SandboxSyscall(__NR_close, new_fd))
    [all...]
die.cc 25 SandboxSyscall(__NR_exit_group, 1);
33 SandboxSyscall(__NR_prctl, PR_SET_DUMPABLE, (void*)0, (void*)0, (void*)0);
43 SandboxSyscall(__NR_exit_group, 1);
78 HANDLE_EINTR(SandboxSyscall(__NR_write, 2, s.c_str(), s.length())));
syscall.cc 174 intptr_t SandboxSyscall(int nr,
sandbox_bpf_unittest.cc     [all...]
trap.cc 168 rc = SandboxSyscall(sigsys.nr,
227 // from SandboxSyscall(-1)).
sandbox_bpf.cc 601 if (SandboxSyscall(-1) == -1 && errno == ENOSYS) {
638 // (which we can query by calling SandboxSyscall(-1)).
640 static_cast<uintptr_t>(SandboxSyscall(-1));
    [all...]

Completed in 75 milliseconds