Skip to content

Commit 590d2a4

Browse files
committed
Add time namespace constant
This constant is a possible bitflag argument for `unshare`: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/uapi/linux/sched.h?h=v6.6-rc1#n44 I am unsure about its support in Fuchsia, which is why I have not added the constant there.
1 parent f23ce9e commit 590d2a4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libc-test/semver/linux.txt

+1
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ CLONE_THREAD
292292
CLONE_UNTRACED
293293
CLONE_VFORK
294294
CLONE_VM
295+
CLONE_NEWTIME
295296
CLOSE_RANGE_CLOEXEC
296297
CLOSE_RANGE_UNSHARE
297298
CMSG_DATA

src/unix/linux_like/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1156,6 +1156,7 @@ pub const ONLRET: ::tcflag_t = 0o000040;
11561156
pub const OFILL: ::tcflag_t = 0o000100;
11571157
pub const OFDEL: ::tcflag_t = 0o000200;
11581158

1159+
pub const CLONE_NEWTIME: ::c_int = 0x80;
11591160
pub const CLONE_VM: ::c_int = 0x100;
11601161
pub const CLONE_FS: ::c_int = 0x200;
11611162
pub const CLONE_FILES: ::c_int = 0x400;

0 commit comments

Comments
 (0)