diff options
author | mpp <mpp@FreeBSD.org> | 2007-02-01 02:13:53 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 2007-02-01 02:13:53 +0000 |
commit | 261dbc8078b5c1c5f3ffd75cdddf2e49c8a88fd6 (patch) | |
tree | 706e29c13e0c7a343684b9f0eec57b39a4c48055 /lib | |
parent | 3cdb06d461b452f656494c942ddb9cc181e3bcb7 (diff) | |
download | FreeBSD-src-261dbc8078b5c1c5f3ffd75cdddf2e49c8a88fd6.zip FreeBSD-src-261dbc8078b5c1c5f3ffd75cdddf2e49c8a88fd6.tar.gz |
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
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions