Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4fca7b6c-c051-4373-0ab3-c90e11cc5a75@evolvis.org>
Date: Mon, 9 Jun 2025 20:15:33 +0200 (CEST)
From: Thorsten Glaser <tg@...lvis.org>
To: musl@...ts.openwall.com
Subject: Re: Re: The `sigpause` function behavior does not fully comply
 with the POSIX specification

On Mon, 9 Jun 2025, Valery Ushakov wrote:

>sigpause is a 4.3BSD interface and it used to be a system call that
>did this:

The thing you missed is that there were two mututally incompatible
sigpause functions around.

The 4.3BSD one is obsolete, but still present in BSD libcs, and
merely resolves to:

	int
	sigpause(int mask)
	{
		return (sigsuspend((sigset_t *)&mask));
	}

The incompatible *other* one got standardised for UNIX95 and is
the one removed from latest POSIX. I’d even say drop it the next
time musl bumps the major version anyway.

bye,
//mirabilos
-- 
> Hi, does anyone sell openbsd stickers by themselves and not packaged
> with other products?
No, the only way I've seen them sold is for $40 with a free OpenBSD CD.
	-- Haroon Khalid and Steve Shockley in gmane.os.openbsd.misc

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.