Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jan 2003 08:58:41 +0100
From:      phk@freebsd.org
To:        Julian Elischer <julian@elischer.org>
Cc:        FreeBSD current users <current@freebsd.org>
Subject:   Re: Jail detection 
Message-ID:  <6982.1041667121@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 03 Jan 2003 14:32:46 PST." <Pine.BSF.4.21.0301031410470.77781-100000@InterJet.elischer.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.21.0301031410470.77781-100000@InterJet.elischer.org>, Ju
lian Elischer writes:

>> Use sysctl to pick up your own proc, look for the jail flag.  It takes
>> less than 10 lines of C.
>
>I can't see anything relevant in sysctl -a. 

We don't return binary blobs from sysctl -a.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

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




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