From: dfawcus+lists-tuhs@employees.org (Derek Fawcus)
Subject: [TUHS] MacOS X is Unix (tm)
Date: Tue, 3 Jan 2017 16:09:26 +0000 [thread overview]
Message-ID: <20170103160926.GA83502@cowbell.employees.org> (raw)
In-Reply-To: <586bbe88.njLSal35/ZSrGHMO%schily@schily.net>
On Tue, Jan 03, 2017 at 04:08:56pm +0100, Joerg Schilling wrote:
>
> I should write a test program that retrieved the waitid() results from the the
> SIGCHLD handler and see whether that is OK as well.
>
> Here is the new code:
FWIW, on 10.10.5 [1] this gives essentially the same result as the prior program,
the signal handler seeing the same sign extended 24 bit value:
$ ./posix2
received SIGCHLD (20), si_pid: 2281 si_status: -6946094 si_code: 1
SIGCHLD: si_status in struct siginfo should be 1234567890 (0x499602d2) but is -6946094 (0xff9602d2)
ret: 0 si_pid: 2281 si_status: -6946094 si_code: 1
si_status in struct siginfo should be 1234567890 (0x499602d2) but is -6946094 (0xff9602d2)
Mind, one should probably assign the handler to sa.sa_sigaction, as someone
could implement the struct w/o both fields in a union.
As I recall, there are also other bugs in OSX to do with poll() handling,
so that would be another area where the conformance tests fall short.
DF
[1] Darwin Old-MBA.local 14.5.0 Darwin Kernel Version 14.5.0: Sun Sep 25 22:07:15 PDT 2016; root:xnu-2782.50.9~1/RELEASE_X86_64 x86_64
next prev parent reply other threads:[~2017-01-03 16:09 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.31.1483203495.3779.tuhs@minnie.tuhs.org>
2016-12-31 22:37 ` David
2016-12-31 23:00 ` Kurt H Maier
[not found] ` <CAH1jEzZ7bqmxtJLSnmd8-_MT4BrgnjgFA2+SvKBQAKou8bZzQw@mail.gmail.com>
[not found] ` <CAH1jEzZMJQAMeZSFFHy1qouDXnq3GqqRa_Fw25i+h9z2FBprHw@mail.gmail.com>
[not found] ` <CAH1jEzYJhRsWhf0BiViignp7_Z-HxNbP7=+ChVbmYErrDQXmsQ@mail.gmail.com>
[not found] ` <CAH1jEzbxDAtpMxCRu1hO2ot2K=Ted0HvpBSx67zOg-FcmqrpaQ@mail.gmail.com>
[not found] ` <CAH1jEzaBMMXdxD7xCaSMM4Ciu0Gg7NktQDeVyLEoHkfYoyerTw@mail.gmail.com>
[not found] ` <CAH1jEzZ6mTDqiGu9pkjg2g3S+Lz2sPVY9Y+16dKSf4dkp5j56Q@mail.gmail.com>
[not found] ` <CAH1jEzaMCWR2xYf-FbifnTj4gWJbCEDJBpCx3r3ErxCnEoXSPg@mail.gmail.com>
[not found] ` <CAH1jEzZWkZ6J0NOifZK05gS+fdKiXQaUZDfvdh56Wm-gsbT4rQ@mail.gmail.com>
[not found] ` <CAH1jEza+2i6jEU5wbxFZ-WUOcGi06zyj5g9Si7RAe5xiety42g@mail.gmail.com>
[not found] ` <CAH1jEza7dHxPmhocSE_CkCPafBgaSS3uYF2g4E_J8gYYdRoVwA@mail.gmail.com>
[not found] ` <CAH1jEzYFXowgA3f=GpJ4HBnAYsyUQLOiZ-uoxryMLZAy5BcsXQ@mail.gmail.com>
[not found] ` <CAH1jEzYcZHkfmFYZRZkmapZxx6q-ZZDSQ-qCzVxDvLsQ0XL6Hg@mail.gmail.com>
[not found] ` <CAH1jEzaqJAuKXOnSvaadoavuQKHf-dT-rtywpdCyFoaWR1k ydQ@mail.gmail.com>
[not found] ` <CAH1jEzaqJAuKXOnSvaadoavuQKHf-dT-rtywpdCyFoaWR1kydQ@mail.gmail.com>
[not found] ` <CAH1jEzbwsEZoADTzBxQQ=OArVc4CLCW8U3e3JmK_BaZzfRjc4A@mail.gmail.com>
[not found] ` <CAH1jEzZ7EG_xYL51uog1ZdaZ1ZMuznS1OkUYYMa9bSJxkQxWrQ@mail.gmail.com>
[not found] ` <CAH1jEzaSJuRkGnVO970JuMnFeht7at2c-L44i1zZ-ejTMdr8Sg@mail.gmail.com>
[not found] ` <CAH1jEzZi2erJEz3fUajE5VxH+3XiWosxfr7ib_r1ZHbdqSFWNg@mail.gmail.com>
[not found] ` <CAH1jEzZmx_4JfdU+HseZzM+F=BvRgUU5brX6A+xkaFbosp8PLg@mail.gmail.com>
[not found] ` <CAH1jEzYjaNVccZtuu4znPPddhGK-DxFdeuV-higNK6dpc9gSqQ@mail.gmail.com>
[not found] ` <CAH1jEzarFb_S4EZ0SAqxTdQr1eD58_G3f3ae0Xtwrmg8VxZGAA@mail.gmail.com>
[not found] ` <CAH1jEzav7rijjpvDrogQKS5dJb09azgnogdGtSsqmPpTHFL7Hg@mail.gmail.com>
[not found] ` <CAH1jEza_oXr33-mjKV7aOVO2U4E953OpQ7dqMABVUp-uix4pJQ@mail.gmail.com>
[not found] ` <CAH1jEzZqs6H9zCyLL1eveAHfEq3SminYBGDyLYwNUxE-h9nDng@mail.gmail.com>
[not found] ` <CAH1jEzb_28daq6EOV1GMg8g-OM_sevbf8_EVE7dprgaVvrMiqA@mail.gmail.com>
2017-01-01 0:43 ` Nick Downing
2017-01-01 10:26 ` Tim Bradshaw
2017-01-01 13:01 ` Ron Natalie
[not found] ` <95D6B274-6D3F-4610-873A-76F4707AE89B@tfe b.org>
2017-01-01 13:56 ` Tim Bradshaw
2017-01-01 19:33 ` David
2017-01-01 20:12 ` Tim Bradshaw
2017-01-03 14:11 ` David
2017-01-01 20:28 ` Kurt H Maier
2017-01-01 20:38 ` Larry McVoy
2017-01-03 13:17 ` Joerg Schilling
2017-01-03 15:52 ` [TUHS] ZFS (was: Re: MacOS X is Unix (tm)) Michael Kjörling
2017-01-03 16:41 ` Joerg Schilling
2017-01-03 18:20 ` [TUHS] MacOS X is Unix (tm) Larry McVoy
2017-01-06 12:56 ` Joerg Schilling
2017-01-02 10:06 ` arnold
2017-01-02 11:34 ` Ron Natalie
2017-01-02 12:24 ` arnold
2017-01-02 16:42 ` Chet Ramey
2017-01-01 13:28 ` Michael Kjörling
2017-01-02 11:31 ` Joerg Schilling
2017-01-02 16:32 ` Nemo
2017-01-02 16:53 ` Joerg Schilling
2017-01-02 16:44 ` Chet Ramey
2017-01-02 16:49 ` Larry McVoy
2017-01-02 17:02 ` Joerg Schilling
2017-01-02 17:05 ` Chet Ramey
2017-01-02 17:32 ` Larry McVoy
2017-01-02 17:53 ` Chet Ramey
2017-01-02 17:37 ` Christian Neukirchen
2017-01-03 14:06 ` David
2017-01-03 14:33 ` Random832
2017-01-03 15:08 ` Joerg Schilling
2017-01-03 16:09 ` Derek Fawcus [this message]
2017-01-03 16:47 ` Joerg Schilling
2017-01-03 17:29 ` Random832
2017-01-03 17:51 ` Joerg Schilling
2017-01-03 14:49 ` Joerg Schilling
2017-01-03 17:39 ` David
2017-01-03 17:59 ` Derek Fawcus
2017-01-03 18:04 ` Joerg Schilling
2017-01-03 18:32 ` Ron Natalie
2017-01-03 18:33 ` Clem Cole
2017-01-03 18:35 ` Clem Cole
2017-01-03 18:45 ` Ron Natalie
2017-03-11 6:35 ` jsteve
2017-03-11 15:36 ` Derrik Walker v2.0
2017-03-11 16:33 ` Paul Winalski
2017-01-03 22:31 ` Random832
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170103160926.GA83502@cowbell.employees.org \
--to=dfawcus+lists-tuhs@employees.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).