Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2002 12:45:36 +0200 (CEST)
From:      Oliver Fromme <olli@secnetix.de>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Getfsstat(2), statfs(2) and fstatfs(2) jailed.
Message-ID:  <200210021045.g92AjaMU066299@lurza.secnetix.de>
In-Reply-To: <20021001213848.GK19012@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek <nick@garage.freebsd.pl> wrote:
 > With this kernel module for FreeBSD 4.x process in jail can see only
 > file systems that are mounted in jail's chroot directory.
 > 
 > For example if we have mounted:
 > [...]

Also see PR 26740:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/26740

BTW, does your patch work if the process that created the jail
was already chrooted (possibly with a root different from the
root of the process that mounted the filesystem)?  There are
a lot of non-trivial cases ...

Another issue might be the degraded efficiency if there are a
lot of mounts (I mean _really_ many).

Regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.

"All that we see or seem is just a dream within a dream" (E. A. Poe)

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?200210021045.g92AjaMU066299>