Skip to content

Commit 0da7bba

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 3124475 + ff29f2e commit 0da7bba

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

libc-test/semver/android.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,6 +1622,7 @@ POSIX_FADV_NORMAL
16221622
POSIX_FADV_RANDOM
16231623
POSIX_FADV_SEQUENTIAL
16241624
POSIX_FADV_WILLNEED
1625+
POSIX_SPAWN_USEVFORK
16251626
PR_SET_VMA
16261627
PR_SET_VMA_ANON_NAME
16271628
PRIO_MAX

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)