cvs commit: src/sys/ufs/ufs ufs_vfsops.c
Mike Pritchard
mpp at FreeBSD.org
Thu Feb 1 02:13:54 UTC 2007
mpp 2007-02-01 02:13:53 UTC
FreeBSD src repository
Modified files:
sys/ufs/ufs ufs_vfsops.c
Log:
Prevent quotactl calls that pass in an id of -1 from incorrectly
using the callers UID instead of the GID when performing group
operations. This could allow users to determine group quota
information for groups they are not a member of in some cases.
Rename the "uid" parameter in ufs_quotactl to "id" to better show
that it is used for more than just the uid, and to be more in line
with the naming conventions in the other quota routines.
PR: kern/33940
Revision Changes Path
1.48 +20 -7 src/sys/ufs/ufs/ufs_vfsops.c
More information about the cvs-src
mailing list