From owner-cvs-all@FreeBSD.ORG Thu Feb 1 02:13:54 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 55F5B16A400; Thu, 1 Feb 2007 02:13:54 +0000 (UTC) (envelope-from mpp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 309AD13C48E; Thu, 1 Feb 2007 02:13:54 +0000 (UTC) (envelope-from mpp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l112DsmI043121; Thu, 1 Feb 2007 02:13:54 GMT (envelope-from mpp@repoman.freebsd.org) Received: (from mpp@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l112DsaF043120; Thu, 1 Feb 2007 02:13:54 GMT (envelope-from mpp) Message-Id: <200702010213.l112DsaF043120@repoman.freebsd.org> From: Mike Pritchard Date: Thu, 1 Feb 2007 02:13:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/ufs/ufs ufs_vfsops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 02:13:54 -0000 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