From owner-freebsd-current@FreeBSD.ORG Sun Jun 27 18:40:23 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5085F16A4D1; Sun, 27 Jun 2004 18:40:23 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5483D43D45; Sun, 27 Jun 2004 18:40:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 5130E1FFDDB; Sun, 27 Jun 2004 20:40:08 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 676DE1FFDD9; Sun, 27 Jun 2004 20:40:06 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id CD4DA15384; Sun, 27 Jun 2004 18:32:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id C22AB15329; Sun, 27 Jun 2004 18:32:49 +0000 (UTC) Date: Sun, 27 Jun 2004 18:32:49 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Pawel Jakub Dawidek In-Reply-To: <20040627180847.GN12007@darkness.comp.waw.pl> Message-ID: References: <20040627101951.GJ12007@darkness.comp.waw.pl> <20040627160959.GL12007@darkness.comp.waw.pl> <20040627174040.GM12007@darkness.comp.waw.pl> <20040627180847.GN12007@darkness.comp.waw.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: Robert Watson cc: Julian Elischer cc: "Bjoern A. Zeeb" cc: FreeBSD current users Subject: Re: jail getfsstat patches. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jun 2004 18:40:23 -0000 On Sun, 27 Jun 2004, Pawel Jakub Dawidek wrote: > On Sun, Jun 27, 2004 at 05:55:39PM +0000, Bjoern A. Zeeb wrote: > +> On Sun, 27 Jun 2004, Pawel Jakub Dawidek wrote: > +> > +> > On Sun, Jun 27, 2004 at 05:29:23PM +0000, Bjoern A. Zeeb wrote: > +> > > +> > +> * in fhstatfs you missed a prison_enforce_statfs call > +> > > +> > Nope. It is placed in cvtstatfs(). > +> > +> I am not talking about freebsd4_fhstatfs but about fhstatfs. > > It starts from: > > error = suser(td); > if (error) > return (error); > > So I don't think it is needed here, but we can put this there just in > case of future changes. for that and perhaps just for consistency with freebsd4_fhstatfs ? -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT