Commit 57f28fbf authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] limit CONFIG_LEGACY_PTY_COUNT

Limit the number of legacy ptys to 256.  pty_line_name() isn't capable of
generating more than 256 unique names.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 02b88574
......@@ -478,6 +478,7 @@ config LEGACY_PTYS
config LEGACY_PTY_COUNT
int "Maximum number of legacy PTY in use"
depends on LEGACY_PTYS
range 1 256
default "256"
---help---
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