mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@suse.de>
To: linux-kernel@vger.kernel.org
Cc: Kay Sievers <kay.sievers@vrfy.org>, Greg Kroah-Hartman <gregkh@suse.de>
Subject: [PATCH 1/6] allow LEGACY_PTYS to be set to 0
Date: Wed, 28 Nov 2007 14:52:15 -0800	[thread overview]
Message-ID: <1196290340-28828-1-git-send-email-gregkh@suse.de> (raw)
In-Reply-To: <20071128224746.GA28410@kroah.com>

From: Kay Sievers <kay.sievers@vrfy.org>

The count of legacy pty devices can be set by a kernel commandline
parameter. For the distro kernel, we would like to disable all pty's
by default, but keep the opportunity to request devices on the kernel
commandline.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Acked-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/char/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index bf18d75..a509b8d 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -457,7 +457,7 @@ config LEGACY_PTYS
 config LEGACY_PTY_COUNT
 	int "Maximum number of legacy PTY in use"
 	depends on LEGACY_PTYS
-	range 1 256
+	range 0 256
 	default "256"
 	---help---
 	  The maximum number of legacy PTYs that can be used at any one time.
-- 
1.5.3.4


  reply	other threads:[~2007-11-28 22:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-28 22:47 [GIT PATCH] driver core fixes for 2.6.24-rc3 Greg KH
2007-11-28 22:52 ` Greg Kroah-Hartman [this message]
2007-11-28 22:52 ` [PATCH 2/6] create /sys/.../power when CONFIG_PM is set Greg Kroah-Hartman
2007-11-28 22:52 ` [PATCH 3/6] UIO: fix up the UIO documentation Greg Kroah-Hartman
2007-11-28 22:52 ` [PATCH 4/6] UIO: add UIO documentation target to DocBook Makefile Greg Kroah-Hartman
2007-11-28 22:52 ` [PATCH 5/6] kobject: two typo fixes Greg Kroah-Hartman
2007-11-28 22:52 ` [PATCH 6/6] sysfs: fix off-by-one error in fill_read_buffer() Greg Kroah-Hartman

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=1196290340-28828-1-git-send-email-gregkh@suse.de \
    --to=gregkh@suse.de \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

Powered by JetHome