From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B613C2D0C2 for ; Tue, 31 Dec 2019 17:07:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 26EA3206D9 for ; Tue, 31 Dec 2019 17:07:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727064AbfLaRH5 (ORCPT ); Tue, 31 Dec 2019 12:07:57 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:51334 "EHLO hera.aquilenet.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726720AbfLaRH5 (ORCPT ); Tue, 31 Dec 2019 12:07:57 -0500 X-Greylist: delayed 378 seconds by postgrey-1.27 at vger.kernel.org; Tue, 31 Dec 2019 12:07:57 EST Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id A09EE2CFE; Tue, 31 Dec 2019 18:01:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xvvyf17cB2JP; Tue, 31 Dec 2019 18:01:36 +0100 (CET) Received: from function (lfbn-bor-1-310-21.w109-215.abo.wanadoo.fr [109.215.31.21]) by hera.aquilenet.fr (Postfix) with ESMTPSA id D63312CFC; Tue, 31 Dec 2019 18:01:36 +0100 (CET) Received: from samy by function with local (Exim 4.92.3) (envelope-from ) id 1imKtj-000pDk-Uy; Tue, 31 Dec 2019 18:01:35 +0100 Date: Tue, 31 Dec 2019 18:01:35 +0100 From: Samuel Thibault To: mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, libc-alpha@sourceware.org Subject: [PATCH] getpt.3: Remove mention of O_NOCTTY Message-ID: <20191231170135.gqbv35jdlqfmomee@function> Mail-Followup-To: Samuel Thibault , mtk.manpages@gmail.com, linux-man@vger.kernel.org, libc-alpha@sourceware.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="vsztnixar3ermvzb" Content-Disposition: inline Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-man-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org --vsztnixar3ermvzb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline The glibc implementation of getpt has actually never been setting O_NOCTTY when opening /dev/ptmx or BSD ptys. Signed-off-by: Samuel Thibault --vsztnixar3ermvzb Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch --- ./man3/getpt.3.orig 2019-12-31 17:58:50.046714199 +0100 +++ ./man3/getpt.3 2019-12-31 17:59:00.706722831 +0100 @@ -21,7 +21,7 @@ .PP .in +4n .EX -open("/dev/ptmx", O_RDWR | O_NOCTTY); +open("/dev/ptmx", O_RDWR); .EE .in .PP --vsztnixar3ermvzb--