Searched refs:sysnum (Results 1 – 6 of 6) sorted by relevance
27 for (uint32_t sysnum : set) { in SANDBOX_TEST() local29 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() local51 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() local88 if (!SyscallSet::IsValid(sysnum)) { in SANDBOX_TEST()[all …]
75 for (uint32_t sysnum : SyscallSet::ValidOnly()) { in HasUnsafeTraps() local76 if (policy->EvaluateSyscall(sysnum)->HasUnsafeTraps()) { in HasUnsafeTraps()111 for (int sysnum : kSyscallsRequiredForUnsafeTraps) { in Compile() local112 CHECK(policy_->EvaluateSyscall(sysnum)->IsAllow()) in Compile()234 for (uint32_t sysnum : SyscallSet::All()) { in FindRanges() local236 SyscallSet::IsValid(sysnum) in FindRanges()237 ? CompileResult(policy_->EvaluateSyscall(static_cast<int>(sysnum))) in FindRanges()244 old_sysnum = sysnum; in FindRanges()
47 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_()
44 extern const HChar *VG_(sysnum_string) (Word sysnum);47 #define VG_SYSNUM_STRING(sysnum) VG_(sysnum_string)(sysnum) argument
202 bool SandboxBPF::IsValidSyscallNumber(int sysnum) { in IsValidSyscallNumber() argument203 return SyscallSet::IsValid(sysnum); in IsValidSyscallNumber()
79 static bool IsValidSyscallNumber(int sysnum);