2011-06-18 15:10:30

by Robert P. J. Day

[permalink] [raw]
Subject: [PATCH v2] TMPFS: Expand "help" to explain value of TMPFS_POSIX_ACL


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 <[email protected]>

---

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
========================================================================


2011-06-18 15:11:38

by Randy Dunlap

[permalink] [raw]
Subject: Re: [PATCH v2] TMPFS: Expand "help" to explain value of TMPFS_POSIX_ACL

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 <[email protected]>

Acked-by: Randy Dunlap <[email protected]>


> ---
>
> 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 [email protected]
> 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 ***

2011-06-18 15:44:53

by Hugh Dickins

[permalink] [raw]
Subject: Re: [PATCH v2] TMPFS: Expand "help" to explain value of TMPFS_POSIX_ACL

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 <[email protected]>
>
> Acked-by: Randy Dunlap <[email protected]>

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

Acked-by: Hugh Dickins <[email protected]>

>
>
> > ---
> >
> > 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
> >
> > --