Commit 345ee839 authored by Kay Sievers's avatar Kay Sievers Committed by Greg Kroah-Hartman

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: default avatarKay Sievers <kay.sievers@vrfy.org>
Acked-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent a531a141
...@@ -457,7 +457,7 @@ config LEGACY_PTYS ...@@ -457,7 +457,7 @@ config LEGACY_PTYS
config LEGACY_PTY_COUNT config LEGACY_PTY_COUNT
int "Maximum number of legacy PTY in use" int "Maximum number of legacy PTY in use"
depends on LEGACY_PTYS depends on LEGACY_PTYS
range 1 256 range 0 256
default "256" default "256"
---help--- ---help---
The maximum number of legacy PTYs that can be used at any one time. The maximum number of legacy PTYs that can be used at any one time.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment