All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Christoph Hellwig <hch@infradead.org>
Cc: Pavel Shilovsky <piastry@etersoft.ru>,
	linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org
Subject: Re: [PATCH 0/2] Shared flags
Date: Fri, 14 Nov 2008 03:37:12 +0000	[thread overview]
Message-ID: <20081114033712.GL2055@shareable.org> (raw)
In-Reply-To: <20081113092554.GA3004@infradead.org>

Christoph Hellwig wrote:
> On Thu, Nov 13, 2008 at 01:08:58PM +0300, Pavel Shilovsky wrote:
> > We suggest to switch on this flags with special options during mounting.  
> > By default, it'll be switch off.
> > This solution deletes possibility of such situations, like in example.
> 
> Sorry, having completely weird open modes only for one filesystem, and
> only depending on mount options is not very nice to the user.
> 
> And options or not allowing the above functionality for regular users
> is a security issue.

A generic mount option is currently used for mandatory locking - this
is very similar.

The only different I see, for security, is with mandatory locking a
process which doesn't want to get stuck can check the permission bits
before opening a file.  But I'm not aware of anything actually doing this.

-- Jamie

  reply	other threads:[~2008-11-14  3:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-10 13:58 [PATCH 0/2] Shared flags Pavel Shilovsky
     [not found] ` <49183DF9.9010003-7qunaywFIewox3rIn2DAYQ@public.gmane.org>
2008-11-11  8:52   ` Christoph Hellwig
2008-11-11 10:09     ` Jamie Lokier
2008-11-11 11:14       ` Christoph Hellwig
2008-11-13 10:08         ` Pavel Shilovsky
     [not found]           ` <491BFCBA.80208-7qunaywFIewox3rIn2DAYQ@public.gmane.org>
2008-11-13  9:25             ` Christoph Hellwig
2008-11-14  3:37               ` Jamie Lokier [this message]
2008-11-15 11:39                 ` Christoph Hellwig
     [not found]                   ` <20081115113938.GA26576-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2008-11-16  5:57                     ` Pavel Shilovsky
2008-11-16  5:57                   ` Pavel Shilovsky
     [not found]               ` <20081113092554.GA3004-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2008-11-16 10:37                 ` Benny Halevy

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=20081114033712.GL2055@shareable.org \
    --to=jamie@shareable.org \
    --cc=hch@infradead.org \
    --cc=linux-api@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=piastry@etersoft.ru \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.