Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 29 Aug 2013 13:38:15 -0400
From: Rich Felker <>
Subject: Re: pselect question

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.


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.