Skip to content

Commit

Permalink
Auto merge of #3003 - devnexen:musl_pidfd_nonblock, r=JohnTitor
Browse files Browse the repository at this point in the history
linux musl adding `PIDFD_NONBLOCK` constant.

closes #3002
  • Loading branch information
bors committed Nov 30, 2022
2 parents 855a6fc + 0993260 commit b8c8e13
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libc-test/semver/linux-musl.txt
Expand Up @@ -20,6 +20,7 @@ LIO_WRITE
PF_IB
PF_MPLS
PF_XDP
PIDFD_NONBLOCK
PR_SET_VMA
PR_SET_VMA_ANON_NAME
adjtimex
Expand Down Expand Up @@ -54,4 +55,4 @@ asctime_r
strftime
strptime
dirname
basename
basename
2 changes: 2 additions & 0 deletions src/unix/linux_like/linux/musl/mod.rs
Expand Up @@ -590,6 +590,8 @@ pub const EFD_NONBLOCK: ::c_int = ::O_NONBLOCK;

pub const SFD_NONBLOCK: ::c_int = ::O_NONBLOCK;

pub const PIDFD_NONBLOCK: ::c_uint = O_NONBLOCK as ::c_uint;

pub const TCSANOW: ::c_int = 0;
pub const TCSADRAIN: ::c_int = 1;
pub const TCSAFLUSH: ::c_int = 2;
Expand Down

0 comments on commit b8c8e13

Please sign in to comment.