Date: Sat, 3 Jan 1998 21:40:01 -0800 (PST) From: Dan Swartzendruber <dswartz@druber.com> To: freebsd-bugs Subject: Re: kern/5285: quotas do not work properly with setuid programs. Message-ID: <199801040540.VAA02749@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/5285; it has been noted by GNATS. From: Dan Swartzendruber <dswartz@druber.com> To: freebsd-gnats-submit@freebsd.org, dswartz@druber.com Cc: Subject: Re: kern/5285: quotas do not work properly with setuid programs. Date: Sun, 04 Jan 1998 00:33:47 -0500 I've had some time to poke through the kernel sources, and it sure looks like ufs_quota and company are checking the effective UID (that is what cr_uid is, no?) I don't yet understand why that was zero in the case of my test program (I proved this also by adding a kernel printf just to make sure, and it did print 0). --- Swartzendruber Consulting, Inc.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801040540.VAA02749>