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-0007iq-I4 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-0004wD-OW; 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-0004v2-0f; 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-0006sj-Ob; Wed, 18 Aug 2021 22:58:56 +0200 From: Roland Hieber To: distrokit@pengutronix.de Date: Wed, 18 Aug 2021 22:58:45 +0200 Message-Id: <20210818205848.26402-1-rhi@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [DistroKit] [PATCH 1/4] mips: 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-mips/kernelconfig-malta | 3 +-- configs/platform-mips/kernelconfig-malta.diff | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/configs/platform-mips/kernelconfig-malta b/configs/platform-mips/kernelconfig-malta index 06a3fa88eec7..571535996a5a 100644 --- a/configs/platform-mips/kernelconfig-malta +++ b/configs/platform-mips/kernelconfig-malta @@ -2123,8 +2123,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-mips/kernelconfig-malta.diff b/configs/platform-mips/kernelconfig-malta.diff index e48bd534661e..7c72511a93fe 100644 --- a/configs/platform-mips/kernelconfig-malta.diff +++ b/configs/platform-mips/kernelconfig-malta.diff @@ -752,8 +752,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_LIB80211=m CONFIG_LIB80211_CRYPT_CCMP=m CONFIG_LIB80211_CRYPT_TKIP=m -- 2.30.2 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de