Skip to main content

trapped_x86_64

Function trapped_x86_64 

Source
pub fn trapped_x86_64(nr: i64) -> bool
Expand description

Whether the filter traps x86_64 syscall nr into the stub rather than notifying the supervisor directly: it has memory to stage, or the stub handles it (execve, execveat, rt_sigaction, rt_sigprocmask).

§Arguments

  • nr - x86_64 syscall number.

§Returns

true for a trapped syscall.