Home | History | Annotate | Download | only in seccomp-bpf-helpers

Lines Matching full:sysno

66 uint32_t SyscallNumberToOffsetFromBase(uint32_t sysno) {
71 sysno = sysno - __NR_Linux;
74 if (sysno >= 1024)
75 sysno = 0;
77 return sysno;
80 // Print a seccomp-bpf failure to handle |sysno| to stderr in an
82 void PrintSyscallError(uint32_t sysno) {
83 if (sysno >= 1024)
84 sysno = 0;
88 uint32_t rem = sysno;