pivot_root on tilegx
change the root mount
sys_pivot_root(const char *new_root, const char *put_old)
| number | 41 (0x29) |
|---|---|
| abi | common |
| entry point | sys_pivot_root |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilegx) |
| man page | pivot_root(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 41, the syscall number |
r0 | const char *new_root |
r1 | const char *put_old |
r0 | the return value |
Then run swint1 to enter the kernel.
The kernel uses r1 to signal an error.
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 155
- x86 217
- arm64 41
- arm 218
- riscv64 41
- ia32 217
- x32 1073741979
- loongarch64 41
- ppc64 203
- ppc 203
- s390x 217
- mips64 5151
- mipsn32 6151
- mipso32 4216
- alpha 374
- arc 41
- blackfin 217, removed in 4.17
- cris 217, removed in 4.17
- csky 41
- frv 217, removed in 4.17
- hexagon 41
- ia64 1207, removed in 6.7
- m32r 217, removed in 4.17
- m68k 217
- metag 41, removed in 4.17
- microblaze 217
- mn10300 217, removed in 4.17
- nds32 41, removed in 5.18
- nios2 41
- openrisc 41
- parisc 67
- score 41, removed in 4.17
- sh 217
- sparc 146
- sparc64 146
- tilepro 41, removed in 4.17
- xtensa 175
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilegx/pivot_root?kernel=all