Skip to main content

trapped_arm

Function trapped_arm 

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

Whether the filter traps 32-bit ARM 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 - ARM EABI syscall number.

§Returns

true for a trapped syscall.