syscall.sh / s390x / uselib

uselib

load shared library

sys_uselib(const char *library)
number86 (0x56)
abicommon
entry pointsys_uselib
sinceLinux 4.16
man pageuselib(2)
sourceelixir.bootlin.com

Registers

registervalue
r186, the syscall number
r2const char *library
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/uselib