tech-kern archive

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

Re: quotactl permissions



Eric Haszlakiewicz <erh%nimenees.com@localhost> wrote:

> Here's a (completely untested) patch that should do that.
(...)
> +                     /* The user can always query about his own quota. */
> +                     if (id == kauth_cred_geteuid(l->l_cred))

l does not exist, but l->l_cred should obviously be turned into just
cred.

But id does not exist either. I assume it must be derived from one of
the void *arg, but which one and how?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index