DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [DistroKit] [PATCH 2/4] mipsel: kernel-malta: disable legacy BSD-style pseudo-terminals
Date: Wed, 18 Aug 2021 22:58:46 +0200	[thread overview]
Message-ID: <20210818205848.26402-2-rhi@pengutronix.de> (raw)
In-Reply-To: <20210818205848.26402-1-rhi@pengutronix.de>

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 <rhi@pengutronix.de>
---
 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


  reply	other threads:[~2021-08-18 20:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18 20:58 [DistroKit] [PATCH 1/4] mips: " Roland Hieber
2021-08-18 20:58 ` Roland Hieber [this message]
2021-08-18 20:58 ` [DistroKit] [PATCH 3/4] v8a: kernel: " Roland Hieber
2021-08-18 20:58 ` [DistroKit] [PATCH 4/4] x86_64: " Roland Hieber
2021-08-19 12:58 ` [DistroKit] [PATCH 1/4] mips: kernel-malta: " Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210818205848.26402-2-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox