mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Thorsten Glaser <tg@evolvis.org>
To: musl@lists.openwall.com
Subject: Re: [musl] Re: The `sigpause` function behavior does not fully comply with the POSIX specification
Date: Mon, 9 Jun 2025 20:15:33 +0200 (CEST)	[thread overview]
Message-ID: <4fca7b6c-c051-4373-0ab3-c90e11cc5a75@evolvis.org> (raw)
In-Reply-To: <aEbDlK7qUVEVkTaP@snips.stderr.spb.ru>

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

      parent reply	other threads:[~2025-06-09 18:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-08  8:38 [musl] " Tommy
     [not found] ` <aEWvh5suFabk9EGl@cloudsdale.the-delta.net.eu.org>
     [not found]   ` <f96afb6c-3383-4538-a2c6-e9055365b3b7@koorogi.info>
     [not found]     ` <20250608170923.GM1827@brightrain.aerifal.cx>
     [not found]       ` <3a448a87-4bcb-4c1c-bf78-b3c3d7ee4a29@koorogi.info>
     [not found]         ` <20250608184932.GN1827@brightrain.aerifal.cx>
     [not found]           ` <aEbDlK7qUVEVkTaP@snips.stderr.spb.ru>
2025-06-09 18:15             ` Thorsten Glaser [this message]

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=4fca7b6c-c051-4373-0ab3-c90e11cc5a75@evolvis.org \
    --to=tg@evolvis.org \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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).