Skip to content

Commit 9abb56f

Browse files
committed
Auto merge of #3029 - devnexen:pidfd_nonblock_uclibc, r=JohnTitor
PIDFD_NONBLOCK addition into uclibc. closes #3026.
2 parents 8176272 + a5e695a commit 9abb56f

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

src/unix/linux_like/linux/uclibc/arm/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ pub const POLLWRBAND: ::c_short = 0x200;
466466
pub const POLLWRNORM: ::c_short = 0x100;
467467
pub const PTHREAD_STACK_MIN: ::size_t = 16384;
468468
pub const RTLD_GLOBAL: ::c_int = 0x00100;
469+
pub const PIDFD_NONBLOCK: ::c_int = 0x800;
469470

470471
// These are typed unsigned to match sigaction
471472
pub const SA_NOCLDSTOP: ::c_ulong = 0x1;

src/unix/linux_like/linux/uclibc/mips/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ pub const O_ASYNC: ::c_int = 0x1000;
5252
pub const O_NDELAY: ::c_int = 0x80;
5353

5454
pub const SOCK_NONBLOCK: ::c_int = 128;
55+
pub const PIDFD_NONBLOCK: ::c_int = 128;
5556

5657
pub const EDEADLK: ::c_int = 45;
5758
pub const ENAMETOOLONG: ::c_int = 78;

src/unix/linux_like/linux/uclibc/x86_64/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ pub const __SIZEOF_PTHREAD_COND_T: usize = 48;
330330
pub const __SIZEOF_PTHREAD_CONDATTR_T: usize = 4;
331331
pub const __SIZEOF_PTHREAD_RWLOCK_T: usize = 56;
332332
pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: usize = 8;
333+
pub const PIDFD_NONBLOCK: ::c_int = 04000;
333334

334335
cfg_if! {
335336
if #[cfg(target_os = "l4re")] {

0 commit comments

Comments
 (0)