From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 18 Aug 2021 22:58:59 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mGSeJ-0007is-In for lore@lore.pengutronix.de; Wed, 18 Aug 2021 22:58:59 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mGSeI-0004wk-Sc; Wed, 18 Aug 2021 22:58:58 +0200 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGSeH-0004v4-1u; Wed, 18 Aug 2021 22:58:57 +0200 Received: from rhi by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mGSeG-0006so-PS; Wed, 18 Aug 2021 22:58:56 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Wed, 18 Aug 2021 22:58:47 +0200 Message-Id: <20210818205848.26402-3-rhi@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210818205848.26402-1-rhi@pengutronix.de> References: <20210818205848.26402-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH 3/4] v8a: kernel: disable legacy BSD-style pseudo-terminals X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roland Hieber Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Linux has traditionally used the BSD-like names like /dev/ptyxx for masters and /dev/ttyxx for slaves of pseudo-terminals. This scheme has a number of problems, including security, but is still provided for backwards-compatibility. All modern Linux systems since glibc 2.1 use Unix98-style pty names (/dev/pts/*), so support for the legacy BSD-style names is not needed. Signed-off-by: Roland Hieber --- configs/platform-v8a/kernelconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/platform-v8a/kernelconfig b/configs/platform-v8a/kernelconfig index 4a0405761520..477777f58d8d 100644 --- a/configs/platform-v8a/kernelconfig +++ b/configs/platform-v8a/kernelconfig @@ -2804,8 +2804,7 @@ CONFIG_SERIO_LIBPS2=y CONFIG_TTY=y # CONFIG_VT is not set CONFIG_UNIX98_PTYS=y -CONFIG_LEGACY_PTYS=y -CONFIG_LEGACY_PTY_COUNT=16 +# CONFIG_LEGACY_PTYS is not set CONFIG_LDISC_AUTOLOAD=y # -- 2.30.2 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de