|
Message-ID: <CAK4o1Wxt0ck1WWG-M_LgjLnu6haMpp0zc5BRQxP0krqMAa3xHA@mail.gmail.com> Date: Thu, 29 Aug 2013 19:20:56 +0100 From: Justin Cormack <justin@...cialbusservice.com> To: musl@...ts.openwall.com Subject: Re: pselect question On Thu, Aug 29, 2013 at 6:38 PM, Rich Felker <dalias@...ifal.cx> wrote: > On Thu, Aug 29, 2013 at 05:26:56PM +0100, Justin Cormack wrote: >> I see pselect has the oddest kernel interface since the last odd one. >> >> However the bit long data[2] = { (long)mask, _NSIG/8 }; looks like it >> could be incorrect on MIPS where _NSIG is 128... is that right? >> >> (just got a mips box, must install it). > > Why do you think it's wrong? All of the kernel interfaces that take a > sigset_t argument include an additional argument specifying the usable > size of the sigset_t, and the kernel issues an error (EINVAL if I'm > not mistaken) unless the argument matches the kernel's idea of the > size of sigset_t. On MIPS, the expected size is 16. Sorry, ignore me, I misread it... Justin
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.