Skip to content

Commit 4abcd81

Browse files
authored
Merge pull request #4226 from SteveLauC/CLONE_NEWTIME_musl
add CLONE_NEWTIME to Linux/musl
2 parents 94d0ee2 + e5a8390 commit 4abcd81

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

libc-test/semver/linux-musl.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ AIO_ALLDONE
55
AIO_CANCELED
66
AIO_NOTCANCELED
77
BOOT_TIME
8+
CLONE_NEWTIME
89
DEAD_PROCESS
910
EMPTY
1011
Elf32_Chdr

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -885,6 +885,8 @@ pub const MAXTC: c_long = 6;
885885
pub const _CS_V6_ENV: c_int = 1148;
886886
pub const _CS_V7_ENV: c_int = 1149;
887887

888+
pub const CLONE_NEWTIME: c_int = 0x80;
889+
888890
cfg_if! {
889891
if #[cfg(target_arch = "s390x")] {
890892
pub const POSIX_FADV_DONTNEED: c_int = 6;

0 commit comments

Comments
 (0)