NetBSD Problem Report #59146
From www@netbsd.org Thu Mar 6 13:59:30 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 8966E1A9239
for <gnats-bugs@gnats.NetBSD.org>; Thu, 6 Mar 2025 13:59:30 +0000 (UTC)
Message-Id: <20250306135929.2FDC81A923C@mollari.NetBSD.org>
Date: Thu, 6 Mar 2025 13:59:29 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: POSIX.1-2024: async-signal-safety audit
X-Send-Pr-Version: www-1.0
>Number: 59146
>Category: lib
>Synopsis: POSIX.1-2024: async-signal-safety audit
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Mar 06 14:00:01 +0000 2025
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The Async-signal-safeBSD Forkation
>Environment:
>Description:
The list of functions required by POSIX.1-2024 to be async-signal-safe is here:
https://pubs.opengroup.org/onlinepubs/9799919799/functions/V2_chap02.html#tag_16_04_03
We should review the list of functions in the sigaction(2) man page to make sure there's nothing missing (https://man.NetBSD.org/sigaction.2), and audit them to make sure they are async-signal-safe.
We can, of course, add our own functions to the list if we want to provide stronger guarantees than POSIX does.
>How-To-Repeat:
standards inspection
https://pubs.opengroup.org/onlinepubs/9799919799/functions/V2_chap02.html#tag_16_04_03
>Fix:
Yes, please!
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.