syscall.sh / x64 / unshare

unshare

disassociate parts of the process execution context

sys_unshare(unsigned long unshare_flags)
number272 (0x110)
abicommon
entry pointsys_unshare
sinceLinux 3.3
man pageunshare(2)
sourceelixir.bootlin.com

Registers

registervalue
rax272, the syscall number
rdiunsigned long unshare_flags
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/unshare