setdomainname on tilepro
get/set NIS domain name
sys_setdomainname(char *name, int len)
| number | 162 (0xa2) |
|---|---|
| abi | common |
| entry point | sys_setdomainname |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | setdomainname(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 162, the syscall number |
r0 | char *name |
r1 | int len |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
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 171
- x86 121
- arm64 162
- arm 121
- riscv64 162
- ia32 121
- x32 1073741995
- loongarch64 162
- ppc64 121
- ppc 121
- s390x 121
- mips64 5166
- mipsn32 6166
- mipso32 4121
- alpha 166
- arc 162
- blackfin 121, removed in 4.17
- cris 121, removed in 4.17
- csky 162
- frv 121, removed in 4.17
- hexagon 162
- ia64 1129, removed in 6.7
- m32r 121, removed in 4.17
- m68k 121
- metag 162, removed in 4.17
- microblaze 121
- mn10300 121, removed in 4.17
- nds32 162, removed in 5.18
- nios2 162
- openrisc 162
- parisc 121
- score 162, removed in 4.17
- sh 121
- sparc 163
- sparc64 163
- tilegx 162, removed in 4.17
- xtensa 199
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/setdomainname?kernel=all