DragonFly BSD
DragonFly commits List (threaded) for 2004-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/vfs/ufs ufs_vfsops.c


From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Jun 2004 08:40:22 -0700 (PDT)

hmp         2004/06/03 08:40:22 PDT

DragonFly src repository

  Modified files:
    sys/vfs/ufs          ufs_vfsops.c 
  Log:
  Quotactl(2) should set the uid correctly, based on the QUOTA type supplied.
  
  Previously, it would set the uid to p->p_ucred->cr_ruid unconditionally
  without checking if the QUOTA type is GRPQUOTA or USRQUOTA; thus allowing
  a user with UID X to access the groupquota of gid X.
  
  Inspired-by:	PR# 33940 (by Vladimir B. Grebenschikov) [FreeBSD GNATS]
  
  Revision  Changes    Path
  1.8       +14 -2     src/sys/vfs/ufs/ufs_vfsops.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/ufs/ufs_vfsops.c.diff?r1=1.7&r2=1.8&f=h



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]