aboutsummaryrefslogtreecommitdiff
path: root/src/sys/unix.rs
diff options
context:
space:
mode:
authorDavid LeGare <legare@google.com>2022-03-03 02:43:05 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-03-03 02:43:05 +0000
commit2d0463460b1cad6fb78b1b2c75adb675ff0b3465 (patch)
treefa75cb911f3976cb5994a09764373f0edd644abb /src/sys/unix.rs
parentbfc892909c6dbec1c8e3f1e95ba1afeeb2c444b5 (diff)
parent0ea93d7d7c90197ee82b42cbdf27c5fbfe2c5ff3 (diff)
downloadshared_child-2d0463460b1cad6fb78b1b2c75adb675ff0b3465.tar.gz
Update shared_child to 1.0.0 am: 384a131edc am: 1a1ad39a5a am: e53f7d4621 am: 0ea93d7d7c
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/shared_child/+/2005937 Change-Id: I1ec6c4468b0388cf930e52cc88a9a52a48f91780
Diffstat (limited to 'src/sys/unix.rs')
-rw-r--r--src/sys/unix.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sys/unix.rs b/src/sys/unix.rs
index 400f910..abdfa48 100644
--- a/src/sys/unix.rs
+++ b/src/sys/unix.rs
@@ -48,9 +48,6 @@ pub fn try_wait_without_reaping(handle: Handle) -> io::Result<bool> {
// invocation, then check for a non-zero value afterwards.
//
// https://github.com/opensource-apple/xnu/blob/0a798f6738bc1db01281fc08ae024145e84df927/bsd/kern/kern_exit.c#L2150-L2156
- //
- // XXX: The siginfo_t struct has padding. Does that make it unsound to
- // initialize it this way?
siginfo = std::mem::zeroed();
libc::waitid(
libc::P_PID,