From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Phillips Subject: Re: [PATCH] Introduce BSD-style user credential [3/3] Date: Sat, 31 Aug 2002 18:13:04 +0200 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: References: <1030755064.1225.18.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Cc: Trond Myklebust , Linux FSdevel , Linux Kernel , Dave McCracken Return-path: To: Alan Cox , Linus Torvalds In-Reply-To: <1030755064.1225.18.camel@irongate.swansea.linux.org.uk> List-Id: linux-fsdevel.vger.kernel.org On Saturday 31 August 2002 02:51, Alan Cox wrote: > 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! Why worry about what SELinux needs, since it is proprietary, and may not even be legal to distribute? Perhaps there is some other set of security plugins that actually matter. -- Daniel