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

Alan Cox (alan@lxorguk.ukuu.org.uk)
31 Aug 2002 01:51:04 +0100


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/