Skip to content

Commit

Permalink
Auto merge of #3029 - devnexen:pidfd_nonblock_uclibc, r=JohnTitor
Browse files Browse the repository at this point in the history
PIDFD_NONBLOCK addition into uclibc.

closes #3026.
  • Loading branch information
bors committed Jan 8, 2023
2 parents c12fc0d + a5e695a commit 44cc30c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/uclibc/arm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ pub const POLLWRBAND: ::c_short = 0x200;
pub const POLLWRNORM: ::c_short = 0x100;
pub const PTHREAD_STACK_MIN: ::size_t = 16384;
pub const RTLD_GLOBAL: ::c_int = 0x00100;
pub const PIDFD_NONBLOCK: ::c_int = 0x800;

// These are typed unsigned to match sigaction
pub const SA_NOCLDSTOP: ::c_ulong = 0x1;
Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/uclibc/mips/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ pub const O_ASYNC: ::c_int = 0x1000;
pub const O_NDELAY: ::c_int = 0x80;

pub const SOCK_NONBLOCK: ::c_int = 128;
pub const PIDFD_NONBLOCK: ::c_int = 128;

pub const EDEADLK: ::c_int = 45;
pub const ENAMETOOLONG: ::c_int = 78;
Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/uclibc/x86_64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ pub const __SIZEOF_PTHREAD_COND_T: usize = 48;
pub const __SIZEOF_PTHREAD_CONDATTR_T: usize = 4;
pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56;
pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: usize = 8;
pub const PIDFD_NONBLOCK: ::c_int = 04000;

cfg_if! {
if #[cfg(target_os = "l4re")] {
Expand Down

0 comments on commit 44cc30c

Please sign in to comment.