uname on score
get name and information about current kernel
sys_newuname(struct new_utsname *name)
| number | 160 (0xa0) |
|---|---|
| abi | common |
| entry point | sys_newuname |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | uname(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 160, the syscall number |
r4 | struct new_utsname *name |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 63
- x86 122
- arm64 160
- arm 122
- riscv64 160
- ia32 122
- x32 1073741887
- loongarch64 160
- ppc64 122
- ppc 122
- s390x 122
- mips64 5061
- mipsn32 6061
- mipso32 4122
- alpha 339
- arc 160
- blackfin 122, removed in 4.17
- cris 122, removed in 4.17
- csky 160
- frv 122, removed in 4.17
- hexagon 160
- ia64 1130, removed in 6.7
- m32r 122, removed in 4.17
- m68k 122
- metag 160, removed in 4.17
- microblaze 122
- mn10300 122, removed in 4.17
- nds32 160, removed in 5.18
- nios2 160
- openrisc 160
- parisc 59
- sh 122
- sparc 189
- sparc64 189
- tilegx 160, removed in 4.17
- tilepro 160, removed in 4.17
- xtensa 208
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/uname?kernel=all