~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/fs/ubifs/Kconfig

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /fs/ubifs/Kconfig (Version linux-6.12-rc7) and /fs/ubifs/Kconfig (Version linux-5.0.21)


  1 # SPDX-License-Identifier: GPL-2.0-only        << 
  2 config UBIFS_FS                                     1 config UBIFS_FS
  3         tristate "UBIFS file system support"        2         tristate "UBIFS file system support"
  4         select CRC16                                3         select CRC16
  5         select CRC32                                4         select CRC32
  6         select CRYPTO if UBIFS_FS_ADVANCED_COM      5         select CRYPTO if UBIFS_FS_ADVANCED_COMPR
  7         select CRYPTO if UBIFS_FS_LZO               6         select CRYPTO if UBIFS_FS_LZO
  8         select CRYPTO if UBIFS_FS_ZLIB              7         select CRYPTO if UBIFS_FS_ZLIB
  9         select CRYPTO if UBIFS_FS_ZSTD         << 
 10         select CRYPTO_LZO if UBIFS_FS_LZO           8         select CRYPTO_LZO if UBIFS_FS_LZO
 11         select CRYPTO_DEFLATE if UBIFS_FS_ZLIB      9         select CRYPTO_DEFLATE if UBIFS_FS_ZLIB
 12         select CRYPTO_ZSTD if UBIFS_FS_ZSTD    << 
 13         select CRYPTO_HASH_INFO                    10         select CRYPTO_HASH_INFO
 14         select UBIFS_FS_XATTR if FS_ENCRYPTION << 
 15         select FS_ENCRYPTION_ALGS if FS_ENCRYP << 
 16         depends on MTD_UBI                         11         depends on MTD_UBI
 17         help                                       12         help
 18           UBIFS is a file system for flash dev     13           UBIFS is a file system for flash devices which works on top of UBI.
 19                                                    14 
 20 if UBIFS_FS                                        15 if UBIFS_FS
 21                                                    16 
 22 config UBIFS_FS_ADVANCED_COMPR                     17 config UBIFS_FS_ADVANCED_COMPR
 23         bool "Advanced compression options"        18         bool "Advanced compression options"
 24         help                                       19         help
 25           This option allows to explicitly cho     20           This option allows to explicitly choose which compressions, if any,
 26           are enabled in UBIFS. Removing compr     21           are enabled in UBIFS. Removing compressors means inability to read
 27           existing file systems.                   22           existing file systems.
 28                                                    23 
 29           If unsure, say 'N'.                      24           If unsure, say 'N'.
 30                                                    25 
 31 config UBIFS_FS_LZO                                26 config UBIFS_FS_LZO
 32         bool "LZO compression support" if UBIF     27         bool "LZO compression support" if UBIFS_FS_ADVANCED_COMPR
 33         default y                                  28         default y
 34         help                                       29         help
 35            LZO compressor is generally faster      30            LZO compressor is generally faster than zlib but compresses worse.
 36            Say 'Y' if unsure.                      31            Say 'Y' if unsure.
 37                                                    32 
 38 config UBIFS_FS_ZLIB                               33 config UBIFS_FS_ZLIB
 39         bool "ZLIB compression support" if UBI     34         bool "ZLIB compression support" if UBIFS_FS_ADVANCED_COMPR
 40         default y                                  35         default y
 41         help                                       36         help
 42           Zlib compresses better than LZO but      37           Zlib compresses better than LZO but it is slower. Say 'Y' if unsure.
 43                                                    38 
 44 config UBIFS_FS_ZSTD                           << 
 45         bool "ZSTD compression support" if UBI << 
 46         depends on UBIFS_FS                    << 
 47         default y                              << 
 48         help                                   << 
 49           ZSTD compresses is a big win in spee << 
 50           in compression ratio over LZO. Say ' << 
 51                                                << 
 52 config UBIFS_ATIME_SUPPORT                         39 config UBIFS_ATIME_SUPPORT
 53         bool "Access time support"                 40         bool "Access time support"
 54         default n                                  41         default n
 55         help                                       42         help
 56           Originally UBIFS did not support ati     43           Originally UBIFS did not support atime, because it looked like a bad idea due
 57           increased flash wear. This option ad     44           increased flash wear. This option adds atime support and it is disabled by default
 58           to preserve the old behavior. If you     45           to preserve the old behavior. If you enable this option, UBIFS starts updating atime,
 59           which means that file-system read op     46           which means that file-system read operations will cause writes (inode atime
 60           updates). This may affect file-syste     47           updates). This may affect file-system performance and increase flash device wear,
 61           so be careful. How often atime is up     48           so be careful. How often atime is updated depends on the selected strategy:
 62           strictatime is the "heavy", relatime     49           strictatime is the "heavy", relatime is "lighter", etc.
 63                                                    50 
 64           If unsure, say 'N'                       51           If unsure, say 'N'
 65                                                    52 
 66 config UBIFS_FS_XATTR                              53 config UBIFS_FS_XATTR
 67         bool "UBIFS XATTR support"                 54         bool "UBIFS XATTR support"
 68         default y                                  55         default y
 69         help                                       56         help
 70           Saying Y here includes support for e     57           Saying Y here includes support for extended attributes (xattrs).
 71           Xattrs are name:value pairs associat     58           Xattrs are name:value pairs associated with inodes by
 72           the kernel or by users (see the attr     59           the kernel or by users (see the attr(5) manual page).
 73                                                    60 
 74           If unsure, say Y.                        61           If unsure, say Y.
 75                                                    62 
                                                   >>  63 config UBIFS_FS_ENCRYPTION
                                                   >>  64         bool "UBIFS Encryption"
                                                   >>  65         depends on UBIFS_FS_XATTR && BLOCK
                                                   >>  66         select FS_ENCRYPTION
                                                   >>  67         default n
                                                   >>  68         help
                                                   >>  69           Enable encryption of UBIFS files and directories. This
                                                   >>  70           feature is similar to ecryptfs, but it is more memory
                                                   >>  71           efficient since it avoids caching the encrypted and
                                                   >>  72           decrypted pages in the page cache.
                                                   >>  73 
 76 config UBIFS_FS_SECURITY                           74 config UBIFS_FS_SECURITY
 77         bool "UBIFS Security Labels"               75         bool "UBIFS Security Labels"
 78         depends on UBIFS_FS_XATTR                  76         depends on UBIFS_FS_XATTR
 79         default y                                  77         default y
 80         help                                       78         help
 81           Security labels provide an access co     79           Security labels provide an access control facility to support Linux
 82           Security Models (LSMs) accepted by A     80           Security Models (LSMs) accepted by AppArmor, SELinux, Smack and TOMOYO
 83           Linux. This option enables an extend     81           Linux. This option enables an extended attribute handler for file
 84           security labels in the ubifs filesys     82           security labels in the ubifs filesystem, so that it requires enabling
 85           the extended attribute support in ad     83           the extended attribute support in advance.
 86                                                    84 
 87           If you are not using a security modu     85           If you are not using a security module, say N.
 88                                                    86 
 89 config UBIFS_FS_AUTHENTICATION                     87 config UBIFS_FS_AUTHENTICATION
 90         bool "UBIFS authentication support"        88         bool "UBIFS authentication support"
 91         select KEYS                            !!  89         depends on KEYS
 92         select CRYPTO_HMAC                         90         select CRYPTO_HMAC
 93         select SYSTEM_DATA_VERIFICATION        << 
 94         help                                       91         help
 95           Enable authentication support for UB     92           Enable authentication support for UBIFS. This feature offers protection
 96           against offline changes for both dat     93           against offline changes for both data and metadata of the filesystem.
 97           If you say yes here you should also      94           If you say yes here you should also select a hashing algorithm such as
 98           sha256, these are not selected autom     95           sha256, these are not selected automatically since there are many
 99           different options.                       96           different options.
100                                                    97 
101 endif # UBIFS_FS                                   98 endif # UBIFS_FS
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php