From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: tytso@thunk.org, William Lee Irwin III <wli@holomorphy.com>
Subject: Updated dynamic pty patch available
Date: Wed, 11 Feb 2004 22:00:46 -0800 [thread overview]
Message-ID: <402B168E.4020000@zytor.com> (raw)
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
next reply other threads:[~2004-02-12 6:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-12 6:00 H. Peter Anvin [this message]
2004-02-12 10:48 ` Updated dynamic pty patch available William Lee Irwin III
2004-02-13 15:37 ` Valdis.Kletnieks
2004-02-14 23:37 ` Matt Mackall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=402B168E.4020000@zytor.com \
--to=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tytso@thunk.org \
--cc=wli@holomorphy.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox