unshare on metag
disassociate parts of the process execution context
sys_unshare(unsigned long unshare_flags)
| number | 97 (0x61) |
|---|---|
| abi | common |
| entry point | sys_unshare |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | unshare(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 97, the syscall number |
D1Ar1 | unsigned long unshare_flags |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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 272
- x86 310
- arm64 97
- arm 337
- riscv64 97
- ia32 310
- x32 1073742096
- loongarch64 97
- ppc64 282
- ppc 282
- s390x 303
- mips64 5262
- mipsn32 6266
- mipso32 4303
- alpha 465
- arc 97
- blackfin 310, removed in 4.17
- cris 310, removed in 4.17
- csky 97
- frv 310, removed in 4.17
- hexagon 97
- ia64 1296, removed in 6.7
- m32r 310, removed in 4.17
- m68k 303
- microblaze 310
- mn10300 311, removed in 4.17
- nds32 97, removed in 5.18
- nios2 97
- openrisc 97
- parisc 288
- score 97, removed in 4.17
- sh 310
- sparc 299
- sparc64 299
- tilegx 97, removed in 4.17
- tilepro 97, removed in 4.17
- xtensa 266
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/unshare?kernel=all