Skip to content

Commit

Permalink
Merge pull request #4226 from SteveLauC/CLONE_NEWTIME_musl
Browse files Browse the repository at this point in the history
add CLONE_NEWTIME to Linux/musl
  • Loading branch information
tgross35 authored Jan 10, 2025
2 parents 94d0ee2 + e5a8390 commit 4abcd81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/linux-musl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ AIO_ALLDONE
AIO_CANCELED
AIO_NOTCANCELED
BOOT_TIME
CLONE_NEWTIME
DEAD_PROCESS
EMPTY
Elf32_Chdr
Expand Down
2 changes: 2 additions & 0 deletions src/unix/linux_like/linux/musl/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,8 @@ pub const MAXTC: c_long = 6;
pub const _CS_V6_ENV: c_int = 1148;
pub const _CS_V7_ENV: c_int = 1149;

pub const CLONE_NEWTIME: c_int = 0x80;

cfg_if! {
if #[cfg(target_arch = "s390x")] {
pub const POSIX_FADV_DONTNEED: c_int = 6;
Expand Down

0 comments on commit 4abcd81

Please sign in to comment.