From owner-freebsd-fs Sat Jun 24 15:18:48 2000 Delivered-To: freebsd-fs@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id C409737B5C3 for ; Sat, 24 Jun 2000 15:18:44 -0700 (PDT) (envelope-from ino-waiting@gmx.net) Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout1.freenet.de with esmtp (Exim 3.14 #3) id 135yGB-00085x-00 for freebsd-fs@freebsd.org; Sun, 25 Jun 2000 00:18:43 +0200 Received: from [213.6.11.52] (helo=spotteswoode.de) by mx2.freenet.de with smtp (Exim 3.14 #3) id 135yGA-0001A3-00 for freebsd-fs@freebsd.org; Sun, 25 Jun 2000 00:18:42 +0200 Received: (qmail 1030 invoked by uid 0); 24 Jun 2000 22:18:40 -0000 From: "clemensF" Date: Sun, 25 Jun 2000 00:18:40 +0200 To: Marius Bendiksen Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: sys/ufs/ufs/ufs_quota.c Message-ID: <20000625001840.A1017@spotteswoode.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from mbendiks@eunet.no on Sat, Jun 24, 2000 at 11:05:02PM +0200 Organization: private X-PGP-ID: 0xD4685B88-4894C483/DH X-PGP-FPR: 0FAE 5F53 CEB9 49DE 9300 3035 D468 5B88 4894 C483 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Marius Bendiksen: > the various quota routines, rather than a (struct proc *). As I can see > >from the code, chkdq(), for example, should rather be using an suser() > check upon a process structure, than testing cred->cr_uid==0. Are there > any objections to changing this? this should be more portable and future-save, right? clemens To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message