From: Alexey Dobriyan <adobriyan@gmail.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: david@lang.hm, James Morris <jmorris@namei.org>,
Kentaro Takeda <takedakn@nttdata.co.jp>,
linux-security-module@vger.kernel.org,
linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
Toshiharu Harada <haradats@nttdata.co.jp>
Subject: Re: [PATCH] Introduce new LSM hooks where vfsmount is available.
Date: Tue, 23 Sep 2008 19:20:53 +0400 [thread overview]
Message-ID: <20080923152053.GA6622@x200.localdomain> (raw)
In-Reply-To: <1222182167.28396.11.camel@moss-spartans.epoch.ncsc.mil>
On Tue, Sep 23, 2008 at 11:02:47AM -0400, Stephen Smalley wrote:
>
> On Mon, 2008-09-22 at 23:12 -0700, david@lang.hm wrote:
> > On Tue, 23 Sep 2008, James Morris wrote:
> >
> > > On Wed, 17 Sep 2008, Kentaro Takeda wrote:
> > >
> > >> TOMOYO Linux needs method for calculating pathname in LSM module.
> > >> However, we have received comment from Al Viro, the vfs maintainer,
> > >> that adding vfsmount parameter to vfs helper functions (and LSM hooks)
> > >> is not preferable. We have asked some people (including Al), and we
> > >> came back to the most straightforward approach; adding new LSM hooks
> > >> where vfsmount is available.
> > >>
> > >> The attached patch introduces several new LSM hooks TOMOYO Linux
> > >> needs. It has less impact to existing LSM module and no impact to vfs
> > >> helper functions. Please review it.
> > >
> > > I don't see any technical errors in this patch.
> > >
> > > If it is going to be merged, please make a new config option for
> > > path-based hooks (similar to that for the network hooks), so they can be
> > > compiled out.
Another pointless config option.
It's actually pretty surprising that SECURITY_NETWORK is
a) user-visible and b) is not SECURITY && NET.
Same for SECURITY_NETWORK_XFRM.
next prev parent reply other threads:[~2008-09-23 15:18 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <48C65E9D.3070106@nttdata.co.jp>
[not found] ` <5fb14edc0809090902m32431bf6yf518a457e410764d@mail.gmail.com>
[not found] ` <20080910134540.45ec1272.akpm@linux-foundation.org>
[not found] ` <48C877DE.4040402@nttdata.co.jp>
2008-09-17 2:16 ` Kentaro Takeda
2008-09-17 4:00 ` Casey Schaufler
2008-09-17 8:35 ` Kentaro Takeda
2008-09-17 17:46 ` david
2008-09-23 6:06 ` James Morris
2008-09-23 6:12 ` david
2008-09-23 15:02 ` Stephen Smalley
2008-09-23 15:20 ` Alexey Dobriyan [this message]
2008-09-23 21:20 ` James Morris
2008-09-24 8:00 ` Kentaro Takeda
2008-09-24 13:28 ` Serge E. Hallyn
2008-09-24 21:18 ` James Morris
2008-12-17 4:24 [PATCH] introduce " Kentaro Takeda
2008-12-17 4:42 ` Al Viro
2008-12-17 4:50 ` Al Viro
2008-12-17 5:06 ` Kentaro Takeda
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=20080923152053.GA6622@x200.localdomain \
--to=adobriyan@gmail.com \
--cc=david@lang.hm \
--cc=haradats@nttdata.co.jp \
--cc=jmorris@namei.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=sds@tycho.nsa.gov \
--cc=takedakn@nttdata.co.jp \
/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®