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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to