Skip to main content

trapped_aarch64

Function trapped_aarch64 

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

Whether the filter traps aarch64 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 - aarch64 syscall number.

§Returns

true for a trapped syscall.