syscall.sh / x86 / uname

uname

get name and information about current kernel

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

Registers

registervalue
eax122, the syscall number
ebxstruct new_utsname *name
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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