syscall.sh / sh / unshare
unshare
disassociate parts of the process execution context
sys_unshare(unsigned long unshare_flags)
| number | 310 (0x136) |
|---|---|
| abi | common |
| entry point | sys_unshare |
| since | Linux 5.0 |
| man page | unshare(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r3 | 310, the syscall number |
r4 | unsigned long unshare_flags |
r0 | the return value |
Then run trapa #31 to enter the kernel.
Same syscall on other architectures
- x64 272
- x86 310
- arm64 97
- arm 337
- riscv64 97
- x32 1073742096
- loongarch64 97
- ppc64 282
- ppc 282
- s390x 303
- mips64 5262
- mipsn32 6266
- mipso32 4303
- alpha 465
- arc 97
- csky 97
- hexagon 97
- m68k 303
- microblaze 310
- nios2 97
- openrisc 97
- parisc 288
- sparc 299
- sparc64 299
- xtensa 266
Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/unshare