syscall.sh / arm / unshare
unshare
disassociate parts of the process execution context
sys_unshare(unsigned long unshare_flags)
| number | 337 (0x151) |
|---|---|
| abi | common |
| entry point | sys_unshare |
| since | Linux 4.10 |
| man page | unshare(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r7 | 337, the syscall number |
r0 | unsigned long unshare_flags |
r0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 272
- x86 310
- arm64 97
- 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
- sh 310
- sparc 299
- sparc64 299
- xtensa 266
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm/unshare