mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: david@lang.hm
To: James Morris <jmorris@namei.org>
Cc: 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: Mon, 22 Sep 2008 23:12:44 -0700 (PDT)	[thread overview]
Message-ID: <alpine.DEB.1.10.0809222310450.25430@asgard.lang.hm> (raw)
In-Reply-To: <alpine.LRH.1.10.0809231604040.25628@tundra.namei.org>

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.

one question about these new hook locations.

it is possible to gather all the info that was gathered at the old hook 
locations from the new ones? I realize that you are not eliminating the 
old hooks (and possibly can't for backwards compatibility), but possibly 
they should be depriciated in favor of the new locations if they can 
satisfy both the old uses and new use cases.

David Lang

  reply	other threads:[~2008-09-23  6:12 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 [this message]
2008-09-23 15:02             ` Stephen Smalley
2008-09-23 15:20               ` Alexey Dobriyan
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=alpine.DEB.1.10.0809222310450.25430@asgard.lang.hm \
    --to=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=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®