aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2011-05-25 22:49:18 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 22:53:02 -0400
commit4db70f73e56961b9bcdfd0c36c62847a18b7dbb5 (patch)
tree5310e7f8e250dc34a60a1e447a24656e83a1ab7c
parent520fd8457ea8a1bcd6fe3e133b3e0eb6e6fe22ce (diff)
tmpfs: fix XATTR N overriding POSIX_ACL Y
Choosing TMPFS_XATTR default N was switching off TMPFS_POSIX_ACL, even if it had been Y in oldconfig; and Linus reports that PulseAudio goes subtly wrong unless it can use ACLs on /dev/shm. Make TMPFS_POSIX_ACL select TMPFS_XATTR (and depend upon TMPFS), and move the TMPFS_POSIX_ACL entry before the TMPFS_XATTR entry, to avoid asking unnecessary questions then ignoring their answers. Signed-off-by: Hugh Dickins <hughd@google.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--fs/Kconfig29
1 files changed, 15 insertions, 14 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index 979992dcb386..f6edba2e069f 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -121,6 +121,20 @@ config TMPFS
121 121
122 See <file:Documentation/filesystems/tmpfs.txt> for details. 122 See <file:Documentation/filesystems/tmpfs.txt> for details.
123 123
124config TMPFS_POSIX_ACL
125 bool "Tmpfs POSIX Access Control Lists"
126 depends on TMPFS
127 select TMPFS_XATTR
128 select GENERIC_ACL
129 help
130 POSIX Access Control Lists (ACLs) support permissions for users and
131 groups beyond the owner/group/world scheme.
132
133 To learn more about Access Control Lists, visit the POSIX ACLs for
134 Linux website <http://acl.bestbits.at/>.
135
136 If you don't know what Access Control Lists are, say N.
137
124config TMPFS_XATTR 138config TMPFS_XATTR
125 bool "Tmpfs extended attributes" 139 bool "Tmpfs extended attributes"
126 depends on TMPFS 140 depends on TMPFS
@@ -133,22 +147,9 @@ config TMPFS_XATTR
133 Currently this enables support for the trusted.* and 147 Currently this enables support for the trusted.* and
134 security.* namespaces. 148 security.* namespaces.
135 149
136 If unsure, say N.
137
138 You need this for POSIX ACL support on tmpfs. 150 You need this for POSIX ACL support on tmpfs.
139 151
140config TMPFS_POSIX_ACL 152 If unsure, say N.
141 bool "Tmpfs POSIX Access Control Lists"
142 depends on TMPFS_XATTR
143 select GENERIC_ACL
144 help
145 POSIX Access Control Lists (ACLs) support permissions for users and
146 groups beyond the owner/group/world scheme.
147
148 To learn more about Access Control Lists, visit the POSIX ACLs for
149 Linux website <http://acl.bestbits.at/>.
150
151 If you don't know what Access Control Lists are, say N.
152 153
153config HUGETLBFS 154config HUGETLBFS
154 bool "HugeTLB file system support" 155 bool "HugeTLB file system support"