From nobody Sat Nov 25 16:41:49 2023 X-Original-To: standards@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ScyL54805z52Ws5 for ; Sat, 25 Nov 2023 16:41:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ScyL533XNz4dK1 for ; Sat, 25 Nov 2023 16:41:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700930509; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=v8XBF9OZA75EYK+ToRhXIe3V/gRFgXxvVpQnJmwskbY=; b=GdUoSVIn3KqiAr1b3fALjaWsVVPpNquGEhshLMqNSScfVajbfT3zsmocb3IVn3ikL+Mu19 2BcSqzCPH2/aTW1+95alY50NdjcRhtJ9KvELsCVCh/Nm+6esB4ckaedQ78fgZ8QIcyhsTD yUVHm2n3FVmRVk6czYp43VOHCaWEJdyodfICraI1f6bL5vuxWf4UVxT0Vdv8GyzvVUsEpX I7DOOjEQxZQtgxI6u9dMNzwZR8epBFKasEhqx+JSOVwZLvs3f7lM+Ac12K1lq3Mh8UdqV0 Nq3Ndzdp/wFfxn6Ch42gUGWYsGLx2LfZ0fSPHhIH1kOwe56XDrppjiXUgQbQHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700930509; a=rsa-sha256; cv=none; b=cbHvMc60DD4jwPkxlaz9KJ935MGKAH4RqgE9Z8s3mYUQHE1CnnVnzeUgbC96RViy2Gljux RzXHfwhIjTACDo8I262btcLNOel/3oi6JVbY2XsFi6TxcSCn+RreqCKWHveyQFEM6JokKZ 92xPHKaLiVv17Z2u7Dx/cjkSmM0Ef4xNmgtLafRBIknQjTbEjaqhTLj190jTdNsMKSlfAy zms2Ssicyl620o2izXW61213xOFVa5qQ8n2aHrkvbUo3yG1AQdrwNF4Sgyiyds06MqYPsz 0egrHTNAELagT5MXWaDmKflZIFRnv/kCGLeKForuW9x/XaVxsmJ51YFy1ETREw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ScyL527Vyz5ff for ; Sat, 25 Nov 2023 16:41:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3APGfnEP033368 for ; Sat, 25 Nov 2023 16:41:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3APGfnwP033366 for standards@FreeBSD.org; Sat, 25 Nov 2023 16:41:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 275328] fails to expose SA_* macros without XSI Date: Sat, 25 Nov 2023 16:41:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: imp@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275328 Warner Losh changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |imp@FreeBSD.org Assignee|standards@FreeBSD.org |imp@FreeBSD.org Status|New |Open --- Comment #1 from Warner Losh --- diff --git a/sys/sys/signal.h b/sys/sys/signal.h index 0ab2a205a92c..8f3a0dec8fee 100644 --- a/sys/sys/signal.h +++ b/sys/sys/signal.h @@ -391,7 +391,7 @@ struct sigaction { #define SA_NOCLDSTOP 0x0008 /* do not generate SIGCHLD on child stop */ #endif /* __POSIX_VISIBLE || __XSI_VISIBLE */ -#if __XSI_VISIBLE +#if __XSI_VISIBLE || __POSIX_VISIBLE >=3D 200809 #define SA_ONSTACK 0x0001 /* take signal on signal stack */ #define SA_RESTART 0x0002 /* restart system call on signal re= turn */ #define SA_RESETHAND 0x0004 /* reset to SIG_DFL when taking sig= nal */ Appears to be the ask. It seems reasonable. I'll note that there's a number= of alignment issues with the standards that we have (usually erring on the sid= e of defining too much). A large part of the reason for this is that while POSIX.1-2008 (aka Issue 7) and (to a lessor degree) POSIX.1-2001 (issue 6) = are basically available, earlier versions are not, so it is kinda hard to retrospectively get all the fiddly details right. other implementations also are sloppy in this regard towards earlier standards, leading to the mistaken impression that symbols are available earlier than they really are (note: n= ote the case here, this bug is spot on). Unless I see an objection soonish, I'll commit and merge this in the coming weeks. Is there a specific port for this that prompted this test/bug? --=20 You are receiving this mail because: You are the assignee for the bug.=