Skip to content

Commit e9abac9

Browse files
Florian AlbertzJohnTitor
Florian Albertz
authored andcommitted
Set CLONE_CLEAR_SIGHAND and CLONE_INTO_CGROUP to a large enough type
1 parent 3d0b15b commit e9abac9

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

Lines changed: 2 additions & 2 deletions
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)