Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2002 12:01:08 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: tty/pty devices not safe in jail? 
Message-ID:  <200211132001.gADK188f001694@apollo.backplane.com>
References:   <98485.1037216817@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
    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 
					<dillon@backplane.com>

:>    exhaust all available ptys?
:
:No.
:
:-- 
:Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
:phk@FreeBSD.ORG         | TCP/IP since RFC 956

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211132001.gADK188f001694>