提交 345ee839 编写于 作者: K Kay Sievers 提交者: 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: NKay Sievers <kay.sievers@vrfy.org>
Acked-by: NJean Delvare <jdelvare@suse.de>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册