From nobody Sat Nov 25 10:35:34 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 4ScpCV6Z4dz51fTL for ; Sat, 25 Nov 2023 10:35:34 +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 4ScpCV4X3gz3crP for ; Sat, 25 Nov 2023 10:35:34 +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=1700908534; 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; bh=+Hyokf5lRM6TFHYkqpfgoyTrHKU0KSNEkgVTza9KpFs=; b=NG55PATengH6phJEQIKax8SzD4JIlz3hbcjRz99ZnLQH4rvb1888XND6ozwpRiobaDLe3D 4TmAWSi80SW4fWbYEUPlMWK7hAglBH8W7vY3jDWY7h7mFeUf/3oEv/O7HrVE+RMb7CU+ME mLc8y4+LQxDfxjZFJh4P3s45YtU8X2X+7yG1YW6IiE+KYV36Z1O57V6YOJ0mFyFygSpoM9 4CYCXGEOdoHhjxESbHRlezdt03WNuVzDl4+FsPHkJf+vjrjwdyLCeDlQY8GiEO/TJJPZCP /9DWh4VChjuiLnQkeJ2XHrl3ij8GX/s9d/yeTx5UIW/zFOFMUEMU5fyYv27zUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700908534; a=rsa-sha256; cv=none; b=VFAb0A1dXJXhXc/N0S427DWXjHtMeu0wRu0uBDt2t8GFEa7GKdPKh86HXo1UfOGZLwOFSN xtzAZoFEne2nXKn4b8z9HnoVG6y/3iwEKC36lI7OwN84XDeCvUQaEBMwdRBPB8W0kw1NTH xXgmdXY+ysteMAU+8e22876xn10/RSsLlsmWGpFLlmu/cvIbOhpZuBASKUoqh3++OBr6SA xJ4HaanD5bMRwRRJ4S9wlvg7CyE6ITXyG9JZYTtWGNlILFwb27I6EqW6maZS6zPO1qNvjy Fxfrwd2tkRzDVtKxmeA/Ua4GBnwOWTaFLlTjrrLVO1g/aiUChvNYhZHfzzuiZA== 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 4ScpCV3b8tz1PGT for ; Sat, 25 Nov 2023 10:35:34 +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 3APAZYhR002094 for ; Sat, 25 Nov 2023 10:35:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3APAZYLO002093 for standards@FreeBSD.org; Sat, 25 Nov 2023 10:35:34 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 10:35:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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 Bug ID: 275328 Summary: fails to expose SA_* macros without XSI Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: standards Assignee: standards@FreeBSD.org Reporter: jbeich@FreeBSD.org According to POSIX.1-2008: > Issue 7 [...] > The SA_RESETHAND, SA_RESTART, SA_SIGINFO, SA_NOCLDWAIT, and SA_NODEFER co= nstants are moved from the XSI option to the Base. https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/basedefs/signa= l.h.html https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html which doesn't seem to work on FreeBSD: $ cc a.c a.c:6:39: error: use of undeclared identifier 'SA_RESTART' 6 | struct sigaction sa =3D { .sa_flags =3D SA_RESTART, /* .sa_handle= r =3D myfunc */ }; | ^ 1 error generated. #define _POSIX_C_SOURCE 200809L #include int main() { struct sigaction sa =3D { .sa_flags =3D SA_RESTART, /* .sa_handler =3D my= func */ }; } --=20 You are receiving this mail because: You are the assignee for the bug.=