public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: Reiner Sailer <sailer@us.ibm.com>
Cc: James Morris <jmorris@redhat.com>, Andrew Morton <akpm@osdl.org>,
	Chris Wright <chrisw@osdl.org>,
	emilyr@us.ibm.com, yoder1@us.ibm.com, kylene@us.ibm.com,
	linux-kernel@vger.kernel.org, toml@us.ibm.com
Subject: Re: [PATCH 1 of 4] ima: related TPM device driver interal kernel interface
Date: Fri, 20 May 2005 22:57:06 -0700	[thread overview]
Message-ID: <20050521055705.GA24597@kroah.com> (raw)
In-Reply-To: <Pine.WNT.4.63.0505201634370.3360@laptop>

On Fri, May 20, 2005 at 04:41:23PM -0400, Reiner Sailer wrote:
> James Morris <jmorris@redhat.com> wrote on 05/20/2005 04:32:58 PM:
> > On Fri, 20 May 2005, Reiner Sailer wrote:
> > 
> > > > Why are you using LSM for this?
> > > > 
> > > > LSM should be used for comprehensive access control frameworks which 
> > > > significantly enhance or even replace existing Unix DAC security.
> > > 
> > > I see LSM is framework for security. IMA is an architecture that
> > > enforces access control in a different way than SELinux. IMA guarantees 
> > > that executable content is measured and accounted for before
> > > it is loaded and can access (and possibly corrupt) system resources.
> > 
> > LSM is an access control framework.  Your (few) LSM hooks always return
> > zero, and don't enforce access control at all.  You even have a separate
> > measurement hook for modules.
> > 
> > I suggest implementing all of your code via distinct measurement hooks, so 
> > measurement becomes a distinct and well defined security entity within the 
> > kernel.
> 
> This is certainly possible. This means that there will be 5 more hooks
> (such as the one in kernel/module.c, see PATCH 4 of 4).
> 
> If the kernel maintainers are in favor of this approach, then there is not
> much that stands against this.

Yes, and it will force you to justify those hooks :)

Good luck,

greg k-h

  reply	other threads:[~2005-05-21  6:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-20 20:41 [PATCH 1 of 4] ima: related TPM device driver interal kernel interface Reiner Sailer
2005-05-21  5:57 ` Greg KH [this message]
     [not found] <OF78B8C5CF.5EB676A1-ON85257007.005EA7BF-85257007.005FF5F9@us.ibm.com>
2005-05-20 20:32 ` James Morris
  -- strict thread matches above, loose matches on Subject: below --
2005-05-20 17:38 Reiner Sailer
2005-05-20 13:06 Kylene Hall
2005-05-20 14:56 ` James Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050521055705.GA24597@kroah.com \
    --to=greg@kroah.com \
    --cc=akpm@osdl.org \
    --cc=chrisw@osdl.org \
    --cc=emilyr@us.ibm.com \
    --cc=jmorris@redhat.com \
    --cc=kylene@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sailer@us.ibm.com \
    --cc=toml@us.ibm.com \
    --cc=yoder1@us.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox