OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MIN_SYSCALL
(Results
1 - 4
of
4
) 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
...]
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
/external/chromium_org/sandbox/linux/bpf_dsl/
bpf_dsl_more_unittest.cc
448
for (int syscall_number = static_cast<int>(
MIN_SYSCALL
);
961
kNumTestCases < (int)(MAX_PUBLIC_SYSCALL -
MIN_SYSCALL
- 10),
963
for (int sysno =
MIN_SYSCALL
, end = kNumTestCases; sysno < end; ++sysno) {
[
all
...]
Completed in 87 milliseconds