Would people be interested if I added such a feature? Limit the highest allocatable pty to 90% when operating within a jail? e.g. if you have 256 ptys both jail and normal tend to allocate ptys from the bottom up, but the jail would not be allowed to allocate past pty #227. This way if a jail eats all the ptys the sysadmin can still ssh in.
-Matt Matthew Dillon <[EMAIL PROTECTED]> :> exhaust all available ptys? : :No. : :-- :Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 :[EMAIL PROTECTED] | TCP/IP since RFC 956 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message