From nobody Tue Feb 6 00:33:54 2024 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 4TTPPZ72Bjz59Ml3 for ; Tue, 6 Feb 2024 00:33:54 +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 4TTPPZ1BDFz4Dk7 for ; Tue, 6 Feb 2024 00:33:54 +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=1707179634; 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=KHTrTLgXREN67Idovm1PMmBoE4lRunK3/Y1KsvIUTPs=; b=WL/OhA7CaHXw3YLH7/pwIhBU8Jc9rkHocCR4CirlLDjiFTRysTIkBfBnCaBji3qLZYH3Oj fTYEzYziGCpCgctRYj2T/m79O3M7E+zmzWzgrRqz1brospH4jdvs/kqf+/U05XY2dGndCQ jQpwfTBzcNi6pUQoiLnEZQL9eRDbt+x+3H4sVKUwDFEFnrToc8OCl4THE76m2p/JGKb+d1 AIePldWMYr/UV1cYhCNzE8yjMKmRmTxoFxEzdXCo6VJ+ZGtMYO9x3nX9zgveGsa7OHgCvx LSP7n36tz5PwDQkNFY1ePTOS0QFEydCgrgVqst27u+qYV1pEoE2Je8pbwMBHRg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707179634; a=rsa-sha256; cv=none; b=nTF9/G3+t8fJcmywDwqoAlXqQ/O3RSCSfKQblB5uTc2crPMIIYOP5bcPeiNYadxWC1KwKb djmMjGimp6bh9fYs2anefy8MvOky4qi9xw9C2abPXD8tXAQDDgYVz9X0RBG/XQ9jr8TYNn b7mCwJVGajYRIPln3QZ6u6wIgrHPwZQHT+xEmIR86WpHJ8mNpV/Xk6GJu756N/FogkxIlk fiJqP1ZGvH2ZzgfFLcEQ7iUqzNklSCO0FF57Fz0CHDMG8cC0fzngcr4qOM4C78aw2fchX/ 0CYCNId8Pw0qBsK377cbadAXpOpxTSlKuogaiiwiIwfSyLMBzWKrKaJDb3aEdg== 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 4TTPPZ0JHSz12C4 for ; Tue, 6 Feb 2024 00:33:54 +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 4160XrmQ051670 for ; Tue, 6 Feb 2024 00:33:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4160Xrjr051669 for standards@FreeBSD.org; Tue, 6 Feb 2024 00:33:53 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 276777] Enabling BSM/audit security can prevent root login Date: Tue, 06 Feb 2024 00:33:54 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: thogard@abnormal.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D276777 --- Comment #1 from Tim Hogard --- It appears this was due to older flags in /etc/security/audit_control If the old Solaris flags were added, specifically ua and pm, and since they aren't in /etc/security/audit_class, the audit mask isn't created and since= it isn't created, root can't log in on the console. I think the login code should allow root to login in the case of a bad (or undefined) audit mask to prevent being locked out of a system. Perhaps the old Sun masks should be added to audit_class as: 0x00000000:ua:obsolete user administration class 0x00000000:pm:obsolete process modify class If someone else runs into this the fix is 1) fix the flags: in audit_contro= l or 2) add the missing classes to audit_class as zeros and ensure the events you needed audited are in the flags: line This applies between 14.0 back to at least 11.X. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Feb 6 00:55:40 2024 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 4TTPtw5Wqwz59Pt4 for ; Tue, 6 Feb 2024 00:55:52 +0000 (UTC) (envelope-from roam@ringlet.net) Received: from irmo.kmail.bg (mx.kmail.bg [82.118.243.170]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4TTPtw30Vyz4J33 for ; Tue, 6 Feb 2024 00:55:52 +0000 (UTC) (envelope-from roam@ringlet.net) Authentication-Results: mx1.freebsd.org; none Received: from straylight.ringlet.net (unknown [93.152.132.21]) by irmo.kmail.bg (Postfix) with ESMTPSA id 7D14D400BB for ; Tue, 6 Feb 2024 02:55:43 +0200 (EET) Received: from roam (uid 1000) (envelope-from roam@ringlet.net) id 1940506 by straylight.ringlet.net (DragonFly Mail Agent v0.13); Tue, 06 Feb 2024 02:55:40 +0200 Date: Tue, 6 Feb 2024 02:55:40 +0200 From: Peter Pentchev To: bugzilla-noreply@freebsd.org Cc: standards@freebsd.org Subject: Re: [Bug 276777] Enabling BSM/audit security can prevent root login Message-ID: References: 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 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9fCeET+nsCfgRb0B" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4TTPtw30Vyz4J33 X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:31083, ipnet:82.118.243.0/24, country:BG] --9fCeET+nsCfgRb0B Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Feb 06, 2024 at 12:33:54AM +0000, bugzilla-noreply@freebsd.org wrot= e: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276777 >=20 > --- Comment #1 from Tim Hogard --- > It appears this was due to older flags in /etc/security/audit_control > If the old Solaris flags were added, specifically ua and pm, and since th= ey > aren't in /etc/security/audit_class, the audit mask isn't created and sin= ce it > isn't created, root can't log in on the console. >=20 > I think the login code should allow root to login in the case of a bad (or > undefined) audit mask to prevent being locked out of a system. [snip discussion of alternative ways, like adding support for the Sun flags] Hmm, I could be wrong here, I have not really used the audit facility, but if managing to corrupt the audit control file could lead to being able to log in as root, even if the previous configuration disallowed that for some cases, would that not introduce a new attack vector? G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@debian.org pp@storpool.com PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint 2EE7 A7A5 17FC 124C F115 C354 651E EFB0 2527 DF13 --9fCeET+nsCfgRb0B Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEELuenpRf8EkzxFcNUZR7vsCUn3xMFAmXBg4gACgkQZR7vsCUn 3xNvyA//XtB6T43qAiQ3W07gobddIv9XnRoRJQSKXg4QvkL2GPGsTGXPHZZbtz5j 8RnbLW5bwB0c71KcCXsmbBTf5/y+wC8dpfl/DPqLuFMk/LlKqXlQBm1/iHKu/4ru jnpqxb87oLQeEri4YjZZFbuSPt0jDoWARhauPsQFeBFwebCBo5uw7I27cBZik7wq Ac0/Ckjkeo5xcFKEoCLKCkW6zPNRo3v4XHs0bKD5BaNr7/7aseuR1h+ZSpxmd7Ia 9VmGZrAxKzmGEvd3EASPTCbYTkFEPC1t/IFRwW6Neo34gMdt9cSmEyvx7/ISo8pz p8xBwe36SKwMeYCZuCjPe6/ihtWhrxBYvHBvXnEwhjLvC8xc14FEro+RXuZVeRIE 56YLqvc/xM6D2AX7vDFUdmbdS/xxEiPXwu+zfiQxptNYhLuMYFcYe5FAvbsCqr5D UjKk408Mm3HhjhI885paficQ6CtMA1bXHzK/VOoWrJjd9pY3TMa1ShysTZKG0GSr kTb0gPqcc34cE0YjHoUkWVVmaJcL8y8ksRMAlMUWcnTeINGjVAmxWiohPkZowPEh u/hfRjNZ23emc0yLrt+juF7lOHLcsx3cQ0OYjnjmqo8UIYpZUb3OGuvjRaohZ5cu y6L3rkuZ9b3R2iBd2nlXfEdPSeZO7ruLeFlH9qLCMcstsKJ7NHw= =+hG0 -----END PGP SIGNATURE----- --9fCeET+nsCfgRb0B-- From nobody Fri Feb 9 19:32:39 2024 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 4TWkX8058xz5BCtL for ; Fri, 9 Feb 2024 19:32:40 +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 4TWkX75019z4nQs for ; Fri, 9 Feb 2024 19:32:39 +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=1707507159; 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=nd+jcrEmAENSP003AAyYhy6v/JraJ6+mvjj+n4O/cg0=; b=ooCNd+r56dLWHsdG8LRF60U00JNzonFbGG1N64MKHlkl8ZaNKE7iYK2mST9vnvYf7kdhtZ pFsOADvtlREuj8winLC8+tm2jRIVA5oZuaKpo6/5VcNXllhXJ2vovhlONzvUnm0NldNZHg /62SQwC8hebK+uFPeLc4arupS6OuVSIVy9u5kznHKcm9t9FHVSmW9fiDwB5muLfxd5k78O juP/X1r+mflJfrcrGIi668xH9iEAkMAhkAPzur75rJn01tRewmmiHpDfewTy1PWDY63I35 lR2qqdm1H+uoOfgABCJHsaWcW/hxEh153BAgiRE7I5LDu8ZjDEIb1Wg21y5W8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707507159; a=rsa-sha256; cv=none; b=gKvsCxBsTfpYZRQQOAp6xXcojjNtJRuHDqm8Tmch7pkN9GdBrUJ2kpWAILPrDSsh13EWci V7WnCXDPyXRlTyAf4anc4yhtQq2vAmnItgta30ZMzm3vuadPMA3fja31BZWF2CrXwSgsfv Zidzfcapm2BEbbVmBWVZuSHIw0OIWkA5ysPntkyMQgJQ6UuEc9YyJAu0t090tGCiK4Y8bP ZwzRjMt/aas/L3h9wFJ1UFkfOrVilmBxAPMtW3+xEJPEVOT7C9EzjOOYBDjDfrzmHfKmdH KjLsKgo0SUnc72OUlivcuepaAam1p7gNvV52o0gIhtLiqE6kd0qjXTTutftuLg== 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 4TWkX7445tzly7 for ; Fri, 9 Feb 2024 19:32:39 +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 419JWdQA062946 for ; Fri, 9 Feb 2024 19:32:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 419JWdBC062944 for standards@FreeBSD.org; Fri, 9 Feb 2024 19:32:39 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 276777] Enabling BSM/audit security can prevent root login Date: Fri, 09 Feb 2024 19:32:39 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc 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=3D276777 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Open CC| |brueffer@FreeBSD.org, | |csjp@FreeBSD.org, | |markj@FreeBSD.org --- Comment #2 from Mark Johnston --- Christian, would you be able to look at this? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Feb 9 19:36:30 2024 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 4TWkcb1GMgz5BCmq for ; Fri, 9 Feb 2024 19:36:31 +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 4TWkcZ3t4Sz4nky for ; Fri, 9 Feb 2024 19:36:30 +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=1707507390; 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=aeVl3y33icNpbXd73dthunUgWjrvGpWlZDUCrOwbhQM=; b=XNhz6FYI6fMyjsI04bjan2Jwhpxs7lI/tlkSe4ttVlY7DTUNXIM8/Zp0YYPs3WUD7Vad5A M/a+GPZIgEyEW5bxbqCA27k6yNDuPBsIHbBWEMPvDepZnznnPe/ZYiNoTZJ0v33uw/CEPR kHwkUoZzSByKHJVoQDEH23axuj4Rgvpm5E6uv/G05MUdsFJU+WP2+OBYfqOpaCrns5uviE /K7rFAZHm8ftycrjxsrH+CZwC8VhpdHEQUDACftvr63qIuI6stWRc6LV2WwdEET13b31VV MINpUizC/ZUUdMPCgwRHfKYDpC3Y0Qv4U3zzT49o2Cr3UlcCp3a1napXkqQKqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707507390; a=rsa-sha256; cv=none; b=yeJcprvbD1oePqv6Bwf1P47zimBQIygfztFrrYrRN0JrVztjgtGCmujuqXIaz47f//a7UJ +V/NkIFpvhNsdtIbH+79nptKXOVPmQmbCGkQ8E7e6Ml5lTdFvrrwl+1HWvMrkhrfmGKkwl TIlkk7cHc9h/aozQN0JC6o81dTtipAZKrAiPf0UeffJFgFXDFYhvVuegdfE1bWVu3lurBW s6ntGb/qoP6IWDwTgDeVUVe17T9SbMcvsoJzE1Ie7k4UckF4vhzxla6xjPN9JwmbfMJRrV dX6QxwA3Oj5j2RwzRPMOwHXaOkmYPllTMaUh2EkQ1IFHsEaCQzbtrzs/P2XDfw== 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 4TWkcZ2xkVzm2K for ; Fri, 9 Feb 2024 19:36:30 +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 419JaULQ074948 for ; Fri, 9 Feb 2024 19:36:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 419JaU5e074947 for standards@FreeBSD.org; Fri, 9 Feb 2024 19:36:30 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 276743] Many SIG* macros in are not visible with _POSIX_C_SOURCE Date: Fri, 09 Feb 2024 19:36:30 +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: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D276743 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |markj@FreeBSD.org Status|New |Open --- Comment #4 from Mark Johnston --- Given that the problem appears to be worked around, and comment 3 explains = why this is arguably not a FreeBSD bug, is there anything else to do? Are other ports affected by this? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Feb 9 20:43:12 2024 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 4TWm5Y0JfJz5BJjl for ; Fri, 9 Feb 2024 20:43:13 +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 4TWm5X5PgCz43GH for ; Fri, 9 Feb 2024 20:43:12 +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=1707511392; 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=eS7jPIf2RafLy6yj2jH1Y8UML75gR9bcxOFEgweAYDQ=; b=nTtcsYduKf9+8QIo+V6RV3DLtlrW9vgZ+P9nPfxNdMUaSaNqUfUlCdsqrSvzIvtpjN4Rk+ 8lHRvdbCV5v0gLud5PG88r7GfyhXavneQ0H4Dm0GTobJt/m3mrxumI32lIeYXEKbwLxi+X ki7G5uAec1VyB77nsoUG4FBfTzxydCehFu1MHnPXAsZuuqTrtLlj4VZ4BvSWAjLf5Qll12 uEv7k5tbgqW+HE0Vo7Ee46Q2+43thlG5hUFg27rrkyXt7YQO4Hm8dgiVdVNb3keFtaxKx/ HYcxD4t0l7YcZpxUq0TVT+63IDo+LTM+J0IZYp1RDqAFiYiKs8HBzKixdMx/Dw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707511392; a=rsa-sha256; cv=none; b=jjG7bV+/57B6WqWWClgKu33ofnCFs5ly5eKTgucQmGMG/TCvgQpxqA1vRFlrjZt4q5mECi 70jTgjtQ2a6c6mNrD1SX1QQyKC4nEJWiU5RCaNTcwMlSoKcHfmz4CGwRUu+RF3lnXS4WJQ ZChZaxv08L+m02sdtbH0c1UZMPeXBH5UGGHWO48YmYWbZ4wCp9xuyLsOuZ2g6Kh8CV5Xn5 CboSp5DQ/dcxx64spDrEAuIK3kd5MhZd0OVNY0dmMuV/QO6RVfKEyf0PFuynNMQ1XYJxMa zdV1vtzVl+mHghSGKuOro2DPs8QhNMcCbeN+oNJf44h312MgaVBcAl0CW3gKqw== 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 4TWm5X4SpnznkV for ; Fri, 9 Feb 2024 20:43:12 +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 419KhCxM020590 for ; Fri, 9 Feb 2024 20:43:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 419KhCGT020589 for standards@FreeBSD.org; Fri, 9 Feb 2024 20:43:12 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 276743] Many SIG* macros in are not visible with _POSIX_C_SOURCE Date: Fri, 09 Feb 2024 20:43:12 +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: jbeich@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D276743 --- Comment #5 from Jan Beich --- (In reply to Mark Johnston from comment #4) > comment 3 explains why this is arguably not a FreeBSD bug, Indeed. I've confirmed SIGTRAP is XSI by looking at POSIX drafts on open-std.org. Given SIGSYS is XSI but FreeBSD makes it visible in POSIX I wouldn't emphasize "strictly". > is there anything else to do? Need to report to wlmaker upstream as it'd may manifest on their CI. > Are other ports affected by this? I didn't check. Removing -D_POSIX_C_SOURCE is very common in ports/, someti= mes such hacks are upstreamed. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Feb 9 20:52:17 2024 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 4TWmJ10xb2z5BKCq for ; Fri, 9 Feb 2024 20:52:17 +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 4TWmJ06Kk3z43Zb for ; Fri, 9 Feb 2024 20:52:16 +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=1707511936; 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=SeACw7PHMHDj5k6s+rxbDbQut3dur7hEKvlCupRShDw=; b=S1XnZxmn4bwcew8dTXytuUMhrx/bdeu/MUvumkNFGgYbCtH2UR6WUdDiPHYuhx6BDfh7cm sYuj6tzyxbnOLXeH6+ydhHNXG+99Mo2Di94h6BynS0hrhUcvsTjDqP5pVvYd78CkgQ7j5C 9zqWj5aBt05PNpM1eis1PKUpvB3Qn9Yu2DcZZBzj3prwWRtGoxRIVIu8q0ecyRNKhIF6ls 2Z9+F3KQOkj5yj1kBYnqxxQpX/cmyzOGtSfrX0j5mS4bgnmXlDHyefkRC1/2XI4Z/4yGtJ 29ulyyDa7XkwBWLlj3QqUMEHK+87l8GBmeODWLZUHb267JeayIwODR9RKmR7fA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707511936; a=rsa-sha256; cv=none; b=Qfw6MTKYSUEAv1oqIQG0darYP9aYT7swpniv9DSzGwJOcygv+nt86xPgl4nf4VRqYWSVgE NawHFFlrb/VRzuRuP+4Qegv2X7LRCjGcKuA3vFu1BJhOQcz5P/YkItn5q3LHzLs8KlFEuZ UG9coZfKElze7lL8Ndwh02SEkluBZ4gpT3bR+AIxfYKZ8ZN/iL4AwaEvsQTwv2S5q3WMUL g3HZ9wiLqJNX1pzXLUXta/URnyLD1lPlXfdWEh9WzRzXiFvwOvusp2da4dPjzN999oMTYP KqqVB2jC0v9tLjG9Gi3WFASanZoKpuq/JHVJ5IgFyMhtLYzCeAJ3ZQyd/sOrvw== 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 4TWmJ05QNvzpCl for ; Fri, 9 Feb 2024 20:52:16 +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 419KqGk7063529 for ; Fri, 9 Feb 2024 20:52:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 419KqG5V063528 for standards@FreeBSD.org; Fri, 9 Feb 2024 20:52:16 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 276743] Many SIG* macros in are not visible with _POSIX_C_SOURCE Date: Fri, 09 Feb 2024 20:52:17 +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: jbeich@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D276743 --- Comment #6 from Jan Beich --- Also, as comment 3 said there's a POSIX bug in HTML rendering. Should proba= bly be reported on https://austingroupbugs.net/ but I'm not familar with the process. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Feb 9 23:15:12 2024 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 4TWqSw6bhLz5BWbj for ; Fri, 9 Feb 2024 23:15:12 +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 4TWqSw0tLrz4RvR for ; Fri, 9 Feb 2024 23:15:12 +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=1707520512; 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=j1UPxJg90v6kFrZCZxSxpdqlea/po3cXSw8N46xPDIc=; b=ldTsM5hmAqnEofidkHopW00WyavLNE4rFT4ViZzjOhzCdGf44WuQ9d5Td92HuvGRF4P1p/ 2vNXkh5FyNWvjhD/nXgcQT3qS0zrcoe4uJbzro5O8Uo3JJN0QQ5fa7P0xyX1PoH2WfZmVV ULmZtPRmbizfXPW6Wp4lFhbdg8+bKpppgqLEd6Q7YJOziQ/YD+WPrK2ccrpDdHFjdl3pPP WokNAs3GfWTOzOJQm1UV4h6z77G6ustTXFBIWxlnL8DTMPZ7gFQXmbykxr9UHUv/sKi2pB HVVhT8Deehc7yoB5dydPkTC2K61ARMW96fKQTEEYDClOHVHRmCiSninEdhF+/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707520512; a=rsa-sha256; cv=none; b=PUGVcq3yCa5PKH0+OXgCIx9b9g7gKf7tmQ996rW9jmXT8FSCTsRmaFj3kyHYYFJ15O2LyF uSo2rO6TkAx5myfo9WUEPhf89XWSHA1i8jzA0jGKhre0dTqcUd5paFi9T6ddwLajCCXPXF mrfamMraN9bv3U11FZOb9GY6AVFAaaUr7fK2106Fm6zQnRqwK8WGfB8HMqEMN5qOD+P/We BH4FOVcwvAffSbYGVhJRdNNe7s7EdJkwVRJwryvQMSvUPdH9zaV+wg61ZnKuysv+as6N+e a5AiLxlOFv5esbsFNXT4a/BVBYjaJvOzVQYoAE06JI7vQJyvXoNstU+uYbNIVw== 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 4TWqSv7367zsHW for ; Fri, 9 Feb 2024 23:15:11 +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 419NFBqK091731 for ; Fri, 9 Feb 2024 23:15:11 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 419NFBQO091730 for standards@FreeBSD.org; Fri, 9 Feb 2024 23:15:11 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 276934] tcsh crash in rehist() Date: Fri, 09 Feb 2024 23:15:12 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: joyul@juniper.net 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=3D276934 Bug ID: 276934 Summary: tcsh crash in rehist() Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: standards Assignee: standards@FreeBSD.org Reporter: joyul@juniper.net Hi teams, I encountered a crash in rehist() and below is its backtrace. In frame 3, cleanup_sp is 0, which means it's already at the bottom of the cleanup_stac= k, but last_var cannot be found. It seems like in rehist(), it invokes setexit() without updating cleanup_ma= rk. If the program goes to error handling to reset the clean_stack[], it will c= lean more than required, which should be handled by cleanup_until() when the pro= gram jumps back to rehist(). I'm providing a patch below that might fix it. Feel free to apply it to the tcsh git, FreeBSD baseline, or fix it using other solutions. We can downstr= eam it to our local and try it. Thank you. diff --git a/contrib/tcsh/sh.hist.c b/contrib/tcsh/sh.hist.c index 14d862a3e7b..09f4814dbe3 100644 --- a/contrib/tcsh/sh.hist.c +++ b/contrib/tcsh/sh.hist.c @@ -1235,6 +1235,7 @@ rechist(Char *xfname, int ref) struct stat st; static Char *fname; static Char *dumphist[] =3D {STRhistory, STRmhT, 0, 0}; + size_t omark; if (fname =3D=3D NULL && !ref) return; @@ -1308,8 +1309,10 @@ rechist(Char *xfname, int ref) #endif } getexit(osetexit); + omark =3D cleanup_push_mark(); if (setexit() =3D=3D 0) loadhist(fname, 1); + cleanup_pop_mark(omark); resexit(osetexit); } } (gdb) bt #0 thr_kill () at thr_kill.S:4 #1 0x0000000001b7ee61 in __raise (s=3Ds@entry=3D6) at /.amd/svl-engdata5vs2/occamdev/build/freebsd/main/sandbox-main-202401181141= /freebsd/main/20240118.171413__ci_fbsd_builder_main.c38f35a/src/lib/libc/ge= n/raise.c:50 #2 0x0000000001c1cca9 in abort () at /.amd/svl-engdata5vs2/occamdev/build/freebsd/main/sandbox-main-202401181141= /freebsd/main/20240118.171413__ci_fbsd_builder_main.c38f35a/src/lib/libc/st= dlib/abort.c:64 #3 0x000000000022148c in cleanup_until (last_var=3D0x1cc33c26ee80) at=20 /src/contrib/tcsh/sh.err.c:470 #4 0x000000000022e68f in rechist (xfname=3Dxfname@entry=3D0x0, ref=3D) at /src/contrib/tcsh/sh.hist.c:1327 #5 0x000000000021b2d0 in record () at /src/contrib/tcsh/sh.c:2539 #6 0x000000000021b3e1 in phup () at /src/contrib/tcsh/sh.c:1856 #7 0x0000000000261440 in handle_pending_signals () at=20 /src/contrib/tcsh/tc.sig.c:67 #8 0x0000000000233c55 in xwrite (fildes=3D18, buf=3D0x28d170 , nby= te=3D11) at /src/contrib/tcsh/sh.misc.c:719 #9 0x00000000002352ff in flush () at /src/contrib/tcsh/sh.print.c:256 #10 0x00000000002351d3 in xputchar (c=3D, c@entry=3D10) at=20 /src/contrib/tcsh/sh.print.c:183 #11 0x0000000000235dcf in pprint (pp=3D0x1cc33c210a00, flag=3D160) at=20 /src/contrib/tcsh/sh.proc.c:1178 #12 0x0000000000236385 in pjwait (pp=3D0x1cc33c210a00) at=20 /src/contrib/tcsh/sh.proc.c:543 #13 0x00000000002361ab in pwait () at /src/contrib/tcsh/sh.proc.c:473 #14 0x0000000000238c9d in execute (t=3D0x1cc33c25e090, wanttty=3D28987, pipein=3D, pipeout=3D0x0, do_glob=3Ddo_glob@entry=3D1) at /src/contrib/tcsh/sh.sem.c:623 #15 0x0000000000238983 in execute (t=3Dt@entry=3D0x1cc33c25e060, wanttty=3D= 28987, pipein=3D, pipein@entry=3D0x0, pipeout=3Dpipeout@entry=3D0x0= ,=20 do_glob=3Ddo_glob@entry=3D1) at /src/contrib/tcsh/sh.sem.c:724 #16 0x000000000021af01 in process (catch=3D) at=20 /src/contrib/tcsh/sh.c:2166 #17 0x0000000000219d1e in main (argc=3D, argv=3D0x820710290)= at=20 /src/contrib/tcsh/sh.c:1431 (gdb) f 4 #4 0x000000000022e68f in rechist (xfname=3Dxfname@entry=3D0x0, ref=3D) at /src/contrib/tcsh/sh.hist.c:1327 (gdb) f 3 #3 0x000000000022148c in cleanup_until (last_var=3D0x1cc33c26ee80) at /src/contrib/tcsh/sh.err.c:470 470 abort(); (gdb) list 456 while (cleanup_sp !=3D 0) { 457 struct cleanup_entry ce; 458=20=20=20=20=20 459 cleanup_sp--; 460=20=20=20=20=20 461 ce =3D cleanup_stack[cleanup_sp]; 462 ce.fn(ce.var); 463 #ifdef CLEANUP_DEBUG 464 syslog(LOG_INFO,"[tcsh][cleanup_until] cleanup_sp %zu, file= =20 %s, line %zu, var %p\n", cleanup_sp, ce.file, ce.line, ce.var); 465 #endif 466 if (ce.var =3D=3D last_var) 467 return; 468 } 469 syslog(LOG_INFO, "abort in cleanup_until\n"); 470 abort(); 471 } 472=20=20=20=20=20 (gdb) p cleanup_sp $3 =3D 0 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Fri Feb 9 23:15:44 2024 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 4TWqTX5ySMz5BWNY for ; Fri, 9 Feb 2024 23:15:44 +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 4TWqTX3z9Mz4RyX for ; Fri, 9 Feb 2024 23:15:44 +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=1707520544; 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=vrvgq/3VdARywHjlp+po63xcQwelGrdAtWVm2IpB1Hk=; b=Rhf4RPMkdkrvfeLT72fB1UgKjt8RCPICv6p2UdB/zaeYx6iHz3fDay3/uj8ZaEWKKuad79 AIw6+yrcLDHjVS2RhU1ch5YDpozH1dO109kM59MfH75aRWKBsuKA2CrSx2VxqzNsD3/FXX ABYlBLHxiFY7ZO7EyzcmsVQDb4Za0OnpMRaYdSPr+gmX+uWIBkx591GrJkrMGmBvajhx1d ysD9XOB0RyQvqp7um5Kfuu7bngQhmODAHLXQpmhbP/Zd6ODorz5xLVwOLbWgxjgXwB9/qH /Y+yFH4ymnTlda9CNoY+cS8SIXO2e0+1N3i31rY6f2JZyQnoODiWUyZmVaxdzg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707520544; a=rsa-sha256; cv=none; b=pgMyNJ9AlgIctV7hjoHAfJZ9vAmBas3RFWd9gVNKTw3iXYH31VXv3pnpQayh5F7tEKlFzw fLU5CJu07DdvG/byLX9J/iFgu13DhLjj1VHRt5gzQC2zKOzzBaomz1D8ahkB51x8FbmjD5 KggjgI10s9/KF384uEsfyhv4vITUmWce302bmrTCywhm0ql8q7g8x7U5vXXWiVj/VbO1ak dOSHxW19p9ctD7ihnu6tC4mP94QEaAS4h7bMYOElZL642pKstNi2GVkgNvw4DP4hxEZiKh 9Ev8vfDdHPfWQjw3IbAaV4pwt3JjZt7CioTsVJzag2/MDfejFkPVij8/vP13yA== 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 4TWqTX31ppzskQ for ; Fri, 9 Feb 2024 23:15:44 +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 419NFi40093439 for ; Fri, 9 Feb 2024 23:15:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 419NFixH093436 for standards@FreeBSD.org; Fri, 9 Feb 2024 23:15:44 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 276935] tcsh crash in rehist() Date: Fri, 09 Feb 2024 23:15:44 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: joyul@juniper.net 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=3D276935 Bug ID: 276935 Summary: tcsh crash in rehist() Product: Base System Version: 15.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: standards Assignee: standards@FreeBSD.org Reporter: joyul@juniper.net Hi teams, I encountered a crash in rehist() and below is its backtrace. In frame 3, cleanup_sp is 0, which means it's already at the bottom of the cleanup_stac= k, but last_var cannot be found. It seems like in rehist(), it invokes setexit() without updating cleanup_ma= rk. If the program goes to error handling to reset the clean_stack[], it will c= lean more than required, which should be handled by cleanup_until() when the pro= gram jumps back to rehist(). I'm providing a patch below that might fix it. Feel free to apply it to the tcsh git, FreeBSD baseline, or fix it using other solutions. We can downstr= eam it to our local and try it. Thank you. diff --git a/contrib/tcsh/sh.hist.c b/contrib/tcsh/sh.hist.c index 14d862a3e7b..09f4814dbe3 100644 --- a/contrib/tcsh/sh.hist.c +++ b/contrib/tcsh/sh.hist.c @@ -1235,6 +1235,7 @@ rechist(Char *xfname, int ref) struct stat st; static Char *fname; static Char *dumphist[] =3D {STRhistory, STRmhT, 0, 0}; + size_t omark; if (fname =3D=3D NULL && !ref) return; @@ -1308,8 +1309,10 @@ rechist(Char *xfname, int ref) #endif } getexit(osetexit); + omark =3D cleanup_push_mark(); if (setexit() =3D=3D 0) loadhist(fname, 1); + cleanup_pop_mark(omark); resexit(osetexit); } } (gdb) bt #0 thr_kill () at thr_kill.S:4 #1 0x0000000001b7ee61 in __raise (s=3Ds@entry=3D6) at /.amd/svl-engdata5vs2/occamdev/build/freebsd/main/sandbox-main-202401181141= /freebsd/main/20240118.171413__ci_fbsd_builder_main.c38f35a/src/lib/libc/ge= n/raise.c:50 #2 0x0000000001c1cca9 in abort () at /.amd/svl-engdata5vs2/occamdev/build/freebsd/main/sandbox-main-202401181141= /freebsd/main/20240118.171413__ci_fbsd_builder_main.c38f35a/src/lib/libc/st= dlib/abort.c:64 #3 0x000000000022148c in cleanup_until (last_var=3D0x1cc33c26ee80) at=20 /src/contrib/tcsh/sh.err.c:470 #4 0x000000000022e68f in rechist (xfname=3Dxfname@entry=3D0x0, ref=3D) at /src/contrib/tcsh/sh.hist.c:1327 #5 0x000000000021b2d0 in record () at /src/contrib/tcsh/sh.c:2539 #6 0x000000000021b3e1 in phup () at /src/contrib/tcsh/sh.c:1856 #7 0x0000000000261440 in handle_pending_signals () at=20 /src/contrib/tcsh/tc.sig.c:67 #8 0x0000000000233c55 in xwrite (fildes=3D18, buf=3D0x28d170 , nby= te=3D11) at /src/contrib/tcsh/sh.misc.c:719 #9 0x00000000002352ff in flush () at /src/contrib/tcsh/sh.print.c:256 #10 0x00000000002351d3 in xputchar (c=3D, c@entry=3D10) at=20 /src/contrib/tcsh/sh.print.c:183 #11 0x0000000000235dcf in pprint (pp=3D0x1cc33c210a00, flag=3D160) at=20 /src/contrib/tcsh/sh.proc.c:1178 #12 0x0000000000236385 in pjwait (pp=3D0x1cc33c210a00) at=20 /src/contrib/tcsh/sh.proc.c:543 #13 0x00000000002361ab in pwait () at /src/contrib/tcsh/sh.proc.c:473 #14 0x0000000000238c9d in execute (t=3D0x1cc33c25e090, wanttty=3D28987, pipein=3D, pipeout=3D0x0, do_glob=3Ddo_glob@entry=3D1) at /src/contrib/tcsh/sh.sem.c:623 #15 0x0000000000238983 in execute (t=3Dt@entry=3D0x1cc33c25e060, wanttty=3D= 28987, pipein=3D, pipein@entry=3D0x0, pipeout=3Dpipeout@entry=3D0x0= ,=20 do_glob=3Ddo_glob@entry=3D1) at /src/contrib/tcsh/sh.sem.c:724 #16 0x000000000021af01 in process (catch=3D) at=20 /src/contrib/tcsh/sh.c:2166 #17 0x0000000000219d1e in main (argc=3D, argv=3D0x820710290)= at=20 /src/contrib/tcsh/sh.c:1431 (gdb) f 4 #4 0x000000000022e68f in rechist (xfname=3Dxfname@entry=3D0x0, ref=3D) at /src/contrib/tcsh/sh.hist.c:1327 (gdb) f 3 #3 0x000000000022148c in cleanup_until (last_var=3D0x1cc33c26ee80) at /src/contrib/tcsh/sh.err.c:470 470 abort(); (gdb) list 456 while (cleanup_sp !=3D 0) { 457 struct cleanup_entry ce; 458=20=20=20=20=20 459 cleanup_sp--; 460=20=20=20=20=20 461 ce =3D cleanup_stack[cleanup_sp]; 462 ce.fn(ce.var); 463 #ifdef CLEANUP_DEBUG 464 syslog(LOG_INFO,"[tcsh][cleanup_until] cleanup_sp %zu, file= =20 %s, line %zu, var %p\n", cleanup_sp, ce.file, ce.line, ce.var); 465 #endif 466 if (ce.var =3D=3D last_var) 467 return; 468 } 469 syslog(LOG_INFO, "abort in cleanup_until\n"); 470 abort(); 471 } 472=20=20=20=20=20 (gdb) p cleanup_sp $3 =3D 0 --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Feb 10 00:18:46 2024 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 4TWrtG3ZfBz58PLY for ; Sat, 10 Feb 2024 00:18:46 +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 4TWrtG1QLPz4X07 for ; Sat, 10 Feb 2024 00:18:46 +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=1707524326; 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=6lHspyI7yGnWsAtZEQmCiWkLIZNpvimJWTrLCFcUTz4=; b=i+/Og1HXjKpaIEanwOlEcDt7aVuruOBuQzlEqJiFbB+q7BUyiFyW1MnXpk/9xH06QTIv0s gfWb9Q6GtIP/OA3KSa0C/4pXooO3sPlp3xFavBWZaryvI8A0IYI6VaG8j8rN89pD99hrgi X52AnJZzsBs6lxQoqxy28bB4ELcQLrIJS6Y8LCLDJWTuuVYFU+FYT+cEc4wnY3wEnErqeB tW4bmdAFpyg5s30k4Tb9rcZz7+2ffldwrGrtBPxs0Msh0IUbaDCVwxvmjh5jNbswvvg2Kd qJojKgh8CBFXtwtZkU4jUKY95kJtE2lbU+RGO6rEaVSR7dFS/9QgbHJSkLPZiA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707524326; a=rsa-sha256; cv=none; b=os//GhjuSA+YKzTBIhthg1nK4H2y9A9Q4JNHxZU0/cGhQyYoIrYBXIlMU9tCqsZGd98v1f AMlscAuxf+B9hH6Ffd3Bu0Rb5QNMEZozgTn+1/loTM6rXVfGfx50OYr9x5NrgFz6V8Mnfp eu8jf0SFW9dBYSuTSweUmEMLh5yjUW6NEi1maqob0V9PHx1ulH3NRAaruXduNavcp2YYrG I1v1x46LSrseYV02zgoLvVAUnDbxjxhE6xi1AgNBSrxrKktcaY7s+qgr4nqc21kNG1wVre d39Q2QxbkKhpKaM2vgQlwKxF/+97mPH56yu+emvfRwKya3PzuRwJst5GlmiteA== 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 4TWrtG0LbQztvB for ; Sat, 10 Feb 2024 00:18:46 +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 41A0Ij1R009238 for ; Sat, 10 Feb 2024 00:18:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41A0IjR6009232 for standards@FreeBSD.org; Sat, 10 Feb 2024 00:18:45 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 276935] tcsh crash in rehist() Date: Sat, 10 Feb 2024 00:18:46 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: joyul@juniper.net X-Bugzilla-Status: Closed X-Bugzilla-Resolution: DUPLICATE X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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=3D276935 joyul@juniper.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |DUPLICATE --- Comment #1 from joyul@juniper.net --- *** This bug has been marked as a duplicate of bug 276934 *** --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Feb 10 00:18:46 2024 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 4TWrtG5VqZz58PHy for ; Sat, 10 Feb 2024 00:18:46 +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 4TWrtG2MfJz4X9k for ; Sat, 10 Feb 2024 00:18:46 +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=1707524326; 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=9Ua39NR+YpcePwQ3a3E1Em5F5plO1kw//pgCrDJHzYU=; b=G9A5zxSpem32Ui95RUmOPwDQR+pVp7VsOaSs1UPkQjg/+wuW3mwy36BL6PSN41R4MBQXvv tNgqc2yI6Do9k05hPWjOX7Boa877jV/oJjMINhLlNIACRVHesqXatoAPMK1eAn7tmlWD93 nnt8/c5KtkJQ1NJMAfrqVsEWk0Gasw1+56Y6rGiYRVrJRvgp55+JYXgz7XwBaKMqf0lUPr TVAU919nlLFPyNY8MniMigvpunBcFQNMZ9tsMm63K8YIqpp6Gy6e8IpKvWv8WMsjtcToG1 32c9ORUGXgMbBgNe2WWTRZi7lg5CtfUMggl0Ib8bHbsA+kKHzETHCdB7+G2pbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707524326; a=rsa-sha256; cv=none; b=jyVJfrInwx+QN6hKpAPJrpt39Bv3i0m1RKYrcgYaX419GZimtWxliqwJpkv843KItu1P9L RoJYqdgidImjzNXUZEGaIHo2+4v+M189WtaZBOvHrENTjgakneeBFE3Dmm0v/s/SlnQ/oC g90hWnHZ7UD39eki582BlLa+55QBslGyqFWF5lzCtNcL9b9Tlcok8fh15/iFgiYD419wQ2 BlogugvKgE/jZ7LtevJYQHuaCq79iR5XhehRbh8RM0aG9OF8/uydZbMe1MIm05p3qgG66o dVvsyc9pu9EbY7mYdCuK8xFrpsgkKyyDrq8rQSIiCYQg5Ez4IkhmcmZ3rMw6TQ== 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 4TWrtG1J7gzv88 for ; Sat, 10 Feb 2024 00:18:46 +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 41A0IkoB009261 for ; Sat, 10 Feb 2024 00:18:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41A0Ik2m009256 for standards@FreeBSD.org; Sat, 10 Feb 2024 00:18:46 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 276934] tcsh crash in rehist() Date: Sat, 10 Feb 2024 00:18:46 +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: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: joyul@juniper.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D276934 --- Comment #1 from joyul@juniper.net --- *** Bug 276935 has been marked as a duplicate of this bug. *** --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Feb 11 15:19:10 2024 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 4TXrpk5p2Jz59v5f for ; Sun, 11 Feb 2024 15:19:10 +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 4TXrpk1q4gz4cHg for ; Sun, 11 Feb 2024 15:19:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707664750; a=rsa-sha256; cv=none; b=R/DWsSLyGs+arRgclTrLUqSTOxF+BYXJLs+g7t2ez6XmzN6ZPXIOd0Ilo/z4E87fAOP4IJ WaHH/qD7Etx5m3x7FoVtZy+2YLtcWMn9YcV/l2i2qqplEEEu+jeiEAhnmqCZJzSMJBl/yC T/R8aoP9R1svrUo0M6ebmEh/0mA8Y61TwGPCK6IVSvZTq36LA7QtrYrx7yMtFgvUy5p8bX W+Tg/WlLgM3cmsokmLyxowY7N2GE8EpVlnHXJdLt+OT0bDmAJv88+5CsQNEalsngO5Yq9s 95f6V72SZ7msH9o58yAJi9doE1pTalXjeUda0h1jKoN4W9g6b6YmL2KZJ/EyHg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707664750; 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=iqS7lXjjeIQTeaWpnWdniXR1lOnvcy5QUzbXEgk4dCg=; b=AWIgU8lzTNQ8jOMppqc1fghtAXsaGBR3lYFi65RpfASl2GQ93dcOxwoYVm1YwThfG6Tmwd 3GNbib5FSyqokV/6SwSf+8oXT3gPucHrvcTGYnHqw4HG45SJdJZcXNBXn4cQPV2wPJPq6D +zmHqU8ZpYZWPLwouUI94AuVqLLRcV3zRlg2Si1k8Ko39FH0HrPCCRj3gdvPj0w6xrmgED sFi691g/eWpccTEYMs0Wb7LfIFbGxFSL0DHz5fWosiilJ6wNYwmbAETc3eN7TGbvwpVfxN qBiE3xwSGlCP/+AqES0DTsQNA1NtsGDj68P3Ux2LrdnVclGB1N8Fjx3pEAC+5Q== 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 4TXrpk0v9jz14JX for ; Sun, 11 Feb 2024 15:19:10 +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 41BFJAFP076288 for ; Sun, 11 Feb 2024 15:19:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41BFJA4U076287 for standards@FreeBSD.org; Sun, 11 Feb 2024 15:19:10 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 276743] Many SIG* macros in are not visible with _POSIX_C_SOURCE Date: Sun, 11 Feb 2024 15:19:10 +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: markj@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution 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=3D276743 Mark Johnston changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Not A Bug Status|Open |Closed --- Comment #7 from Mark Johnston --- (In reply to Jan Beich from comment #5) In that case I'll close this report, since there don't seem to be any chang= es warranted for the base system. Please reopen if you disagree. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Feb 11 21:00:18 2024 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 4TY0NM0zd5z5BPxs for ; Sun, 11 Feb 2024 21:00:19 +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 4TY0NL5dSDz4MM3 for ; Sun, 11 Feb 2024 21:00:18 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707685218; a=rsa-sha256; cv=none; b=EIGW+Jo3MjqqNkNmL+GT9DnFky5Dl6e50FS8DxQ8BNoQo616g9X39d7OOq4PWsBYynO/ih XY1br3qJPfyreIoaWN0XyerxfENuTxL661rsdt2xjabSbzuW5X5dxMGE7+k4O7kluLIZOV KE31qHNbD3P2/lZoUTPFSPxiSy7JnsnsqgapiJoHs3RF60oq5CNfWpOHNCsZIVKSeRF0ZM gQ88dMv3uyEGT4NJ+riPGidz/03xFlpaq9zPmY9sMP0To5lkFseyYwepLvArHh3IZJ3UUf ewrC9kpkmgV1niN1Y/gA0mByTOZJBocnYSslgqdfsZBZG7bMzg3t0mphO3ekVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1707685218; 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=0Th1BGH9IAPiVxlq+GlrkPKngsyqSQAE7wUr0/gyCjw=; b=VM2Xmi0RjAoRJgV1gNDBWWIu45b9Sy2aT3p09eIAYp5UR7tjUrjaOVZGnLnMlmmqCWs7Ob XE2tFGvOLi/XmatS4NLO8vknWqbVPwy3yTaXXWhRDHV9mVA7rZftVbwPr2gs2ldBBeqd+x kmE4lQ/aJIBab6ZrqVBxgEr/uCO0DLI7ZV1LCq3PTklFYVCcumHky9J4v3cVw1VYwhYB9m 7VoEVYBaPBDLJD90uTuDnvsNkGvErWw6q6Umzl6Qo9wtz4eVpc8q2ZaF4lP1LL4W5Sw+tN 1vjSOwAPkUGg8AGcE28jFPzijheCOvqsXqTRpSxSAehGTg36bYyn0mMUXPNS1Q== 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 4TY0NL4l3qz1CsN for ; Sun, 11 Feb 2024 21:00:18 +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 41BL0InY079389 for ; Sun, 11 Feb 2024 21:00:18 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41BL0IxW079384 for standards@FreeBSD.org; Sun, 11 Feb 2024 21:00:18 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202402112100.41BL0IxW079384@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: standards@FreeBSD.org Subject: Problem reports for standards@FreeBSD.org that need special attention Date: Sun, 11 Feb 2024 21:00:18 +0000 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 Content-Type: multipart/alternative; boundary="17076852184.a74BB.75515" Content-Transfer-Encoding: 7bit --17076852184.a74BB.75515 Date: Sun, 11 Feb 2024 21:00:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- Open | 46441 | sh(1): Does not support PS1, PS2, PS4 parameter e 1 problems total for which you should take action. --17076852184.a74BB.75515 Date: Sun, 11 Feb 2024 21:00:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
The following is a listing of current problems submitted by FreeBSD users,
which need special attention. These represent problem reports covering
all versions including experimental development code and obsolete releases.

Status      |    Bug Id | Description
------------+-----------+---------------------------------------------------
Open        |     46441 | sh(1): Does not support PS1, PS2, PS4 parameter e

1 problems total for which you should take action.
--17076852184.a74BB.75515--