From e9abac9ac224fcba680636ca067326bc614a2da9 Mon Sep 17 00:00:00 2001 From: Florian Albertz Date: Wed, 14 Feb 2024 21:24:35 +0100 Subject: [PATCH] Set CLONE_CLEAR_SIGHAND and CLONE_INTO_CGROUP to a large enough type --- src/unix/linux_like/linux/gnu/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/unix/linux_like/linux/gnu/mod.rs b/src/unix/linux_like/linux/gnu/mod.rs index 461fbda84e133..606997a770cc3 100644 --- a/src/unix/linux_like/linux/gnu/mod.rs +++ b/src/unix/linux_like/linux/gnu/mod.rs @@ -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;