Skip to content

Commit bcfd392

Browse files
committed
Auto merge of #2509 - devnexen:linux_posix_spawn_usevfork, r=Amanieu
linux/android add POSIX_SPAWN_USEVFORK (mostly no-op now) extension. closes #2269
2 parents 2af710a + 7877856 commit bcfd392

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
@@ -1529,6 +1529,7 @@ POSIX_SPAWN_SETSCHEDPARAM
15291529
POSIX_SPAWN_SETSCHEDULER
15301530
POSIX_SPAWN_SETSIGDEF
15311531
POSIX_SPAWN_SETSIGMASK
1532+
POSIX_SPAWN_USEVFORK
15321533
PROT_GROWSDOWN
15331534
PROT_GROWSUP
15341535
PR_CAPBSET_DROP

src/unix/linux_like/linux/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,7 @@ pub const POSIX_MADV_NORMAL: ::c_int = 0;
13301330
pub const POSIX_MADV_RANDOM: ::c_int = 1;
13311331
pub const POSIX_MADV_SEQUENTIAL: ::c_int = 2;
13321332
pub const POSIX_MADV_WILLNEED: ::c_int = 3;
1333+
pub const POSIX_SPAWN_USEVFORK: ::c_int = 64;
13331334

13341335
pub const S_IEXEC: mode_t = 64;
13351336
pub const S_IWRITE: mode_t = 128;

0 commit comments

Comments
 (0)