public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Updated dynamic pty patch available
@ 2004-02-12  6:00 H. Peter Anvin
  2004-02-12 10:48 ` William Lee Irwin III
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: H. Peter Anvin @ 2004-02-12  6:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: tytso, William Lee Irwin III

ftp://ftp.kernel.org/pub/linux/kernel/people/hpa/dynpty-test-2.patch

... against the current top-of-bkcvs 2.6 kernel.

This version of the patch makes *both* legacy and Unix98 ptys configure 
options (Unix98 only if EMBEDDED), and the number of legacy ptys is a 
configuration option -- useful if you want to reduce the memory 
footprint, or if you really wants lots of these guys (256 is no longer a 
hard limit.)

Additionally, I have added a sysctl option -- /proc/sys/kernel/pty/max 
-- for limiting the number of Unix98 ptys.  It was way too effective a 
DoS to eat up all kernel memory by opening /dev/ptmx repeatedly.  The 
default is 4096, but it can be adjusted all the way up to 2^20 if desirable.

	-hpa



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-02-14 23:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-12  6:00 Updated dynamic pty patch available H. Peter Anvin
2004-02-12 10:48 ` William Lee Irwin III
2004-02-13 15:37 ` Valdis.Kletnieks
2004-02-14 23:37 ` Matt Mackall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox