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-0007ig-D8 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-0004vx-Kg; 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-0004v3-14; 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-0006sl-P1; Wed, 18 Aug 2021 22:58:56 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Wed, 18 Aug 2021 22:58:46 +0200 Message-Id: <20210818205848.26402-2-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 2/4] mipsel: kernel-malta: 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-mipsel/kernelconfig-malta | 3 +-- configs/platform-mipsel/kernelconfig-malta.diff | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configs/platform-mipsel/kernelconfig-malta b/configs/platform-mipsel/kernelconfig-malta index 90f909e4cc5e..014163613b65 100644 --- a/configs/platform-mipsel/kernelconfig-malta +++ b/configs/platform-mipsel/kernelconfig-malta @@ -2116,8 +2116,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=256 +# CONFIG_LEGACY_PTYS is not set CONFIG_LDISC_AUTOLOAD=y # diff --git a/configs/platform-mipsel/kernelconfig-malta.diff b/configs/platform-mipsel/kernelconfig-malta.diff index 31bcd4051ada..aac20a6956a5 100644 --- a/configs/platform-mipsel/kernelconfig-malta.diff +++ b/configs/platform-mipsel/kernelconfig-malta.diff @@ -727,8 +727,6 @@ # CONFIG_LEDS_TRIGGER_TRANSIENT is undefined # CONFIG_LEDS_USER is undefined # CONFIG_LED_TRIGGER_PHY is undefined -CONFIG_LEGACY_PTYS=y -CONFIG_LEGACY_PTY_COUNT=256 # CONFIG_LEMOTE_FULOONG2E is undefined # CONFIG_LEMOTE_MACH2F is undefined CONFIG_LIB80211=m -- 2.30.2 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de