From: Mimi Zohar <zohar@linux.vnet.ibm.com>
To: James Morris <jmorris@namei.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Hugh Dickins <hugh.dickins@tiscali.co.uk>,
Mimi Zohar <zohar@us.ibm.com>,
Andrew Morton <akpm@linux-foundation.org>,
Serge Hallyn <serue@us.ibm.com>,
Al Viro <viro@zeniv.linux.org.uk>,
linux-kernel@vger.kernel.org,
linux-security-module@vger.kernel.org,
David Safford <safford@watson.ibm.com>
Subject: Re: [PATCH] integrity: fix IMA inode leak
Date: Mon, 08 Jun 2009 22:56:51 -0400 [thread overview]
Message-ID: <1244516211.3804.24.camel@dyn9002018117.watson.ibm.com> (raw)
In-Reply-To: <alpine.LRH.2.00.0906090912120.6132@tundra.namei.org>
On Tue, 2009-06-09 at 09:16 +1000, James Morris wrote:
> On Mon, 8 Jun 2009, Mimi Zohar wrote:
>
> >
> > Ok, so instead of having a full fledge single security layer, only add
> > the security layer for those places where both the LSM hooks and IMA
> > co-exist: security_file_mmap, security_bprm_check, security_inode_alloc,
> > security_inode_free, and security_file_free. As the LSM hooks are called
> > 'security_XXXX', the call would look something like:
> >
> > security_all_inode_free() {
> > ima_inode_free()
> > security_inode_free()
> > }
>
> Yes, it only needs to be a wrapper. The above is ugly, how about:
agreed! But changing only these 5 security_ hook names and leaving the
rest alone is even uglier.
> security_inode_free()
> {
> ima_inode_free();
> lsm_inode_free();
> }
>
> I think we may have come full circle on the naming of the LSM hook, but
> 'security_*' was never great given that it's only supposed to be covering
> access control.
so why not 'mac_'?
Mimi Zohar
next prev parent reply other threads:[~2009-06-09 2:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-06 20:18 Hugh Dickins
2009-06-06 21:18 ` Linus Torvalds
2009-06-06 21:35 ` Linus Torvalds
2009-06-06 22:29 ` Hugh Dickins
2009-06-07 6:08 ` Mimi Zohar
2009-06-07 23:09 ` Linus Torvalds
2009-06-08 12:28 ` Mimi Zohar
2009-06-08 16:15 ` Linus Torvalds
2009-06-08 18:44 ` Mimi Zohar
2009-06-08 23:16 ` James Morris
2009-06-09 2:56 ` Mimi Zohar [this message]
2009-06-09 3:42 ` Casey Schaufler
2009-06-07 6:07 ` Mimi Zohar
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=1244516211.3804.24.camel@dyn9002018117.watson.ibm.com \
--to=zohar@linux.vnet.ibm.com \
--cc=akpm@linux-foundation.org \
--cc=hugh.dickins@tiscali.co.uk \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=safford@watson.ibm.com \
--cc=serue@us.ibm.com \
--cc=torvalds@linux-foundation.org \
--cc=viro@zeniv.linux.org.uk \
--cc=zohar@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
all inboxes | Powered by JetHome®