HomeSort by relevance Sort by last modified time
    Searched full:min_syscall (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/sandbox/linux/seccomp-bpf/
syscall_iterator.cc 20 // |num_| has been initialized to 4000, which we assume is also MIN_SYSCALL.
22 COMPILE_ASSERT(MIN_SYSCALL == __NR_Linux, min_syscall_should_be_4000);
24 // |num_| has been initialized to 0, which we assume is also MIN_SYSCALL.
26 COMPILE_ASSERT(MIN_SYSCALL == 0u, min_syscall_should_always_be_zero);
31 // If zero is not a valid system call, iterator first returns MIN_SYSCALL -1
33 if (num_ == 0 && MIN_SYSCALL != num_) {
34 num_ = MIN_SYSCALL - 1;
84 uint32_t min_syscall = MIN_SYSCALL; local
85 if (num >= min_syscall && num <= MAX_PUBLIC_SYSCALL)
    [all...]
syscall_iterator_unittest.cc 41 // Since on MIPS MIN_SYSCALL != 0 we need to move iterator to valid range.
43 SANDBOX_ASSERT(next == MIN_SYSCALL - 1);
46 // MIN_SYSCALL..MAX_PUBLIC_SYSCALL, without skipping syscalls.
58 // MIN_SYSCALL..MAX_PUBLIC_SYSCALL, without skipping syscalls.
59 // We're assuming MIN_SYSCALL == 0 for all architectures,
61 SANDBOX_ASSERT(MIN_SYSCALL == 0);
62 SANDBOX_ASSERT(next == MIN_SYSCALL);
134 // For Mips O32 ABI we're assuming MIN_SYSCALL == 4000.
135 SANDBOX_ASSERT(MIN_SYSCALL == 4000);
137 // Since on MIPS MIN_SYSCALL != 0, we need to move iterator to valid rang
    [all...]
syscall_iterator.h 22 // (typically MIN_SYSCALL..MAX_SYSCALL).
linux_seccomp.h 136 #define MIN_SYSCALL 0u
201 #define MIN_SYSCALL 0u
243 #define MIN_SYSCALL ((unsigned int)__NR_SYSCALL_BASE)
244 #define MAX_PUBLIC_SYSCALL (MIN_SYSCALL + 1024u)
317 #define MIN_SYSCALL __NR_O32_Linux
318 #define MAX_PUBLIC_SYSCALL (MIN_SYSCALL + __NR_Linux_syscalls)
381 #define MIN_SYSCALL 0u
sandbox_bpf.cc 837 // deal with this disparity by enumerating from MIN_SYSCALL to MAX_SYSCALL,
    [all...]