[PATCH RFC] Alternative 64-bit capability patch

2007-10-28 Thread Andrew Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Serge, Here is a more fully formed 64-bit capabilities patch than the one I sent you last week. Its still subject to a bunch of testing. [The patch is against Linus' v2.6.24-rc1 tree.] Cheers Andrew -BEGIN PGP SIGNATURE- Version: GnuPG v1.2

Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)

2007-10-28 Thread Arjan van de Ven
On Sun, 28 Oct 2007 15:08:56 -0700 Crispin Cowan <[EMAIL PROTECTED]> wrote: > To reject an LSM for providing "bad" security, IMHO you should have to > show how it is possible to subvert the self-stated goals of that LSM. > Complaints that the LSM fails to meet some goal outside of its stated > pur

Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)

2007-10-28 Thread Peter Dolding
On 10/29/07, Crispin Cowan <[EMAIL PROTECTED]> wrote: > To reject an LSM for providing "bad" security, IMHO you should have to > show how it is possible to subvert the self-stated goals of that LSM. > Complaints that the LSM fails to meet some goal outside of its stated > purpose is irrelevant. Con

Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)

2007-10-28 Thread Alan Cox
> To reject an LSM for providing "bad" security, IMHO you should have to > show how it is possible to subvert the self-stated goals of that LSM. > Complaints that the LSM fails to meet some goal outside of its stated > purpose is irrelevant. Conjecture that it probably can be violated > because of

Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)

2007-10-28 Thread Crispin Cowan
Alan Cox wrote: >> The idea that poor security is worse than no security is fallacious, >> and not backed up by common experience. >> > There is a ton of evidence both in computing and outside of it which > shows that poor security can be very much worse than no security at all. > In particula

Re: Linux Security *Module* Framework

2007-10-28 Thread Jan Engelhardt
On Oct 28 2007 20:42, Tilman Schmidt wrote: >Am 27.10.2007 20:22 schrieb Pavel Machek: >> Hi! >> >>> but require unreasonable interface changes. As people who care >>> about security (y'all who are only from the LKML are excused) it >>> is our obligation to look beyond the preconceived notions of

Re: Linux Security *Module* Framework

2007-10-28 Thread Tilman Schmidt
Am 27.10.2007 20:22 schrieb Pavel Machek: > Hi! > >> but require unreasonable interface changes. As people who care >> about security (y'all who are only from the LKML are excused) it >> is our obligation to look beyond the preconceived notions of what >> is and isn't secure. Security is subjectiv

Re: eradicating out of tree modules

2007-10-28 Thread Adrian Bunk
On Sun, Oct 28, 2007 at 07:51:12PM +0100, Tilman Schmidt wrote: > Am 28.10.2007 02:55 schrieb Adrian Bunk: > > Justifying anything with code with not GPL compatible licences has zero > > relevance here. > > > > And there's value in making life harder for such modules with > > questionable legali

RE: Linux Security *Module* Framework (Was: LSM conversion to static interface)

2007-10-28 Thread Hua Zhong
I think you may be misinterpreting the word "poor" here. Many people in this thread consider a security solution "poor" because it's not "complete" or "perfect": it may work against attack ABC but not attack XYZ. The defendants say that XYZ isn't possible in the environment that it's supposed to b

Re: eradicating out of tree modules

2007-10-28 Thread Tilman Schmidt
Am 28.10.2007 02:55 schrieb Adrian Bunk: > Justifying anything with code with not GPL compatible licences has zero > relevance here. > > And there's value in making life harder for such modules with > questionable legality. As an example, consider people who experienced > crashes of "the Linux

RE: Linux Security *Module* Framework (Was: LSM conversion to static interface)

2007-10-28 Thread Hua Zhong
> -Original Message- > From: [EMAIL PROTECTED] [mailto:linux-kernel- > [EMAIL PROTECTED] On Behalf Of Pavel Machek > Sent: Saturday, October 27, 2007 11:29 AM > To: Ray Lee > Cc: Alan Cox; Chris Wright; Casey Schaufler; Adrian Bunk; Simon Arlott; > [EMAIL PROTECTED]; linux-security-module

Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)

2007-10-28 Thread Pavel Machek
Hi! > > > The idea that poor security is worse than no security is fallacious, > > > and not backed up by common experience. > > > > There is a ton of evidence both in computing and outside of it which > > shows that poor security can be very much worse than no security at all. > > (So, I take it

Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)

2007-10-28 Thread Pavel Machek
Hi! > but require unreasonable interface changes. As people who care > about security (y'all who are only from the LKML are excused) it > is our obligation to look beyond the preconceived notions of what > is and isn't secure. Security is subjective. It's how you feel > about it. Hmm. So lets add

Re: eradicating out of tree modules

2007-10-28 Thread Tilman Schmidt
Am 28.10.2007 15:37 schrieb Stefan Richter: > Tilman Schmidt wrote: >> Am 28.10.2007 10:25 schrieb Stefan Richter: >>> You two are hypothesizing. >> No, we're not. We're discussing the very real issue of whether >> LSM should be amputated in such a way as to make life difficult >> for out of tree s

Re: eradicating out of tree modules

2007-10-28 Thread Simon Arlott
On 28/10/07 14:37, Stefan Richter wrote: > Tilman Schmidt wrote: >> Am 28.10.2007 10:25 schrieb Stefan Richter: >>> You two are hypothesizing. >> >> No, we're not. We're discussing the very real issue of whether >> LSM should be amputated in such a way as to make life difficult >> for out of tree

Re: eradicating out of tree modules

2007-10-28 Thread Stefan Richter
Tilman Schmidt wrote: > Am 28.10.2007 10:25 schrieb Stefan Richter: >> You two are hypothesizing. > > No, we're not. We're discussing the very real issue of whether > LSM should be amputated in such a way as to make life difficult > for out of tree security module developers. I still believe you

Re: [AppArmor 00/45] AppArmor security module overview

2007-10-28 Thread Andreas Gruenbacher
On Saturday 27 October 2007 22:47, Christoph Hellwig wrote: > On Fri, Oct 26, 2007 at 07:37:21AM -0700, Arjan van de Ven wrote: > > before going into the LSM / security side of things, I'd like to get > > the VFS guys to look at your VFS interaction code. > > It's been NACKed a few times, and just

Re: [PATCH 2/2] Version 9 (2.6.24-rc1) Smack: Simplified Mandatory Access Control Kernel

2007-10-28 Thread Ahmed S. Darwish
On 10/28/07, Al Viro <[EMAIL PROTECTED]> wrote: > On Sat, Oct 27, 2007 at 11:01:12AM +0200, Ahmed S. Darwish wrote: > > The problem here (As discussed in private mails) is that the for loop > > assumes that the beginning of given user-space buffer is the beginning > > of a rule. This leads to situa

Re: eradicating out of tree modules

2007-10-28 Thread Tilman Schmidt
Am 28.10.2007 10:25 schrieb Stefan Richter: > You two are hypothesizing. No, we're not. We're discussing the very real issue of whether LSM should be amputated in such a way as to make life difficult for out of tree security module developers. > - We (most of us) change APIs to improve the kern

Re: eradicating out of tree modules

2007-10-28 Thread Stefan Richter
Adrian Bunk wrote: > On Sat, Oct 27, 2007 at 04:47:15PM +0200, Tilman Schmidt wrote: >> There is a big difference between "not doing anything to help" >> and "actively doing something to make life difficult for". The >> former is undoubtedly legitimate. It's the latter we're >> discussing here. >