pivot_root on mn10300
change the root mount
sys_pivot_root(const char *new_root, const char *put_old)
| number | 217 (0xd9) |
|---|---|
| abi | common |
| entry point | sys_pivot_root |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for mn10300) |
| man page | pivot_root(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 217, the syscall number |
a0 | const char *new_root |
d1 | const char *put_old |
d0 | the return value |
Then run syscall 0 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 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
- nds32 41, removed in 5.18
- nios2 41
- openrisc 41
- parisc 67
- score 41, removed in 4.17
- sh 217
- sparc 146
- sparc64 146
- tilegx 41, removed in 4.17
- tilepro 41, removed in 4.17
- xtensa 175
Get this as JSON: https://api.syscall.sh/v2/syscalls/mn10300/pivot_root?kernel=all