From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id BA6EF1F55B for ; Wed, 27 May 2020 10:14:18 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 767EB38930CB; Wed, 27 May 2020 10:14:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 767EB38930CB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1590574457; bh=EvQLNsECG+eWG+Oj+dCUewWEM8f0zdpWFYwOGOMK3TY=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=eiRkVukPG/0UWiTICv9Bxo+ewEtyiGfyGADKZLVmnuM8EBwhYl45j4CwcvcTfrj4s bF0Rx+hZ+A+fvvSUL61ZIknI7IJxGPVF7+IruXyVYIAlC00xiRvdx/8D10NYZAUpSv uKMxlOeUK27Pu0ea8E1wCIu+dXUVhxhA9OWjGDo0= Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by sourceware.org (Postfix) with ESMTP id CC252386F023 for ; Wed, 27 May 2020 10:14:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CC252386F023 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-364-1p8o8w1pNWSTKUMCqCP9SA-1; Wed, 27 May 2020 06:14:13 -0400 X-MC-Unique: 1p8o8w1pNWSTKUMCqCP9SA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C078B835B8B for ; Wed, 27 May 2020 10:14:12 +0000 (UTC) Received: from oldenburg2.str.redhat.com (ovpn-113-106.ams2.redhat.com [10.36.113.106]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4635E12A4D for ; Wed, 27 May 2020 10:14:12 +0000 (UTC) To: libc-alpha@sourceware.org Subject: [PATCH 0/3] Linux: Rework Linux PTY support Message-Id: Date: Wed, 27 May 2020 12:14:10 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain 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: , From: Florian Weimer via Libc-alpha Reply-To: Florian Weimer Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" BSD terminal support is pretty much always compiled out in the kernel, and /dev does not contain the matching device nodes. Therefore, the fallback code is unused. Tested on x86_64-linux-gnu. Florian Weimer (3): login/tst-grantpt: Convert to support framework, more error checking Linux: unlockpt needs to fail with EINVAL, not ENOTTY (bug 26053) Linux: Require properly configured /dev/pts for PTYs NEWS | 12 ++++ login/tst-grantpt.c | 105 +++++++++++++++++++---------- sysdeps/unix/sysv/linux/getpt.c | 67 +----------------- sysdeps/unix/sysv/linux/grantpt.c | 73 ++++++++++---------- sysdeps/unix/sysv/linux/ptsname.c | 95 ++------------------------ sysdeps/unix/sysv/linux/unlockpt.c | 21 ++---- 6 files changed, 130 insertions(+), 243 deletions(-) -- 2.25.4