Skip to main content

trapped_i386

Function trapped_i386 

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

Whether the filter traps i386 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). socketcall is trapped by its call number, apart from this list.

§Arguments

  • nr - i386 syscall number.

§Returns

true for a trapped syscall.