mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] TMPFS: Expand "help" to explain value of TMPFS_POSIX_ACL
@ 2011-06-18 15:10 Robert P. J. Day
  2011-06-18 15:11 ` Randy Dunlap
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2011-06-18 15:10 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: Randy Dunlap, hughd, Andrew Morton


Expand the fs/Kconfig "help" info to clarify why it's a bad idea to
deselect the TMPFS_POSIX_ACL config variable.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

diff --git a/fs/Kconfig b/fs/Kconfig
index 19891aa..4217543 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -127,14 +127,20 @@ config TMPFS_POSIX_ACL
 	select TMPFS_XATTR
 	select GENERIC_ACL
 	help
-	  POSIX Access Control Lists (ACLs) support permissions for users and
-	  groups beyond the owner/group/world scheme.
+	  POSIX Access Control Lists (ACLs) support additional access rights
+	  for users and groups beyond the standard owner/group/world scheme,
+	  and this option selects support for ACLs specifically for tmpfs
+	  filesystems.
+
+	  If you've selected TMPFS, you almost certainly want this option
+	  as well since a number of user space features (e.g., ALSA sound)
+	  require POSIX ACL support under /dev to work properly.  In other
+	  words, if you're not sure and you have no *compelling* reason to
+	  deselect this feature, say Y.

 	  To learn more about Access Control Lists, visit the POSIX ACLs for
 	  Linux website <http://acl.bestbits.at/>.

-	  If you don't know what Access Control Lists are, say N.
-
 config TMPFS_XATTR
 	bool "Tmpfs extended attributes"
 	depends on TMPFS

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] TMPFS: Expand "help" to explain value of TMPFS_POSIX_ACL
  2011-06-18 15:10 [PATCH v2] TMPFS: Expand "help" to explain value of TMPFS_POSIX_ACL Robert P. J. Day
@ 2011-06-18 15:11 ` Randy Dunlap
  2011-06-18 15:44   ` Hugh Dickins
  0 siblings, 1 reply; 3+ messages in thread
From: Randy Dunlap @ 2011-06-18 15:11 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List, hughd, Andrew Morton

On Sat, 18 Jun 2011 11:10:20 -0400 (EDT) Robert P. J. Day wrote:

> 
> Expand the fs/Kconfig "help" info to clarify why it's a bad idea to
> deselect the TMPFS_POSIX_ACL config variable.
> 
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

Acked-by: Randy Dunlap <rdunlap@xenotime.net>


> ---
> 
> diff --git a/fs/Kconfig b/fs/Kconfig
> index 19891aa..4217543 100644
> --- a/fs/Kconfig
> +++ b/fs/Kconfig
> @@ -127,14 +127,20 @@ config TMPFS_POSIX_ACL
>  	select TMPFS_XATTR
>  	select GENERIC_ACL
>  	help
> -	  POSIX Access Control Lists (ACLs) support permissions for users and
> -	  groups beyond the owner/group/world scheme.
> +	  POSIX Access Control Lists (ACLs) support additional access rights
> +	  for users and groups beyond the standard owner/group/world scheme,
> +	  and this option selects support for ACLs specifically for tmpfs
> +	  filesystems.
> +
> +	  If you've selected TMPFS, you almost certainly want this option
> +	  as well since a number of user space features (e.g., ALSA sound)
> +	  require POSIX ACL support under /dev to work properly.  In other
> +	  words, if you're not sure and you have no *compelling* reason to
> +	  deselect this feature, say Y.
> 
>  	  To learn more about Access Control Lists, visit the POSIX ACLs for
>  	  Linux website <http://acl.bestbits.at/>.
> 
> -	  If you don't know what Access Control Lists are, say N.
> -
>  config TMPFS_XATTR
>  	bool "Tmpfs extended attributes"
>  	depends on TMPFS
> 
> -- 
> 
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                         http://crashcourse.ca
> 
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
> --
> 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/


---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v2] TMPFS: Expand "help" to explain value of TMPFS_POSIX_ACL
  2011-06-18 15:11 ` Randy Dunlap
@ 2011-06-18 15:44   ` Hugh Dickins
  0 siblings, 0 replies; 3+ messages in thread
From: Hugh Dickins @ 2011-06-18 15:44 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Randy Dunlap, Linux Kernel Mailing List, Andrew Morton

On Sat, 18 Jun 2011, Randy Dunlap wrote:
> On Sat, 18 Jun 2011 11:10:20 -0400 (EDT) Robert P. J. Day wrote:
> 
> > 
> > Expand the fs/Kconfig "help" info to clarify why it's a bad idea to
> > deselect the TMPFS_POSIX_ACL config variable.
> > 
> > Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
> 
> Acked-by: Randy Dunlap <rdunlap@xenotime.net>

Yes, that's good, Robert, thanks - I'm glad I left the writing to you.

Acked-by: Hugh Dickins <hughd@google.com>

> 
> 
> > ---
> > 
> > diff --git a/fs/Kconfig b/fs/Kconfig
> > index 19891aa..4217543 100644
> > --- a/fs/Kconfig
> > +++ b/fs/Kconfig
> > @@ -127,14 +127,20 @@ config TMPFS_POSIX_ACL
> >  	select TMPFS_XATTR
> >  	select GENERIC_ACL
> >  	help
> > -	  POSIX Access Control Lists (ACLs) support permissions for users and
> > -	  groups beyond the owner/group/world scheme.
> > +	  POSIX Access Control Lists (ACLs) support additional access rights
> > +	  for users and groups beyond the standard owner/group/world scheme,
> > +	  and this option selects support for ACLs specifically for tmpfs
> > +	  filesystems.
> > +
> > +	  If you've selected TMPFS, you almost certainly want this option
> > +	  as well since a number of user space features (e.g., ALSA sound)
> > +	  require POSIX ACL support under /dev to work properly.  In other
> > +	  words, if you're not sure and you have no *compelling* reason to
> > +	  deselect this feature, say Y.
> > 
> >  	  To learn more about Access Control Lists, visit the POSIX ACLs for
> >  	  Linux website <http://acl.bestbits.at/>.
> > 
> > -	  If you don't know what Access Control Lists are, say N.
> > -
> >  config TMPFS_XATTR
> >  	bool "Tmpfs extended attributes"
> >  	depends on TMPFS
> > 
> > -- 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-18 15:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-18 15:10 [PATCH v2] TMPFS: Expand "help" to explain value of TMPFS_POSIX_ACL Robert P. J. Day
2011-06-18 15:11 ` Randy Dunlap
2011-06-18 15:44   ` Hugh Dickins

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®