tech-kern archive

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

Re: converting uid/gid to abstract credentials



Hey,

n0g0013 wrote:

as i said i'm in the early stages and need more time put something
coherent together.  i wish to unify user/process credentials under a
single type but have that type of variable length/size such that
group IDs may be 16 bit length, whilst user IDs may be 32 and other
credentials, capabilities, authorization, may be other lengths.
this isn't essential i'm just abstracting in my head.

in short, i'll get back to you on this.

User/process credentials are already unified under a single opaque
type -- kauth_cred_t.

Take a look at the kauth(9) man-page, especially the "Credential Private
Data" part.

-e.


Home | Main Index | Thread Index | Old Index