All of lore.kernel.org
 help / color / mirror / Atom feed
From: ebiederm@xmission.com (Eric W. Biederman)
To: Eric Paris <eparis@parisplace.org>
Cc: Miklos Szeredi <miklos@szeredi.hu>,
	linux-fsdevel@vger.kernel.org,
	linux-security-module@vger.kernel.org
Subject: Re: [PATCH] fuse: Only allow read/writing user xattrs
Date: Sat, 06 Oct 2012 16:42:05 -0700	[thread overview]
Message-ID: <87zk3zgoc2.fsf@xmission.com> (raw)
In-Reply-To: <CACLa4pspCPnziaobcLN_QXRZ8quVPi4gTnyA0GO=uxmDWoA_kw@mail.gmail.com> (Eric Paris's message of "Sat, 6 Oct 2012 11:57:35 -0400")

Eric Paris <eparis@parisplace.org> writes:

> Why trust uids or rwx bits.  Might as well do away with those as well,
> right?

Lying to your own userspace processes (which you can do with LD_PRELOAD)
is rather different than lying to the selinux or the smack modules.

What I am saying with my patch is that fuse is remarkably non-nuanced
in how it interacts with extended attributes, and that it appears
very clear that there are bugs in the area of unprivileged mounts that
need to be addressed.

I am happy to hear about better solutions.  Telling me it's not a bug
and sticking your head in the sand is quite amusing.

Eric



  reply	other threads:[~2012-10-06 23:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-05 22:50 [PATCH] fuse: Only allow read/writing user xattrs Eric W. Biederman
2012-10-06 14:23 ` Eric Paris
2012-10-06 15:34   ` Eric W. Biederman
2012-10-06 15:57     ` Eric Paris
2012-10-06 23:42       ` Eric W. Biederman [this message]
2012-10-08 13:47         ` Serge Hallyn
2012-10-08 14:02         ` Eric Paris

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=87zk3zgoc2.fsf@xmission.com \
    --to=ebiederm@xmission.com \
    --cc=eparis@parisplace.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    /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.