site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:received:message-id:subject:to:cc:content-type; bh=NUWy0xeoNgI6TUyjXbvn8x3gOmLrJS622AyL39HK5bc=; b=o7nbb8VOWzyB1nHl6X+WlY9xE5cV37m9S8m0IL2kQO2vrEPh/cwIOeJWsh2n7Fqq7u 4ZqSirpD0MHo//z3Fe/4SUBzwVUuS7OWraCljaytfZqRIp4QWUoYk7vjnIGlE3ZXT+W6 c7TFnHKJnE6nI+ayP2lJ+etbuDi1cUVAD1N3U= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=i5FKdT6sAMT6gLGX9Gndu0sna68j3a9X/7QTlKuEAmoMlEAY1N4VFeDodr5TBtKcPB v5S7KB+15muL+/yc2kF18IOhFXxWK8fWT9psfpzm19XmD0wt6XqLx0qd8YiyQ5pzAqdN GKRFkcXeU9bEJm5nSDwDKwgZE9h1QL3sSFn24=
The kernel is writing the wrong size value into your siginfo_t variable. It looks like it's writing the 64-bit version of siginfo_t, but your 32-bit process has a smaller siginfo_t type. (siginfo_t has pointer and longint fields that change size.)
If you don't need the siginfo_t's values, you should be able to get away with passing a bigger buffer to waitid().
Ah, thanks for the explanation. I presume all members preceding si_addr should be safe? David _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com