Skip to content

Commit

Permalink
Move constant to GNU
Browse files Browse the repository at this point in the history
  • Loading branch information
cd-work committed Oct 2, 2023
1 parent 590d2a4 commit 5c2ce3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/unix/linux_like/linux/gnu/mod.rs
Expand Up @@ -944,6 +944,9 @@ pub const NT_PRFPXREG: ::c_int = 20;

pub const ELFOSABI_ARM_AEABI: u8 = 64;

// linux/sched.h
pub const CLONE_NEWTIME: ::c_int = 0x80;

// linux/keyctl.h
pub const KEYCTL_DH_COMPUTE: u32 = 23;
pub const KEYCTL_PKEY_QUERY: u32 = 24;
Expand Down
1 change: 0 additions & 1 deletion src/unix/linux_like/mod.rs
Expand Up @@ -1156,7 +1156,6 @@ pub const ONLRET: ::tcflag_t = 0o000040;
pub const OFILL: ::tcflag_t = 0o000100;
pub const OFDEL: ::tcflag_t = 0o000200;

pub const CLONE_NEWTIME: ::c_int = 0x80;
pub const CLONE_VM: ::c_int = 0x100;
pub const CLONE_FS: ::c_int = 0x200;
pub const CLONE_FILES: ::c_int = 0x400;
Expand Down

0 comments on commit 5c2ce3e

Please sign in to comment.