Re: [PATCH] Introduce BSD-style user credential [3/3]

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Aug 30 2002 - 19:51:04 EST


On Sat, 2002-08-31 at 01:49, Linus Torvalds wrote:
> > struct pcred {
> > atomic_t count;
> > uid_t uid, euid, suid;
> > gid_t gid, egid, sgid;
> > struct ucred *cred;
> > kernel_cap_t ... capabilities ...
> > struct user_struct *user;
> > };
>

Needs fsuid too, and space for the security LSM modules to attach
private information. SELinux needs a few more credentials than base
kernels!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Aug 31 2002 - 22:00:32 EST