uname on cris
get name and information about current kernel
sys_newuname(struct new_utsname *name)
| number | 122 (0x7a) |
|---|---|
| abi | common |
| entry point | sys_newuname |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for cris) |
| man page | uname(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r9 | 122, the syscall number |
r10 | struct new_utsname *name |
r10 | the return value |
Then run break 13 to enter the kernel.
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
- 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
- score 160, removed in 4.17
- 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/cris/uname?kernel=all