Skip to content

Various Linux CLONE_* flags are missing #3033

Closed
@purplesyringa

Description

@purplesyringa

The complete list of the flags can be seen e.g. here:

https://elixir.bootlin.com/linux/v6.0.12/source/include/uapi/linux/sched.h#L11

The ones that are missing from libc at the moment seem to be:

pub const CLONE_PIDFD: ::c_int = 0x1000;
pub const CLONE_CLEAR_SIGHAND: ::c_int = 0x100000000;
pub const CLONE_INTO_CGROUP: ::c_int = 0x200000000;
pub const CLONE_NEWTIME: ::c_int = 0x80;

I believe they should be added to this list:

pub const CLONE_VM: ::c_int = 0x100;

Sadly I've got my hands full at the moment, so I can't exactly patch it and see if it works, but as this is pretty minor and seems easy to fix, I thought I'd report it anyway.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions