From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751071AbWDXSVf (ORCPT ); Mon, 24 Apr 2006 14:21:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751085AbWDXSVe (ORCPT ); Mon, 24 Apr 2006 14:21:34 -0400 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:41482 "EHLO spitz.ucw.cz") by vger.kernel.org with ESMTP id S1751070AbWDXSVe (ORCPT ); Mon, 24 Apr 2006 14:21:34 -0400 Date: Thu, 20 Apr 2006 23:41:10 +0000 From: Pavel Machek To: Jan Engelhardt Cc: Arjan van de Ven , Greg KH , James Morris , Christoph Hellwig , Andrew Morton , Stephen Smalley , T?r?k Edwin , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Wright , Linus Torvalds Subject: Re: Time to remove LSM (was Re: [RESEND][RFC][PATCH 2/7] implementation of LSM hooks) Message-ID: <20060420234110.GA2529@ucw.cz> References: <200604142301.10188.edwin@gurde.com> <1145290013.8542.141.camel@moss-spartans.epoch.ncsc.mil> <20060417162345.GA9609@infradead.org> <1145293404.8542.190.camel@moss-spartans.epoch.ncsc.mil> <20060417173319.GA11506@infradead.org> <20060417195146.GA8875@kroah.com> <1145462454.3085.62.camel@laptopd505.fenrus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed 19-04-06 21:06:57, Jan Engelhardt wrote: > >> > >> Well then, have a look at http://alphagate.hopto.org/multiadm/ > >> > > > >hmm on first sight that seems to be basically an extension to the > >existing capability() code... rather than a 'real' LSM module. Am I > >missing something here? > > > > (So what's the definition for a "real" LSM module?) > > It's quite a "big" extension to the capability code inasfar as that > access is not solely granted based on capabilities, but a matrix of > capabilities plus UID/GID of filesystem objects. > > This is not a "for fun" LSM like rootplug, but it was specifically > developed to address some permission issues in an educational institution. > The LSM hooks were there (and some more are added with MultiAdm), and it > seemed a lot simpler than setting up SELinux. Easier to setup does not seem like good reason for changing kernel, I'm afraid. Surely selinux can be improved or userland-educational-selinux created? Pavel -- Thanks, Sharp!