Skip to content

Commit

Permalink
Set CLONE_CLEAR_SIGHAND and CLONE_INTO_CGROUP to a large enough type
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Albertz authored and JohnTitor committed Feb 18, 2024
1 parent 3d0b15b commit e9abac9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unix/linux_like/linux/gnu/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1065,8 +1065,8 @@ pub const ELFOSABI_ARM_AEABI: u8 = 64;

// linux/sched.h
pub const CLONE_NEWTIME: ::c_int = 0x80;
pub const CLONE_CLEAR_SIGHAND: ::c_int = 0x100000000;
pub const CLONE_INTO_CGROUP: ::c_int = 0x200000000;
pub const CLONE_CLEAR_SIGHAND: ::c_ulonglong = 0x100000000;
pub const CLONE_INTO_CGROUP: ::c_ulonglong = 0x200000000;

// linux/keyctl.h
pub const KEYCTL_DH_COMPUTE: u32 = 23;
Expand Down

0 comments on commit e9abac9

Please sign in to comment.