Skip to content

Commit 7ce81ca

Browse files
authored
Merge pull request #3585 from UhhhWaitWhat/main
Set CLONE_CLEAR_SIGHAND and CLONE_INTO_CGROUP to a large enough type
2 parents 59f724c + e9abac9 commit 7ce81ca

File tree

1 file changed

+2
-2
lines changed
  • src/unix/linux_like/linux/gnu

1 file changed

+2
-2
lines changed

src/unix/linux_like/linux/gnu/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1065,8 +1065,8 @@ pub const ELFOSABI_ARM_AEABI: u8 = 64;
10651065

10661066
// linux/sched.h
10671067
pub const CLONE_NEWTIME: ::c_int = 0x80;
1068-
pub const CLONE_CLEAR_SIGHAND: ::c_int = 0x100000000;
1069-
pub const CLONE_INTO_CGROUP: ::c_int = 0x200000000;
1068+
pub const CLONE_CLEAR_SIGHAND: ::c_ulonglong = 0x100000000;
1069+
pub const CLONE_INTO_CGROUP: ::c_ulonglong = 0x200000000;
10701070

10711071
// linux/keyctl.h
10721072
pub const KEYCTL_DH_COMPUTE: u32 = 23;

0 commit comments

Comments
 (0)