hacks to get 0.44pre going on netbsd-4

Tomas Olsson tol at stacken.kth.se
Sun Sep 3 00:09:53 CEST 2006


Pavel Cahyna <pavel at netbsd.org> writes:
> how can Arla work without PAGs? I was thinking that this is a key part.
>
>From the daemon's point of view a PAG is just a number identifying the set
of AFS credentials to use for the request.  If the user hasn't set his PAG
nnpfs defaults to the user's uid, so if there is no way to set your PAG you
just have that one slot to work with.

For an ordinary user that shouldn't be too much of a limitation, they don't
use pagsh anyway.  Personally I do feel a bit handicapped by it on my Mac.

> could you please briefly explain how were PAGs implemented before kauth
>
We add magic numbers to the process' group list, it's very convenient in
that it is inherited across fork() etc.  Perhaps not a very good way to use
those fields though, and it involves some ugly tricks.

> and how does kauth break this?
>
I'll leave that one for the experts.

/t


More information about the Arla-drinkers mailing list