From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-202.mailbox.org (mout-p-202.mailbox.org [80.241.56.172]) by sourceware.org (Postfix) with ESMTPS id 24624398582F for ; Fri, 11 Sep 2020 07:47:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 24624398582F Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4Bnns76Wr2zQlQn for ; Fri, 11 Sep 2020 09:47:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de [80.241.56.115]) (amavisd-new, port 10030) with ESMTP id 2bz_qFjVtXzx for ; Fri, 11 Sep 2020 09:47:04 +0200 (CEST) Date: Fri, 11 Sep 2020 09:47:03 +0200 From: Arsen =?utf-8?Q?Arsenovi=C4=87?= To: GNU C Library Subject: ping^2 Re: [PATCH v2] Ensure standard file descriptors are open on start Message-ID: <20200911074703.lzusnc466sgog6dl@bstg> References: <20200819124124.17481-1-arsen@aarsen.me> <20200819194025.5sgyd5avhduime4q@bstg> <20200819234519.l4enjvx4fsw42ltl@bstg> <20200828001243.o6j5xokrlssmmsgg@bstg> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="lka5sjpwdimv3xrx" Content-Disposition: inline In-Reply-To: <20200828001243.o6j5xokrlssmmsgg@bstg> X-MBO-SPAM-Probability: X-Rspamd-Score: -4.64 / 15.00 / 15.00 X-Rspamd-Queue-Id: E238F14B1 X-Rspamd-UID: 934b00 X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Sep 2020 07:47:10 -0000 --lka5sjpwdimv3xrx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 20/08/28 02:12, Arsen Arsenovi=C4=87 via Libc-alpha wrote: > Excuse me, I sent this message, by mistake, to Paul directly, without CCi= ng the > mailing list. To further discussion, I am reposting this. I'm sorry for t= he > inconvenience: >=20 > > I agree they should be open. But it's better for FD 0 to be write-only = and > > FDs 1+2 to be read-only, as that's more likely to prevent buggy programs > > from misbehaving further. > Since I agree with this too, we have an agreement on what should happen(?= ): > 1) update comments in the patch to be more specific > 2) ensure "wrong direction" opens are used to detect errors (like they we= re > originally) >=20 > I can do this tomorrow in spare time, if that is what the team sees as the > right thing to do. I'm waiting for further comments in case I missed some= thing. >=20 > --=20 > Arsen Arsenovi=C4=87 ping^2 --=20 Arsen Arsenovi=C4=87 --lka5sjpwdimv3xrx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEN603JsCUe+6MiEcuSj/KZcFT9D4FAl9bK3cACgkQSj/KZcFT 9D5mNgf+PbljGcnY0m5lc+WMOXPzeMAcNo0SOyB4H4WhA0rUNAGqBghbLwHgtZEQ bW8dJnNSWa8vFQAqfbGMZNROSsjVCcW+wTtYdfPlVSr4U467Z9Uzjs2ZVNFrj3zQ hm4ZJ0FRSjSeT/lUgh2ysKJGocAg0V+A87h6oTt6sCzXM92w8vHnLR26KWocJk/t r4HGjmGRRubAmLvb1TCn+3UihZaodeg/MzGBDepZzhXVfy/WaUxHPaTlpwNepm7c nw9aNN3dQzRCDovrDd/Obs5Gx0xhPRYhzYHWgc518UHsJXaKfN3pQzDkOh6Stcur Ab5V2YGWcBTEs5gBnkY1HgdxNbaW/Q== =/yUA -----END PGP SIGNATURE----- --lka5sjpwdimv3xrx--