syscall.sh / x32 / kexec_load

kexec_load

load a new kernel for later execution

compat_sys_kexec_load(unsigned long entry, unsigned long nr_segments, struct kexec_segment *segments, unsigned long flags)
number1073742352 (0x40000210)
abix32
entry pointcompat_sys_kexec_load
sinceLinux 3.4
man pagekexec_load(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742352, the syscall number
rdiunsigned long entry
rsiunsigned long nr_segments
rdxstruct kexec_segment *segments
r10unsigned long flags
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/kexec_load