All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Dietsche <olaf+list.linux-kernel@olafdietsche.de>
To: casey@schaufler-ca.com
Cc: Jan Kara <jack@suse.cz>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] 2.6.23: Filesystem capabilities 0.17
Date: Fri, 02 Nov 2007 10:07:14 +0100	[thread overview]
Message-ID: <873avp818d.fsf@olafdietsche.de> (raw)
In-Reply-To: 520194.24968.qm@web36605.mail.mud.yahoo.com

Casey Schaufler <casey@schaufler-ca.com> writes:

> --- Olaf Dietsche <olaf+list.linux-kernel@olafdietsche.de> wrote:
>
>> The bits are stored in a sparse file named /.capabilities in the
>> directory of the mount point, where the corresponding executable
>> lives. The inode number of the file is the index into this file.
>
> The old PlanG approach. It's the way that we did MAC labels in
> Trix4. It has the wicked advantage of working across NFS without
> anyone being the wiser.

If you don't trust a NFS, you'll mount it nosuid anyway and then
fscaps are disabled too.

> It really causes trouble for backup utilities, however.

Whatever implementation you choose, you will always have to modify
your backup utilities or copy the attributes separately.

> Trix6 (there wasn't really a Trix5) had xattrs
> available and we found the switch well worth the investment.

Extended attributes are a nice, clean concept, like micro kernels for
example :-). But they have a cost, which shouldn't be ignored.

Regards, Olaf.

  reply	other threads:[~2007-11-02  9:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-26 16:08 [PATCH] 2.6.23: Filesystem capabilities 0.17 Olaf Dietsche
2007-10-31 17:08 ` Jan Kara
2007-11-01 19:49   ` Olaf Dietsche
2007-11-01 21:54     ` Jan Kara
2007-11-01 22:22       ` Olaf Dietsche
2007-11-02  4:21         ` Casey Schaufler
2007-11-02  9:07           ` Olaf Dietsche [this message]
2007-11-05 11:09         ` Jan Kara
2007-11-07 14:42           ` Olaf Dietsche
2007-10-31 17:36 ` Serge E. Hallyn
2007-11-01 19:54   ` Olaf Dietsche

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=873avp818d.fsf@olafdietsche.de \
    --to=olaf+list.linux-kernel@olafdietsche.de \
    --cc=casey@schaufler-ca.com \
    --cc=jack@suse.cz \
    --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 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.