Skip to content

Commit

Permalink
add CLONE_NEWTIME to Linux/musl
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Jan 3, 2025
1 parent 8b69878 commit d05754d
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 @@ -81,3 +81,4 @@ reallocarray
setutxent
tcp_info
timex
CLONE_NEWTIME
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 d05754d

Please sign in to comment.