From nobody Mon Apr 29 15:07:27 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 4VSmsF1kmyz5JVmK for ; Mon, 29 Apr 2024 15:07:29 +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 4VSmsD700cz4Pdj for ; Mon, 29 Apr 2024 15:07:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714403249; a=rsa-sha256; cv=none; b=c7Ab8Qskq3as8hUFdmwxu4WqGLkItodXcNLdemXoxVEguxs0SL2MH9rXX3ubJI70dYl2Sn 8oF4i85QHFksqulUGwOr4cjom94pCZSKMRHVLR8ov1GqAl4bjAvbgxuor9KtEYHYV3Nagv 3m+Qr1SOTlEe1pI1Pzgy6Tr8qgqQOcqyseHdIuYTj3x2EpO3RjrzfhWVrd59V3f19eQ7RX hBbk6KGNpG2+/wK3LFoH5zrm8gaJxKdmsBK3w1aNkOPiNg6o6o8yZurXuO5JMLeCB1bG2D mgJReGXnkrdaFZQTx1aYhhsRy7+z1ua8Crwx42o8LBiqhIjCF9mVrQV8hcR98g== 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=1714403249; 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=syjaF9iPFVOkv7VdxtzSJTbo04AU9azawgw4CSWCkRU=; b=H/vOchRlejpaswLsoIjB/Gd7vBS7NodFYDM9lLebol7pa8pDNs6Q+tIpJ2F34uwz1Mk9nQ 4N3QNiy08Gs6qDAbtjur7rYbCAIwe+hzDehtoii2uzlXSee78lh7GS3QOAAQozp37Hv8t+ WvOmJOwN4JTRUdIavv4FG47dv79QxkcMcTbqRRqTqf9O1CvBRNmZTtAcwgUflsP327cf2Z v/h3J/oxzPie0vrqIIinGjX98i+HmgyXCtwzMdK1Ha9JEFPwVnEbz5Xt1QjHxrxnTmtHUt KhHghT29gHjTE112NHEtvqSKi8qMa95vUSYxl61Tyr+jFO5uaAiwHglnXJABtw== 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 4VSmsD6bhYz1CcL for ; Mon, 29 Apr 2024 15:07:28 +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 43TF7SxW099878 for ; Mon, 29 Apr 2024 15:07:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43TF7SAf099860 for standards@FreeBSD.org; Mon, 29 Apr 2024 15:07:28 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 278653] sh: fix sh -c -e cmd as per POSIX Date: Mon, 29 Apr 2024 15:07:27 +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 Some People X-Bugzilla-Who: naddy@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 attachments.created 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278653 Bug ID: 278653 Summary: sh: fix sh -c -e cmd as per POSIX Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: standards Assignee: standards@FreeBSD.org Reporter: naddy@FreeBSD.org Created attachment 250294 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D250294&action= =3Dedit fix sh -c -e cmd as per POSIX POSIX requires sh(1) to handle -c like an option that does not take an argument. We already handle the special case of attached options after -c... $ sh -ce 'echo hello world' hello world ... but these fail: $ sh -c -e 'echo hello world' echo hello world: -e: not found $ sh -c -- 'echo hello world' echo hello world: --: not found NetBSD fixed this 21 years ago. With their fix: $ sh -c -e 'echo hello world' hello world $ sh -c -- 'echo hello world' hello world $ sh -c -e 'echo hello; false; echo world' hello Patch attached. I also added a minimal regression test. I have only tested this on 14-STABLE, but there are no relevant changes bet= ween 14-STABLE and 15-CURRENT in sh. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 00:49:23 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 4VT1mg3cbbz5Hk8G for ; Tue, 30 Apr 2024 00:49:23 +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 4VT1mf5p2Tz4Lvy for ; Tue, 30 Apr 2024 00:49:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714438162; a=rsa-sha256; cv=none; b=adTVUUtJ7lATo1/VPk9MXrg3q8M19xm1Ddbrob+AbzdZdc7Fd++2wss86KwjNfp1voXSFN ubtwJZIK2+GBJFQgDvfu86vjj2Fc3gJv8mJdqcm1lfnpmjD73/3I2VShZLbanONODIVEfD pqhyKWuTAdZU8H44q0Y2yOri1pn0PqcPEyNAEYnJQQD07Hq2ZM9WuDdc4e1AAmxa2f/tXX w6FDIF9y20Kjn74CHZxYb5dFUiiz8Xbzra3qnQdQMtpFMDN0kEgQgqXqCMGcCtNSm6COJK fCruFOgycENmhJfQKAJ9NRzwS3bz3at0LDpqlFxcKnIroSZe+TOja4BD0vIV7w== 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=1714438162; 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=aETtUHOZxmFKK+qAC35LZrqVivqrECftgBsWCPHvGFA=; b=KtD34HX3abZCQCXOApaAOBAOEPAhe61rXAzmnZs/nkGwmZLzEx4y3TpBR3kQyiP0xu0ENA Gm1uhcMdpDqvOmsQvaZunKLj7beKc5xWGn6BJFbzP3eE90465TQGdpSIRmZpO2s0h0tLJB /NZyKA+to891gJ459eMGPK0CLaARP3042gUNi39Dosk7KRNW9vrAZqzCgzBPNjU0kfDE7k pfNDh2/cw7xoSG6oUubDIZduN8cjpasFjruJkdzbFr8g+Pwsqdb6reV4g9jRXGDZqq45nU MVMBtALmCv55Cg4WOfCtVIcpZ6b1QpHY4BNq5VO1dtSFofzTkIQ82wn5noIdmw== 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 4VT1mf5Mw5z1SJ5 for ; Tue, 30 Apr 2024 00:49:22 +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 43U0nMNR052257 for ; Tue, 30 Apr 2024 00:49:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43U0nMvT052255 for standards@FreeBSD.org; Tue, 30 Apr 2024 00:49:22 GMT (envelope-from bugzilla-noreply@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: [Bug 278556] strerror-related race condition and standards violation in printf and friends Date: Tue, 30 Apr 2024 00:49:23 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@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: 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278556 --- Comment #6 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dade62d406239b728a1c74974bbb57ed49= 3c733e0 commit ade62d406239b728a1c74974bbb57ed493c733e0 Author: Konstantin Belousov AuthorDate: 2024-04-23 17:10:30 +0000 Commit: Konstantin Belousov CommitDate: 2024-04-30 00:48:10 +0000 __vprintf(): switch from strerror() to strerror_rl() PR: 278556 (cherry picked from commit f887667694632c829b0599b54ff86a072e93df87) lib/libc/stdio/vfprintf.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 00:51:25 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 4VT1q22mH6z5HkRL for ; Tue, 30 Apr 2024 00:51:26 +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 4VT1q21gvtz4Px7 for ; Tue, 30 Apr 2024 00:51:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714438286; a=rsa-sha256; cv=none; b=sidC+JOg6PO3GpiIjU4OnOsVj0ejxRSBuHKUx1ZtFmjwc3iDzEO/kEND2b0SiC6Yv6abes ZezD2QLMtHc+I7C7Tcq1X26OCVqty6RVznTvgXW822XmN4ATHNBCMrHSp6JmV66niTwzSR 3P8yazY/iBRODhH2Jz5KhpGFZq4tSkNyJL4XcipVQA50HgwpjZKkjwr2VT8T7UFmJXth8J pPUF2LgaIufQjtEcXwFHUMm2+LoPTOF9SG6THdoxNqMCTF/p0Te+he6n3VN6pyajYl/1hM yPWUkMd9OeVIBYC0P1aUXDrdje6m6D+DWjljJXQb+wGXMp4xTBwve3nrUawxLg== 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=1714438286; 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=DzPriZBCRrToWa3g2E+Kv762CktFpCrVKajFQW4TMBo=; b=sqNJPxZ8cyiTTFzigJjaK7VKalCi+c7M8mnGdDKOFKlSQrExwHXdXxJ1er26C+5XguMMIl 4S1I1H8aznzi3P4GOdFEZDrtwXKLZDpCdyMGduhABhIEo5TNdU5auUQ9rQH7q+RGWMHJ6O lbR5kpd5tfmQl2b7fk9Jganne049HEykyQGShw+5x2dVJpcCwWNvOk5Bv0pVp/FWsw66qb 7TfFg4tpJw2LuNH4tMMBoIj11/g9QZQvtW2Y59rK9BZ9Vf9BNBKId/Gi02Do5rU8MSQ4jr J5dfpqdRDWe1o3vqBnpACoMGBqZyVekPsyYq8h0wOpdt6fCUSHJhlveUSVgTuA== 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 4VT1q21CPNz1SJW for ; Tue, 30 Apr 2024 00:51:26 +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 43U0pQvW066721 for ; Tue, 30 Apr 2024 00:51:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43U0pQEW066720 for standards@FreeBSD.org; Tue, 30 Apr 2024 00:51:26 GMT (envelope-from bugzilla-noreply@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: [Bug 278556] strerror-related race condition and standards violation in printf and friends Date: Tue, 30 Apr 2024 00:51:25 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@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: 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278556 --- Comment #7 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D27e54c9f162879fcbf6f1d9dc221b98c8= 180f012 commit 27e54c9f162879fcbf6f1d9dc221b98c8180f012 Author: Konstantin Belousov AuthorDate: 2024-04-23 17:10:30 +0000 Commit: Konstantin Belousov CommitDate: 2024-04-30 00:49:53 +0000 __vprintf(): switch from strerror() to strerror_rl() PR: 278556 (cherry picked from commit f887667694632c829b0599b54ff86a072e93df87) lib/libc/stdio/vfprintf.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 00:53:28 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 4VT1sP3rcrz5HkPT for ; Tue, 30 Apr 2024 00:53:29 +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 4VT1sN6Fkdz4QSf for ; Tue, 30 Apr 2024 00:53:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714438408; a=rsa-sha256; cv=none; b=mQYjCm/eOJb/DByi4TUu4uPMHio3Tvm0mJE621hm7/zTvu7GX5AouaCA8Fbma6Xtce3HMC l5rj+3vn+8wNz+5Xdqkm9OtK+dLqUO0MIQLfxrhzhyn47Hak4Imz/VMEhbewU34BGLZQs8 WtS8nphVeNeVa8/P6/oY+iuc1Xy5eHkXpSFgj9ebcDU0lqu0FlPVh+Gc7gvu4EIAVxYp6z Ge36aEjdAsXayP1qY+kY5q74yF4mMP9saD4/GLhOlUyiQuT/T+3XMyN1fFmnvCtQrcWsX8 u89fNGu/29SdtwIflxLucnasdL82Ev/UKmeKIMPD5LX1DctQe3+AxrU1U8Imcw== 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=1714438408; 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=vcT1D/6sOLEWsswVvNjj4a2QJMgpYON5NV0IcGMdzJE=; b=c8bKg1e6+aMvOEZ3WfVkb1T0vC832C4/u6mWuhTNiwFjSmDGzlyCNci2im02Zr9t8NGW5p CqrxL+kKlQwWZpkX1apxAWUeZD/aoq6CdBP3Aw0y+o6gO86fJYWRsZdZ9W7TSAIXbmN73i 887+hlwCFo3vgtVXpRfM6LU2VPYDBh5M52UUs1k+72T1C0WPg7OE1tMKOHGEurc24vPHVi /I2lkVc4W3AircpRU/0Dtg/dBKVJ1jfpDw13BJzziZi8eEBZndGHaQtV0sJmIRfATQPSs0 crPjxEeKo0uHgeQCASENxW76ypKL/iWI4jKh4WPJO94PHjy0uw2S3wSPIosGgA== 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 4VT1sN5t7gz1SCj for ; Tue, 30 Apr 2024 00:53:28 +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 43U0rS0Y085057 for ; Tue, 30 Apr 2024 00:53:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43U0rSx7085056 for standards@FreeBSD.org; Tue, 30 Apr 2024 00:53:28 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 278556] strerror-related race condition and standards violation in printf and friends Date: Tue, 30 Apr 2024 00:53:28 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: kib@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278556 Konstantin Belousov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |FIXED --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 07:33:51 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 4VTBlM5lNSz5JPsR for ; Tue, 30 Apr 2024 07:33:51 +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 4VTBlM4gHSz40FN for ; Tue, 30 Apr 2024 07:33:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714462431; a=rsa-sha256; cv=none; b=HkuDzkE880pTsQ3WDOhShmeV4lpF9UTG9u+PlUoBhoIZMMWGXowxTjUAw9G7JpWvY7jUL7 6CpwKre+mzDNz9mgomNZV9vFQhoKRtSb+udrB5/gvi5k3DyT2++h+kV5HhTxPczoAlYpmb 2VjpBAQtqqwCE0cdfuzgWOdMPrvrqtMsG2zsled1IKY6njSnuQcm/jVQn6faWJwIkvFP0+ 84RasAsxH3w2I+7SEoApzmVDE4/zCR2FyDil77sR8GR2hdp9pQFGjwX+53nN1oOLZYGqo/ 2DHScTWAEAdhigJzwLRqW29N+XGRL6zKe6DIiodcAPrtQmvCQXTdKHwHJMOBmQ== 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=1714462431; 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=eTHnRNYvWU5JbNFWPfd1ryociUSifEoVkS7SqOVOC0k=; b=H5EthWZqfDFxeN/9KJTuW13I6gv0Ds68SFcYbh6xI9pHSMHlpTfS/vTw36+HwNdVeefpaF 7OVLrpBvcUBCgUN4SpYWzTRRfXAF6z0XPFyioS8QUHanbePoZLps3KRloDtVWiGNugeVh0 57FJJU6TgMbW2kcnAJG3kv7tOZ9s+pi39mBF9wbRNHT4/xI96AP1Kw9Zzucl1mm63zjKYZ a/6gSHNvb5BYVkKchMQ2SjCASdU8cppbVvNXxAwPMs9Bv9LHKne5VsOIx4Ijwfh1WETAO8 rdtb4bx4ed5PgA4jB2lTVvfFGoLCV208+jHn9RrEEK9oqnfyllOcBuypD7c7Qw== 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 4VTBlM4H51zQwX for ; Tue, 30 Apr 2024 07:33:51 +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 43U7Xp8X080688 for ; Tue, 30 Apr 2024 07:33:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43U7XpSt080668 for standards@FreeBSD.org; Tue, 30 Apr 2024 07:33:51 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 278653] sh: fix sh -c -e cmd as per POSIX Date: Tue, 30 Apr 2024 07:33:51 +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 Some People X-Bugzilla-Who: nimaje+fbz@bureaucracy.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278653 Benjamin Takacs changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nimaje+fbz@bureaucracy.de --- Comment #1 from Benjamin Takacs --- this needs to fix system(3) as well as popen(3) too, as currently they call= sh -c with this change, that is no longer safe and needs to call s= h -c -- See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274650 (shoul= d that bug depend on this one?) --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 08:50:09 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 4VTDRQ3fX1z5JX8C for ; Tue, 30 Apr 2024 08:50: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 4VTDRQ1wRJz45yt for ; Tue, 30 Apr 2024 08:50:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714467010; a=rsa-sha256; cv=none; b=KjqcvqmCnti4M5iBPBAhvvB4JcnRrsjXpYmZzP+zTutsIcV01OOlOJwqcX3N4Wpwvat/Y+ hRDA5ew/579NXNofZHhyiOjdONi2Fx3uq9rABkimFc0I7gspLzFtect2tCai6W7SsEBV0E qbayxqAnV9DvjBE+mk7xdMoYdu2hSI8pQcld14gcCNHc3C2WULdZK8/taUse2qdMbIGulh RCRLhez7dZjDDV+Vc+K5Qi8x/OKrSCHbJcxZtpUE1plxVRH/AV6DyIbGXNS6t3Zi9SrpxX Tho7JXiijjurhYh+f/pCYJ4xosliB8xFQ9D6D2s/zaI7N90kEC4bPtyoetnBaQ== 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=1714467010; 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=u8WW6Td3iRwpOlFPD8Ro1gU5H2jEsL226Rwr0yln3J4=; b=a1MZ6SkfsdeQw9uF7qGI/ubUQzb2llpYtN0YVlw5R6xlM6MY9kH5iIoac5yNhqg3HUQPEb voI2/axxMG1ySXR/kWPrBCQwAHYhF0XHPPAIVIXtS1Zan3ycr29WI3SUzdBwXN75cxdnTZ RXv+t2pt6X9LKJyPmTlt54yV7xMhpS01Rqhd66GGLBmSw/Hh+iHqpIh6GoUYyTjpj6+VRt GgX+AF+28+i7rhK9/HB7UCbhyJUqsftDsbOoyPYKyDFbbKmSFQyRiWIOwVIQ6Ky9XnHVVD 2tbV7SU2lgIuu0+5+cZModXN5ODfto5bCaHmhgEIXsS2UOP0I/ElokHB9THSWQ== 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 4VTDRQ1NSFzScc for ; Tue, 30 Apr 2024 08:50: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 43U8oAv6088493 for ; Tue, 30 Apr 2024 08:50:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43U8oA0F088487 for standards@FreeBSD.org; Tue, 30 Apr 2024 08:50: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 278653] sh: fix sh -c -e cmd as per POSIX Date: Tue, 30 Apr 2024 08:50:09 +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 Some People X-Bugzilla-Who: rb@gid.co.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278653 Bob Bishop changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rb@gid.co.uk --- Comment #2 from Bob Bishop --- (In reply to Benjamin Takacs from comment #1) Also probably the examples in su(1) where there is a `-c' minefield. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 09:03:27 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 4VTDkl6XvMz5JYST for ; Tue, 30 Apr 2024 09:03:27 +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 4VTDkl5MwCz47SG for ; Tue, 30 Apr 2024 09:03:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714467807; a=rsa-sha256; cv=none; b=E/0v0sIkmN309JOoKjUvnytv/l+CXhymMRADlGn9JqUcoBDs4Zpdxif/na2ibtjs5GTGgU u7Z2cOOPDokAIgm5fazoTV78v6vl4Xt+YWl+B+bX9Z+ITQomKFpvJBJZRVmqjosVYjuTmy xvZ2okYqw5pFCigBqaK5WqWS7hcoIrC/Q5ya0QNBPB42Mi3M/9iCRPcLE4hCKL8E8qXjT/ DYfTRaCmE3UL0b+lpx9b8ItleShXhCiWul+S5NpxqRa3ZTwzMtZHg+uk+8n22UT7RDNE65 1Gd+NUoZjXaewSzeywr6e2Z4MwZaH2eV4HaDGTTlYkGNb9uyJ5V5Vjpn0GghQg== 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=1714467807; 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=HIBhl1srL+zbEzmlz3tF0fo4VVwsM+/zj4PErScGykg=; b=H/Mu3MLHvXSooCFYgX9NpWqxduuYSNy+L3MF5i33p6rcZbZ4eFEZKJifSG1lJzuV7YchAz x//z15U0uAOgtKF8X1df1P2F1OiLVa3vwXDtGxVjlBITbc/ZazmL641/1tnF5myxkDO4Kp Ls6DTzV0YR/mgzQ9tqc9QGzTbDG0vcG3zS6qyCpxOhuwWDpA5Fj9xMfWb+wMzSUrVIdTsw 7qDzBmSEuybUdXIAD5CSvdaV3FOW0w02LJ40XoSuZa8WYiTokbFlM+ps7NSO0HaajNqEmS D0SkgffZKD8gcHY3u/cGR14XFWBBXUWxefe3FIzfMQTbCYJRrw0g7IJiix1bAg== 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 4VTDkl4zTLzTQb for ; Tue, 30 Apr 2024 09:03:27 +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 43U93RSV073886 for ; Tue, 30 Apr 2024 09:03:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43U93R0o073885 for standards@FreeBSD.org; Tue, 30 Apr 2024 09:03:27 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 278653] sh: fix sh -c -e cmd as per POSIX Date: Tue, 30 Apr 2024 09:03:27 +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 Some People X-Bugzilla-Who: rb@gid.co.uk 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278653 --- Comment #3 from Bob Bishop --- And actually this affects any code that calls `sh -c ....' directly. This is getting dangerously close to a POLA violation, POSIX notwithstanding. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 10:27:43 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 4VTGc123v6z5JgnZ for ; Tue, 30 Apr 2024 10:27:45 +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 4VTGc05tKLz4JmB for ; Tue, 30 Apr 2024 10:27:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714472864; a=rsa-sha256; cv=none; b=EVVooAyfxfLi8dpcsDVDbBniPCI/+Oj/s7wU4iqE8Fxk3GFAwrCEEJQdBCqmKwLmQSFPKf wiwD0407BgupOMzcM5F0wao81KVnoeWtNF7znddk6xpeGG9Idin4ZV4MBOYEDWEsFjbzKv 6D0JyOEjiw3OYtnW/H0vd/IqQSMa0CSdj6Yj9V1Z/cMssHek45zync0exbmCOsCxIXMRdK vdSsvR0JQB2z7rkgrzDKAC7E+QanDSextWiM+Sodrda9+rEXyvXoSZ/JpQnVfegHRDG4Tt GjXegvpBYeluDW6loJyI/uxnyLEHPCFRkTceY71HrruopmyCvybNTJhlD6sLgA== 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=1714472864; 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=jHbG6KZn15Ce2SMpr+E0OxyWGRlBeGkvtC3McHfbqoo=; b=XqVYkT8bnctpKxGizXuYTuJ/ru8AZ5wPxWzNT0XQ5ZQacwDmAqQJJo2HOXC5wbTSlKnH9D ArbUGvs/7VhZM+3zWYf4Q/GCBdJ1p4QlJ6JEkSNh00YK0zytPpOTCOGbMOqEXie1PXfYau 1xSomQLuCvxOj5p/XqC6Ct7E8iHtJvFaJJoYwHgeOrJvbz9LpMMSx+Q/Omuz+V+nrrgZ9l Om2s26RUDWamRwKeHWrIRAEWVBbzpRLbXRZ9cjEOX0b+dW7WlKReYw5+zM5QmVduSghQ/I 27S7TQZyzHZQmeIENpNVWNTu2K5fS8w1nhWGRAl4fKX0vFqy/VhjzL+xsT3OEg== 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 4VTGc05Mf7zX00 for ; Tue, 30 Apr 2024 10:27: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 43UARi1f037534 for ; Tue, 30 Apr 2024 10:27:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43UARi3w037531 for standards@FreeBSD.org; Tue, 30 Apr 2024 10:27: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 278653] sh: fix sh -c -e cmd as per POSIX Date: Tue, 30 Apr 2024 10:27:43 +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 Some People X-Bugzilla-Who: nimaje+fbz@bureaucracy.de 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278653 --- Comment #4 from Benjamin Takacs --- (In reply to Bob Bishop from comment #2) (In reply to Bob Bishop from comment #3) This being such a footgun is why I argue in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274650#c1 for just documenting our sh to be *not* posix compatible on some stuff and leave -c alone. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 12:14:49 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 4VTJzZ4VvPz5J7Kq for ; Tue, 30 Apr 2024 12:14:50 +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 4VTJzZ3FBwz4SHT for ; Tue, 30 Apr 2024 12:14:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714479290; a=rsa-sha256; cv=none; b=x95czgooZglw93kK+gucFhvD7n2W3Jfm3VSAtyNRSNhAhvEKxGerqDdDStTozq6q0sqHLv 2/I16W1Baad0GUc2gJwnZtWO7nBoLKw1aq8jssV0xhUHIuh7T7+RHRAW2WY3rJts9D4+Cj dPiNUK91+iBdIQB/0AlJ7AIZssR9xCMfgwgxCJB2hnIu7HgUL35hpPJKnOuqf6jSSus1mT kpYlq7I8yTBXD4yhCv1BX8FdtC3eBOrNomLW7aTMdXac+cLK3raVL1/E2CZf42YZpTEAP+ 1aF0UEnY2+2gBBXZmov6QxIqZidzaZIdCe3pBL0JNjAaDDmfHG/i82j+Uqp9bA== 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=1714479290; 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=6u4JFqpM70N7yjYPMvdg7saV04e25YRgqr9Nt3fQ+q8=; b=oWRPW8GdDLfAt/1uvTFbUkuNvG7RMTUpvOQ3CmES7G4Aox87xE8ba737UikBaTnMbrmmtn dN3RmYsMN4mtw8+BEai8jVNekVPlX7QwoUvy2jxUCblHAH1s1qyJ7lx6lvwOq5eA7V1A24 mawE1N8qRz2kzfX0e3LQO/vWzcjnbDeruVrySNhxJzqJwezd3qPpyuVd9vHkZa2e6fEC6P iP/jqqJDOXk1471GN7EJO3w2pgPChfsgY3Fv/gPhb1x/yRZ5XRuJMmjlJ71o9uHB683AM9 xDgJqKXlDFB6YwZP2kc6wXGQEKl5rSy8JGJZ1YYE938yUly2DfDX6GgCzEJOcA== 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 4VTJzZ2msjzb4m for ; Tue, 30 Apr 2024 12:14:50 +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 43UCEoHn026804 for ; Tue, 30 Apr 2024 12:14:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43UCEoPg026803 for standards@FreeBSD.org; Tue, 30 Apr 2024 12:14:50 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 278653] sh: fix sh -c -e cmd as per POSIX Date: Tue, 30 Apr 2024 12:14: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 Some People X-Bugzilla-Who: naddy@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: 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278653 --- Comment #5 from Christian Weisgerber --- It doesn't break any realistic existing usage of sh -c cmd. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 12:33: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 4VTKNt653jz5J92X for ; Tue, 30 Apr 2024 12:33:18 +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 4VTKNt47tZz4Wkh for ; Tue, 30 Apr 2024 12:33:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714480398; a=rsa-sha256; cv=none; b=EclnJ+x/7qPhHr+ziSL/rnHXpioEpJkTJtHp/A9ir4dJtVFKmG1YuzDr/hP4+SLfgRtSJ2 JXIHqRTBm0XP6tDHrH7ntSsmGbSYpPdz8BUwGpGaAsZ1TQ9szWyY37t0oyoWWZJ7pdijcz +gHM9noKK/XCEvyDdICDWGoutxy759rkZtHhhO08IzX0GGo4l7riVQsHbdsZ/+/FnOsBh/ SvYYNaCDTCxBMMyJJ3ZuTrg7evYZqWtZSDOzgCwtay+idGj31kOWwnXM3psD4N/o09HfQe nYfpRMk4vH/k4eqeHFbh4wfk0bigUdbPGoeKLv4hXNXMdlEQULalydJoWUbjnQ== 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=1714480398; 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=QtAP8GfmsFwhFLdIp52niPNApeAvdicvTwHFB+nedPA=; b=VxWDZauBQE+NLguw8AYILU/YNnJnTFSzrMsD/8mYkmVZ0F79F7HJ7xvOeD/2Vf+gCgs1sj K9FSioR1VT4ounrRmHu0GVvUIHBwT4SNXckwDl5Mx7H2qVMeY/LRQkEo6rrmna5sXV5bv+ 67hmtlrdNjsdkAFCaKfbq1PiI+NPwYD6w30kORYUPZull2ogZiNGLSYC+x93CoNIszg4DL ruKnL7kKlXG0Sazwo4+F8LLUlh9duQQdlnEge2pFJzC1/Fwk/f3oNMM2/BucUfFbvG1HIk 7pEuHqj3YewmXuqZY3eAG4HNVW97L+LNQ6fLH3oZW0Qp2owJ1QDA1I2Tekrh+g== 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 4VTKNt3lxgzbgc for ; Tue, 30 Apr 2024 12:33: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 43UCXI2b028897 for ; Tue, 30 Apr 2024 12:33:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43UCXIlO028894 for standards@FreeBSD.org; Tue, 30 Apr 2024 12:33:18 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 278653] sh: fix sh -c -e cmd as per POSIX Date: Tue, 30 Apr 2024 12:33:18 +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 Some People X-Bugzilla-Who: nimaje+fbz@bureaucracy.de 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278653 --- Comment #6 from Benjamin Takacs --- (In reply to Christian Weisgerber from comment #5) I just listed two that became incorrect. system(3) and popen(3). How do you know I don't use - as prefix to mark internal commands and build commandlin= es run them via system, popen or sh -c? --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 20:20:00 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 4VTWlP5c7Lz5JrfV for ; Tue, 30 Apr 2024 20:20:01 +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 4VTWlP1v9Wz4Ln9 for ; Tue, 30 Apr 2024 20:20:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714508401; a=rsa-sha256; cv=none; b=RJ6/GudtgZKNcYC3IH/y2qBzNEBEExZ+CEGRZZrenFw7zLCdTGAByTi3tg5F4SycvWZ4Sc dITTx8vBh6z3DNHw6NOZx7c2g8DFxZcIsErENH8A8WinxUg3hdRTBF5ZWwPBT3Op37TVH4 i3CHoM2AaO+LUYIzSwPktwCHQjx0mJ6X8LxKpbME0Dqlm8uqr8Sb9fhRVVhJKFK3zoTzu1 9t3FdrW1s/Ifw2VYy35P8SqvtwJ8QAumlsPupRvESwbYvqRt96qapNsBrBjmltHvAv1265 U2uloULGtl6xsv9G7I8R4LYkAq6slIZKj0LBulms2YntvaoR+TZU+eBUekT+ew== 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=1714508401; 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=TXS7VQr12C1wvJMWctcVz5AOT5uusUh9Mx2lbMhn8l4=; b=Dv1271xK0fb/BuYQGsVDe6huvxMWVzRJWMEm3XjYe8gXkbCIGlQIpLoccaMLWyDPA8u//Z ORw4ja8wbJacm0SGTIfqUnCbJSwq5cSGCVFuHia0/ki2RjxscxmLe/V9tdGBqt4jteMHQq rY2xqNIywM5VYsOW2PG5/nUQDAwEjLSUpUAgg0+GK80dHf+eJPcSkFEH3hB6oVQkApPN7D mfxjqFj297ua5VHz5zzVLxqvIK0JPnDrXkfp1E5z9UwHGcHVn6OhpyCT3IjuVi2TcmntHX P54rhapekIVRgPbpatGmo9pjfuzsm2Idbx7vMOOIjywVtYfwW8Y4gLCB6x5KwQ== 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 4VTWlP1VvFzqFC for ; Tue, 30 Apr 2024 20:20:01 +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 43UKK1Eq078403 for ; Tue, 30 Apr 2024 20:20:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43UKK1lR078395 for standards@FreeBSD.org; Tue, 30 Apr 2024 20:20:01 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 278653] sh: fix sh -c -e cmd as per POSIX Date: Tue, 30 Apr 2024 20:20:00 +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 Some People X-Bugzilla-Who: jilles@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: 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278653 Jilles Tjoelker changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jilles@FreeBSD.org --- Comment #7 from Jilles Tjoelker --- The patch in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220587 has= more test cases. Another thing that will break with the fixed -c is the ruby ports (not beca= use of the upstream code but because of scripting in the port itself): https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222872 . --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Tue Apr 30 21:03:26 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 4VTXjW2tyGz5JwPj for ; Tue, 30 Apr 2024 21:03:27 +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 4VTXjW1qXrz4SsT for ; Tue, 30 Apr 2024 21:03:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714511007; a=rsa-sha256; cv=none; b=puxQFKB9ULUi6RYQL+PEhyGUFYmoXFIuzI7OLb6np4xuzZMadZtULNGnUfEPis1fGTFPs3 J7xMGjXUeYxf3mlXNLHkwafEjyNb7bFYpPIewGhkRJYRTT+Swv7LkVuiLRQ8LFuwgr/B8+ ac+6TrOEsnzwuOq4D+v6ncRcxpFx0EBFBPN+GU7D+7bLTHcDUWYaexQUgmWDq1IGROvx/s 0ZcNGXD6FhaUpab/0Ony9A+c0VKSvndYkFvOLnjK8kGF9zi+RKm0UNMQMXGR58ilaHkI6X ry5m5WFSFLbXwyenF3nYwN7MlPowxM5rzo/UQTN6mVTMsgiytCtHI0mZacHcPg== 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=1714511007; 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=JD4hqiyZ3WiC2ZT+f2PqOfJ/1OSr4aZvUpZkMx4kKi8=; b=RXe1QpYIi9adcbQOtl1ahVXWkja7fkAIRWXl1NhoSq+v6yqWlMVK59RVjO7YT3II5iWqWc w0IwFzUezot8HzMSp7TOt3VBpwfXpIfcrhGxwbHZ222kGyhV1AkIicK4BCfMdGxzb3VmDM K/nufp3AUCbQBNh57c9zWxLDNjzonEEyzVRxhZj/ZJSjrrQf4mW6EteRzNDDHQ1dXEkUGs SP55TWDUsRMLMcJk5rwLF2q/HIPV3XAhptg4PwWpJrCgwifWrUZL0Uppft1lqo0d3RgDEn k5oB9r8dqLEYmWCwKqcAPHWSO/PlbYZq3AI+xz/WosFVQRwfTcTE6lZu2otZbw== 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 4VTXjW1RCqzrN8 for ; Tue, 30 Apr 2024 21:03:27 +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 43UL3R9Q021176 for ; Tue, 30 Apr 2024 21:03:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43UL3RIl021163 for standards@FreeBSD.org; Tue, 30 Apr 2024 21:03:27 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 278653] sh: fix sh -c -e cmd as per POSIX Date: Tue, 30 Apr 2024 21:03:26 +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 Some People X-Bugzilla-Who: naddy@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: 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278653 --- Comment #8 from Christian Weisgerber --- (In reply to Benjamin Takacs from comment #6) That takes me to my starting point, which was a discussion about shell scripting where somebody was bending over backwards to use POSIX-ly correct code that handled all corner cases, so he used "sh -c --" and was quite astonished when I pointed out that this breaks on FreeBSD. Obviously system(3) and popen(3) will need to be fixed accordingly. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun May 5 19:29:42 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 4VXZP26Rb9z5KYj9 for ; Sun, 05 May 2024 19:29:42 +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 4VXZP236RSz4MRD for ; Sun, 5 May 2024 19:29:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714937382; a=rsa-sha256; cv=none; b=J+2y8p2aVQFvUJT2aTGQylnCXfGgO8V1YFCqBuz3uXP2ox0N/UN1uT9fy5loqE/06eVJE4 lsoD74KVP9WQV3QxCElIR5/xKVRbn0DejDwoQV8hCgk06d+40TfTfrG51oRItw+qlAicFM mObtvVsTnNt0ym0ZKcKjmwg5ObSMKNFLRmdsGwsaX0BZ6eUETgBXqCMD79u5UkBQvYSZGF pbd7aaZ5e6vUN/B3nE8SPDpg4fGjceelalS88FO0xYq90Wt89mAj/es7uk9kh4++eqmV8P O2QVMhxjDaINYlfoj2x7NRLDx3rYRljyJB2UWx+CE81WT/5P+z+bG7NRm29MRw== 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=1714937382; 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=LJrNUAprFRzxGYeofzydvsHLa7oXvm71AUSBq2mSP/g=; b=gA7J2SxwigYqLkAqVLofOEFj3+btMyMi0gCHxEK0HDcsPLjiEygATiafULu+Fz60nJ4k0l bqV4bPA966tVYOEporzkakUhlAV0itIK2+hH2IbPZ/q87R3kXR4lL7TXm3BhhbxuX9w19A l5QaVwQIk2N5/xIvk6KQb9QSD59aR2MfO2T9+fKsvzYVoOLAcxrW0cos5C5hCgOTFa2OpZ x7JINjAasL09Cul0Ox82dI3Hvi6xmJmnqlLVXYKXogxB4JZkGfB0tsGqnVYc2QsamL1Ewe irD7Xso1V/wex4X+zTik76Nx8kCZKPftkDbwJLcVHyC3D2l/vWIMCcQwGDKimw== 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 4VXZP22hKpzQkT for ; Sun, 5 May 2024 19:29:42 +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 445JTgZ3011482 for ; Sun, 5 May 2024 19:29:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 445JTgJw011480 for standards@FreeBSD.org; Sun, 5 May 2024 19:29:42 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 255374] C++20 features (headers) std::concepts, std::format, std::numbers, std::source_location, etc. are missing Date: Sun, 05 May 2024 19:29:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13+ mfc-stable12? mfc-stable11- 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: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255374 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Progress |Closed Resolution|--- |FIXED --- Comment #33 from Dimitry Andric --- With the recent clang and libc++ 18 import, we now have: This has also been MFC'd to stable/14 and stable/13, so all supported branc= hes now have them. --=20 You are receiving this mail because: You are on the CC list for the bug.= From nobody Sun May 5 21:00:33 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 4VXcPs5szDz5KjXG for ; Sun, 05 May 2024 21:00:33 +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 4VXcPs4XLsz4bpx for ; Sun, 5 May 2024 21:00:33 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714942833; a=rsa-sha256; cv=none; b=bglLcW7a4nip3V5qZVBc4RFRUDrndhPzVas03eifWe9kBMOimoEaCWxlxqpYYRf5+I6/AY V40hNHh8LroYAIWbh2yHettNW4rOWhW6OZHXOtYsis5S2eqxGENwyEvpuv7qHm+eMTrmic olyAzSAY7rnVJEir4ImQwwgBI/a7Fk8ByLv9fw3oLPdbBTsLA+wdXst1Ti61ZgtnIIYDRb Tg6q5wW7Qlieu+gQ1sNGthLirRg+7/VAF34e3249P/5BJ5HTXJ+bvgAnYZPkSpd95fbp8P 1Ml/OPffZGVyNbEMRSCdLuLo9IVECabKPyrtEx1pNXzktd7/0mSABSRy5LONFg== 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=1714942833; 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=TU8Ym814d58SYIK59DLgjcwaF9e43FikYlE4ze8Rog8=; b=TCK0So38zEqRRtsz/utVLKvU20nsToCyVayIna4rdrzLhJwPncoAa4szU2ZOHbc5JZmFIM vYQ6SQNdrrcgZWtF/I5LyKvlACFpe7UvxlhnxnqU3P1Uq3PLdTruCyk7YWOEk8hBCM6xGT JjNMH130BAWG9o1j5A7FLvr3MtCE3U97qh5ZiA/sYwe9GJwT+FbgUWVHR/p/bZXzs0JzLB +8RRJ8Mc3HOGixvxmR9WkpMC9PpavKnJkokDb9zwOHAI4zLCJdazIRu6wFWnBeJU/6MKxq 6tUpIZ7ZUi0+C1alamQwM2qNN+5fy0ZmZI2cR2BaAIJEakGKHbwOZa1/szhbcA== 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 4VXcPs47dMzT3d for ; Sun, 5 May 2024 21:00:33 +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 445L0Xjj092546 for ; Sun, 5 May 2024 21:00:33 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 445L0XYL092539 for standards@FreeBSD.org; Sun, 5 May 2024 21:00:33 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <202405052100.445L0XYL092539@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, 5 May 2024 21:00:33 +0000 List-Id: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="17149428332.Ed2D.87189" Content-Transfer-Encoding: 7bit --17149428332.Ed2D.87189 Date: Sun, 5 May 2024 21:00:33 +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. --17149428332.Ed2D.87189 Date: Sun, 5 May 2024 21:00:33 +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.
--17149428332.Ed2D.87189--