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
- Re: sys/ufs/ufs/ufs_quota.c Marius Bendiksen
- Re: sys/ufs/ufs/ufs_quota.c clemensF
- Re: sys/ufs/ufs/ufs_quota.c Marius Bendiksen
- Re: sys/ufs/ufs/ufs_quota.c clemensF
- Re: sys/ufs/ufs/ufs_quota.c Ben Smithurst
- Re: sys/ufs/ufs/ufs_quota.c Poul-Henning Kamp
- Re: sys/ufs/ufs/ufs_quota.c Marius Bendiksen