structstd.os.linux.CLONE[src]

Values

ConstantVM[src]

Source Code

Source code
pub const VM = 0x00000100

ConstantFS[src]

Source Code

Source code
pub const FS = 0x00000200

ConstantFILES[src]

Source Code

Source code
pub const FILES = 0x00000400

ConstantSIGHAND[src]

Source Code

Source code
pub const SIGHAND = 0x00000800

ConstantPIDFD[src]

Source Code

Source code
pub const PIDFD = 0x00001000

ConstantPTRACE[src]

Source Code

Source code
pub const PTRACE = 0x00002000

ConstantVFORK[src]

Source Code

Source code
pub const VFORK = 0x00004000

ConstantPARENT[src]

Source Code

Source code
pub const PARENT = 0x00008000

ConstantTHREAD[src]

Source Code

Source code
pub const THREAD = 0x00010000

ConstantNEWNS[src]

Source Code

Source code
pub const NEWNS = 0x00020000

ConstantSYSVSEM[src]

Source Code

Source code
pub const SYSVSEM = 0x00040000

ConstantSETTLS[src]

Source Code

Source code
pub const SETTLS = 0x00080000

ConstantPARENT_SETTID[src]

Source Code

Source code
pub const PARENT_SETTID = 0x00100000

ConstantCHILD_CLEARTID[src]

Source Code

Source code
pub const CHILD_CLEARTID = 0x00200000

ConstantDETACHED[src]

Source Code

Source code
pub const DETACHED = 0x00400000

ConstantUNTRACED[src]

Source Code

Source code
pub const UNTRACED = 0x00800000

ConstantCHILD_SETTID[src]

Source Code

Source code
pub const CHILD_SETTID = 0x01000000

ConstantNEWCGROUP[src]

Source Code

Source code
pub const NEWCGROUP = 0x02000000

ConstantNEWUTS[src]

Source Code

Source code
pub const NEWUTS = 0x04000000

ConstantNEWIPC[src]

Source Code

Source code
pub const NEWIPC = 0x08000000

ConstantNEWUSER[src]

Source Code

Source code
pub const NEWUSER = 0x10000000

ConstantNEWPID[src]

Source Code

Source code
pub const NEWPID = 0x20000000

ConstantNEWNET[src]

Source Code

Source code
pub const NEWNET = 0x40000000

ConstantIO[src]

Source Code

Source code
pub const IO = 0x80000000

ConstantCLEAR_SIGHAND[src]

Clear any signal handler and reset to SIG_DFL.

Source Code

Source code
pub const CLEAR_SIGHAND = 0x100000000

ConstantINTO_CGROUP[src]

Clone into a specific cgroup given the right permissions.

Source Code

Source code
pub const INTO_CGROUP = 0x200000000

ConstantNEWTIME[src]

New time namespace

Source Code

Source code
pub const NEWTIME = 0x00000080

Source Code

Source code
pub const CLONE = struct {
    pub const VM = 0x00000100;
    pub const FS = 0x00000200;
    pub const FILES = 0x00000400;
    pub const SIGHAND = 0x00000800;
    pub const PIDFD = 0x00001000;
    pub const PTRACE = 0x00002000;
    pub const VFORK = 0x00004000;
    pub const PARENT = 0x00008000;
    pub const THREAD = 0x00010000;
    pub const NEWNS = 0x00020000;
    pub const SYSVSEM = 0x00040000;
    pub const SETTLS = 0x00080000;
    pub const PARENT_SETTID = 0x00100000;
    pub const CHILD_CLEARTID = 0x00200000;
    pub const DETACHED = 0x00400000;
    pub const UNTRACED = 0x00800000;
    pub const CHILD_SETTID = 0x01000000;
    pub const NEWCGROUP = 0x02000000;
    pub const NEWUTS = 0x04000000;
    pub const NEWIPC = 0x08000000;
    pub const NEWUSER = 0x10000000;
    pub const NEWPID = 0x20000000;
    pub const NEWNET = 0x40000000;
    pub const IO = 0x80000000;

    // Flags for the clone3() syscall.

    /// Clear any signal handler and reset to SIG_DFL.
    pub const CLEAR_SIGHAND = 0x100000000;
    /// Clone into a specific cgroup given the right permissions.
    pub const INTO_CGROUP = 0x200000000;

    // cloning flags intersect with CSIGNAL so can be used with unshare and clone3 syscalls only.

    /// New time namespace
    pub const NEWTIME = 0x00000080;
}