Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2000 23:05:02 +0200 (CEST)
From:      Marius Bendiksen <mbendiks@eunet.no>
To:        freebsd-fs@freebsd.org
Cc:        freebsd-hackers@freebsd.org
Subject:   sys/ufs/ufs/ufs_quota.c
Message-ID:  <Pine.BSF.4.05.10006242301540.94193-100000@login-1.eunet.no>

next in thread | raw e-mail | index | archive | help
Throughout ufs_quota, it appears as though a (struct ucred *) is passed to
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?

---
Marius Bendiksen



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?Pine.BSF.4.05.10006242301540.94193-100000>