summaryrefslogtreecommitdiffstats
path: root/drivers/char
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2007-11-14 23:39:42 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2007-11-28 13:53:52 -0800
commit345ee8392dc149ca529f80e40583928977ad592e (patch)
treeab2a476976f70e2aad9669a20384d7a862bf61e2 /drivers/char
parenta531a141089714efe39eca89593524fdf05104f2 (diff)
downloadblackbird-op-linux-345ee8392dc149ca529f80e40583928977ad592e.tar.gz
blackbird-op-linux-345ee8392dc149ca529f80e40583928977ad592e.zip
allow LEGACY_PTYS to be set to 0
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>
Diffstat (limited to 'drivers/char')
-rw-r--r--drivers/char/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index bf18d757b876..a509b8d79781 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.
OpenPOWER on IntegriCloud