syscall.sh / s390x / finit_module

finit_module

load a kernel module

sys_finit_module(int fd, const char *uargs, int flags)
number344 (0x158)
abicommon
entry pointsys_finit_module
sinceLinux 4.16
man pagefinit_module(2)
sourceelixir.bootlin.com

Registers

registervalue
r1344, the syscall number
r2int fd
r3const char *uargs
r4int flags
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/s390x/finit_module