def unshare(flags):
res = lib.unshare(flags)<EOL>if res != <NUM_LIT:0>:<EOL><INDENT>_check_error(ffi.errno)<EOL><DEDENT>
Disassociate parts of the process execution context.

:param flags int: A bitmask that specifies which parts of the execution
    context should be unshared.