Skip to main content

staging_arm

Function staging_arm 

Source
pub fn staging_arm(nr: i64) -> Option<&'static [(usize, Stage)]>
Expand description

The memory a 32-bit ARM (EABI) syscall uses, as (argument index, staging) pairs.

The structures are the ARM ones: the old struct stat, the 104-byte struct stat64, 32-bit time values, 16-bit ids in the calls without a 32 form. execve, execveat, rt_sigaction and rt_sigprocmask are trapped too but handled by the stub itself, see trapped_arm.

§Arguments

  • nr - ARM EABI syscall number.

§Returns

The arguments to stage, or None when the syscall carries no memory the supervisor reads or writes.