syscall.sh / sh / olduname
olduname
get name and information about current kernel
sys_uname(struct old_utsname *name)
| number | 109 (0x6d) |
|---|---|
| abi | common |
| entry point | sys_uname |
| since | Linux 5.0 |
| man page | olduname(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 109, the syscall number |
r4 | struct old_utsname *name |
r0 | the 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/olduname