Skip to main content

staging_i386

Function staging_i386 

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

The memory an i386 syscall uses, as (argument index, staging) pairs.

The structures are the i386 ones: the old and the 64-bit struct stat, 32-bit time values, 16-bit ids in the calls without a 32 form. execve, execveat, rt_sigaction, rt_sigprocmask and the bind and connect of socketcall are trapped too but handled by the stub itself, see trapped_i386.

§Arguments

  • nr - i386 syscall number.

§Returns

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