syscall.sh / sh / uname

uname

get name and information about current kernel

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

Registers

registervalue
r3122, the syscall number
r4struct new_utsname *name
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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