unshare on score
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.7 or earlier (3.7 is the first release scanned for score) |
| man page | unshare(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 97, the syscall number |
r4 | unsigned long unshare_flags |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
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
- metag 97, removed in 4.17
- microblaze 310
- mn10300 311, removed in 4.17
- nds32 97, removed in 5.18
- nios2 97
- openrisc 97
- parisc 288
- 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/score/unshare?kernel=all