Re: jails and output of df/mount [PATCH]

2005-05-23 Thread Raphael H. Becker
Hi Jürgen, On Wed, May 18, 2005 at 12:45:29AM +0200, Juergen Unger wrote: On Tue, May 17, 2005 at 11:43:24PM +0200, Jeremie Le Hen wrote: [...] There seems to be one small bug in your patch : once applied, we don't see informations about / any longer inside jails. please try the new one

Re: jails and output of df/mount [PATCH]

2005-05-17 Thread Jeremie Le Hen
Hi Juergen, within a jail there are at this time two possibilities of operation for the syscall getfsstat (which is used e.g. for the commands 'df' and 'mount'): security.jail.getfsstatroot_only = 0: getfsstat return all filesystems mounted anywhere at the machine

Re: jails and output of df/mount [PATCH]

2005-05-17 Thread Juergen Unger
Hi Jeremie ! On Tue, May 17, 2005 at 11:43:24PM +0200, Jeremie Le Hen wrote: [...] This works fine on a recent RELENG_5 UP kernel. Given that this exposes some host configuration inside jail, it might be worth adding a sysctl to disable this. However, I'm not really sure this kind of

Re: jails and output of df/mount [PATCH]

2005-05-17 Thread Juergen Unger
On Tue, May 17, 2005 at 11:43:24PM +0200, Jeremie Le Hen wrote: [...] There seems to be one small bug in your patch : once applied, we don't see informations about / any longer inside jails. please try the new one at http://www.addict.de/unger/fbsd/patch-20050518/ bye, Juergen -- ENOSIG

jails and output of df/mount [PATCH]

2005-05-16 Thread Juergen Unger
Hi ! within a jail there are at this time two possibilities of operation for the syscall getfsstat (which is used e.g. for the commands 'df' and 'mount'): security.jail.getfsstatroot_only = 0: getfsstat return all filesystems mounted anywhere at the machine