# Escape attempt: a new user namespace would give capabilities inside it; # unshare is killed by the seccomp policy. import ctypes CLONE_NEWUSER = 0x10000000 libc = ctypes.CDLL(None, use_errno=True) libc.unshare(CLONE_NEWUSER) print("unshare returned")