mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alex Zarochentsev <zam@namesys.com>
To: Christoph Hellwig <hch@lst.de>
Cc: akpm@osdl.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] fix reiser4 compilation for ->permission changes
Date: Mon, 13 Sep 2004 21:09:11 +0400	[thread overview]
Message-ID: <20040913170911.GB27411@backtop.namesys.com> (raw)
In-Reply-To: <20040913140440.GA23541@lst.de>

On Mon, Sep 13, 2004 at 04:04:40PM +0200, Christoph Hellwig wrote:
> On Mon, Sep 13, 2004 at 04:02:26PM +0200, Christoph Hellwig wrote:
> > remove reiser4 permission.  It only ends up calling generic_permission
> > with no additional bits so it's completely unessecary.
> 

> Actually not.  I'm lost in the CPP abuse in reiser4, sorry.  Could someone of
> the namesys folks please remove all the perm_plugin mess?

yes, if you mean that check_perm() macro.  

> ->permission is the only access checking method for filesystems,
> everything else is supposed to happen through LSM which may use xattr
> storage in the filesystem.

I think what reiser4 needs is exactly the fs-specific per-object permission
check.   Is i_op->permission() going to be obsolete?   If not, ->permission()
is the best (available) way to call reiser4 permission plugin methods.  

> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

-- 
Alex.

  reply	other threads:[~2004-09-13 17:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-13 14:02 Christoph Hellwig
2004-09-13 14:04 ` Christoph Hellwig
2004-09-13 17:09   ` Alex Zarochentsev [this message]
2004-09-13 17:19     ` Christoph Hellwig

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=20040913170911.GB27411@backtop.namesys.com \
    --to=zam@namesys.com \
    --cc=akpm@osdl.org \
    --cc=hch@lst.de \
    --cc=linux-kernel@vger.kernel.org \
    /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®