syscall.sh / s390x / uname

uname

get name and information about current kernel

sys_newuname(struct new_utsname *name)
number122 (0x7a)
abicommon
entry pointsys_newuname
sinceLinux 4.16
man pageuname(2)
sourceelixir.bootlin.com

Registers

registervalue
r1122, the syscall number
r2struct new_utsname *name
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/uname