summaryrefslogtreecommitdiff
path: root/fs/ubifs/Kconfig
diff options
context:
space:
mode:
authorStefan Agner <stefan@agner.ch>2018-07-31 15:13:20 +0200
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2018-12-13 13:11:28 +0100
commit09733c33a1e232097653c96bd788848129c95c7e (patch)
tree8e0ddb7c773b6cbe135ccebf6dd9bb390f7ae351 /fs/ubifs/Kconfig
parent77d474b70b8591b4b47934bedaf78e43d9f58b55 (diff)
ubifs: introduce Kconfig symbol for xattr supportColibri-VF_LXDE-Image_2.8b5.156-20181228
Allow to disable extended attribute support. This aids in reliability testing, especially since some xattr related bugs have surfaced. Also an embedded system might not need it, so this allows for a slightly smaller kernel (about 4KiB). Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Richard Weinberger <richard@nod.at> (cherry picked from commit 7e5471ce6dba5f28a3c7afdfe168655d236f677b)
Diffstat (limited to 'fs/ubifs/Kconfig')
-rw-r--r--fs/ubifs/Kconfig13
1 files changed, 12 insertions, 1 deletions
diff --git a/fs/ubifs/Kconfig b/fs/ubifs/Kconfig
index 15fb49c053df..87ec3c28e61f 100644
--- a/fs/ubifs/Kconfig
+++ b/fs/ubifs/Kconfig
@@ -51,9 +51,20 @@ config UBIFS_ATIME_SUPPORT
If unsure, say 'N'
+config UBIFS_FS_XATTR
+ bool "UBIFS XATTR support"
+ depends on UBIFS_FS
+ default y
+ help
+ Saying Y here includes support for extended attributes (xattrs).
+ Xattrs are name:value pairs associated with inodes by
+ the kernel or by users (see the attr(5) manual page).
+
+ If unsure, say Y.
+
config UBIFS_FS_SECURITY
bool "UBIFS Security Labels"
- depends on UBIFS_FS
+ depends on UBIFS_FS && UBIFS_FS_XATTR
default y
help
Security labels provide an access control facility to support Linux