Home
last modified time | relevance | path

Searched refs:sysnum (Results 1 – 6 of 6) sorted by relevance

/external/libchrome/sandbox/linux/bpf_dsl/
Dsyscall_set_unittest.cc27 for (uint32_t sysnum : set) { in SANDBOX_TEST() local
29 SANDBOX_ASSERT(sysnum > prev); in SANDBOX_TEST()
32 SANDBOX_ASSERT(sysnum == 0); in SANDBOX_TEST()
35 prev = sysnum; in SANDBOX_TEST()
50 for (uint32_t sysnum : SyscallSet::All()) { in AssertRange() local
51 if (sysnum >= min && sysnum <= max) { in AssertRange()
52 SANDBOX_ASSERT(prev == sysnum - 1); in AssertRange()
53 prev = sysnum; in AssertRange()
87 for (uint32_t sysnum : set) { in SANDBOX_TEST() local
88 if (!SyscallSet::IsValid(sysnum)) { in SANDBOX_TEST()
[all …]
Dpolicy_compiler.cc75 for (uint32_t sysnum : SyscallSet::ValidOnly()) { in HasUnsafeTraps() local
76 if (policy->EvaluateSyscall(sysnum)->HasUnsafeTraps()) { in HasUnsafeTraps()
111 for (int sysnum : kSyscallsRequiredForUnsafeTraps) { in Compile() local
112 CHECK(policy_->EvaluateSyscall(sysnum)->IsAllow()) in Compile()
234 for (uint32_t sysnum : SyscallSet::All()) { in FindRanges() local
236 SyscallSet::IsValid(sysnum) in FindRanges()
237 ? CompileResult(policy_->EvaluateSyscall(static_cast<int>(sysnum))) in FindRanges()
244 old_sysnum = sysnum; in FindRanges()
/external/valgrind/coregrind/
Dm_vkiscnums.c47 const HChar* VG_(sysnum_string)(Word sysnum) in VG_()
51 VG_(sprintf)(buf, "%ld", sysnum); in VG_()
72 const HChar* VG_(sysnum_string)(Word sysnum) in VG_()
77 switch (VG_DARWIN_SYSNO_CLASS(sysnum)) { in VG_()
84 VG_(sprintf)(buf, "%s:%ld", classname, VG_DARWIN_SYSNO_INDEX(sysnum)); in VG_()
92 const HChar *VG_(sysnum_string)(Word sysnum) in VG_()
97 switch (VG_SOLARIS_SYSNO_CLASS(sysnum)) { in VG_()
102 VG_(sprintf)(buf, "%s%ld", classname, VG_SOLARIS_SYSNO_INDEX(sysnum)); in VG_()
/external/valgrind/include/
Dpub_tool_vkiscnums.h44 extern const HChar *VG_(sysnum_string) (Word sysnum);
47 #define VG_SYSNUM_STRING(sysnum) VG_(sysnum_string)(sysnum) argument
/external/libchrome/sandbox/linux/seccomp-bpf/
Dsandbox_bpf.cc202 bool SandboxBPF::IsValidSyscallNumber(int sysnum) { in IsValidSyscallNumber() argument
203 return SyscallSet::IsValid(sysnum); in IsValidSyscallNumber()
Dsandbox_bpf.h79 static bool IsValidSyscallNumber(int sysnum);