⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module seccomp_offsets

Module seccomp_offsets 

Source
Expand description

Seccomp data offsets (for x86_64 struct seccomp_data layout).

Constants§

ARCH
Offset of architecture (arch field).
ARG0_HI
ARG0_LO
Offset of syscall arguments (args[0..5]).
ARG1_HI
ARG1_LO
ARG2_HI
ARG2_LO
ARG3_HI
ARG3_LO
ARG4_HI
ARG4_LO
ARG5_HI
ARG5_LO
IP_HI
IP_LO
Offset of instruction pointer (instruction_pointer field).
NR
Offset of syscall number (nr field).