![]() |
|
Message-ID: <aEXzb8kiBYXnYBZO@voyager> Date: Sun, 8 Jun 2025 22:32:47 +0200 From: Markus Wichmann <nullplan@....net> To: musl@...ts.openwall.com Cc: Bobby Bingham <koorogi@...rogi.info> Subject: Re: The `sigpause` function behavior does not fully comply with the POSIX specification Am Sun, Jun 08, 2025 at 02:49:32PM -0400 schrieb Rich Felker: > This would probably call for an interpretation, except that the > functions were removed from the standard and the standard no longer > has anything to say about them. So I'm not sure what's best to do. > > If the historical precedent in other implementations is for not > reporting an error here, and applications are expecting that, perhaps > we should revert the change? > > Rich bionic will also return a sigdelset() failure to the caller, as will glibc. newlib will not, it just silently ignores the error. dietlibc does not have sigpause(), at least not that I could find. So it seems like the most popular libc implementations do indeed return EINVAL for invalid signals. Ciao, Markus
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.