[PATCH 1/6] allow LEGACY_PTYS to be set to 0

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: Kay Sievers <kay.sievers@...>, Greg Kroah-Hartman <gregkh@...>
Date: Wednesday, November 28, 2007 - 6:52 pm

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

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PATCH] driver core fixes for 2.6.24-rc3, Greg KH, (Wed Nov 28, 6:47 pm)
[PATCH 6/6] sysfs: fix off-by-one error in fill_read_buffer(), Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)
[PATCH 2/6] create /sys/.../power when CONFIG_PM is set, Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)
[PATCH 3/6] UIO: fix up the UIO documentation, Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)
[PATCH 5/6] kobject: two typo fixes, Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)
[PATCH 4/6] UIO: add UIO documentation target to DocBook Mak..., Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)
[PATCH 1/6] allow LEGACY_PTYS to be set to 0, Greg Kroah-Hartman, (Wed Nov 28, 6:52 pm)