mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Hugh Dickins <hughd@google.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: should CONFIG_TMPFS_POSIX_ACL be so easily deselectable?
Date: Fri, 17 Jun 2011 17:28:15 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LSU.2.00.1106171713570.1345@sister.anvils> (raw)
In-Reply-To: <alpine.DEB.2.02.1106171909260.8043@localhost6.localdomain6>

On Fri, 17 Jun 2011, Robert P. J. Day wrote:
> On Fri, 17 Jun 2011, Hugh Dickins wrote:
> > On Fri, 17 Jun 2011, Robert P. J. Day wrote:
> > >
> > > p.s.  i do notice a fairly recent change to that config file related
> > > to this:
> >
> > Yes, we were originally losing the oldconfig value of
> > TMPFS_POSIX_ACL.
> >
> > It would be easy to ack a patch from you which changes that wording
> > "If you don't know what Access Control Lists are, say N" to
> > something more informative about what the sound userspace wants.
> 
>   agreed -- something as simple as "if you don't know, say Y"?  :-)
> or would it be better to actually take a line or two to explain the
> consequences of that option?

I think both.  I've often thought "default N", "if unsure say Y"
Kconfig options contradictory, but I can see the point in this case.
Example or examples of the pain of saying N can be helpful.

> (by the way, this option affects more than just sound.)

Of course.

> 
> > It would be harder to justify having SOUND select TMPFS, or changing
> > the TMPFS_POSIX_ACL default to Y.  It's been N forever, and that is
> > how we prefer to add features.
> 
>   normally, i'd agree with you, except for the observation that, by
> far, the default config files across all architectures select that
> option.  there are 48 config files that select it, and only 3 that
> don't.  sometimes, that's a compelling argument that maybe it *should*
> be default yes.  but for now, i'll just whip up a more informative
> help sentence or two.

I don't think architecture defconfig files necessarily correlate with
Kconfig defaults.  You could argue that they should do so (so far as
arch-independent options are concerned), but I think the reality is
that arch defconfigs are produced separately, at the whim of various
people with different agendas.  I may be wrong (if unsure, say Y!).

> 
> rday
> 
> p.s.  as i mentioned, that option would appear to affect more than
> just sound.  as in:
> 
> $ getfacl /dev/kvm
> getfacl: Removing leading '/' from absolute path names
> # file: dev/kvm
> # owner: root
> # group: kvm
> user::rw-
> user:rpjday:rw-
> group::rw-
> mask::rw-
> other::---
> 
> so wouldn't KVM suddenly start behaving badly as well?

Dunno.  But certainly TMPFS_POSIX_ACLs are for whatever uses
tmpfs POSIX ACLs are being put to, not specific to sound - but
sound happens to be the case that wasted your time and Linus's.

Hugh

      reply	other threads:[~2011-06-18  0:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17 22:06 Robert P. J. Day
2011-06-17 22:43 ` Hugh Dickins
2011-06-17 23:24   ` Robert P. J. Day
2011-06-18  0:28     ` Hugh Dickins [this message]

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.LSU.2.00.1106171713570.1345@sister.anvils \
    --to=hughd@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rpjday@crashcourse.ca \
    /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®