syscall.sh / arc / uname

uname

get name and information about current kernel

sys_newuname(struct new_utsname *name)
number160 (0xa0)
abicommon
entry pointsys_newuname
sinceLinux 3.9
man pageuname(2)
sourceelixir.bootlin.com

Registers

registervalue
r8160, the syscall number
r0struct new_utsname *name
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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