[PATCH 1/13: eCryptfs] fs/Makefile and fs/Kconfig

Phillip Hellewell
2006-05-13T03:40:49Z

This is the 1st patch in a series of 13 constituting the kernel
components of the eCryptfs cryptographic filesystem.

This patch modifies the fs/Kconfig and fs/Makefile files to
incorporate eCryptfs into the kernel build.

Signed-off-by: Phillip Hellewell <phillip@hellewell.homeip.net>
Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com>

---

Kconfig | 18 ++++++++++++++++++
Makefile | 1 +
2 files changed, 19 insertions(+)

Index: linux-2.6.17-rc3-mm1-ecryptfs/fs/Kconfig
===================================================================
--- linux-2.6.17-rc3-mm1-ecryptfs.orig/fs/Kconfig 2006-05-02 18:05:37.000000000 -0600
+++ linux-2.6.17-rc3-mm1-ecryptfs/fs/Kconfig 2006-05-12 20:00:24.000000000 -0600
@@ -935,6 +935,24 @@
To compile this file system support as a module, choose M here: the
module will be called affs. If unsure, say N.

+config ECRYPT_FS
+ tristate "eCrypt filesystem layer support (EXPERIMENTAL)"
+ depends on EXPERIMENTAL && KEYS && CRYPTO
+ help
+ Encrypted filesystem that operates on the VFS layer. See
+ Documentation/ecryptfs.txt to learn more about eCryptfs.
+
+ To compile this file system support as a module, choose M here: the
+ module will be called ecryptfs.
+
+config ECRYPT_DEBUG
+ bool "Enable eCryptfs debug mode"
+ depends on ECRYPT_FS
+ help
+ Turn on debugging code in eCryptfs.
+
+ If unsure, say N.
+
config HFS_FS
tristate "Apple Macintosh file system support (EXPERIMENTAL)"
depends on EXPERIMENTAL
Index: linux-2.6.17-rc3-mm1-ecryptfs/fs/Makefile
===================================================================
--- linux-2.6.17-rc3-mm1-ecryptfs.orig/fs/Makefile 2006-05-02 18:05:37.000000000 -0600
+++ linux-2.6.17-rc3-mm1-ecryptfs/fs/Makefile 2006-05-12 20:00:24.000000000 -0600
@@ -68,6 +68,7 @@
obj-$(CONFIG_ISO9660_FS) += isofs/
obj-$(CONFIG_HFSPLUS_FS) += hfsplus/ # Before hfs to find wrapped HFS+
obj-$(CONFIG_HFS_FS) += hfs/
+obj-$(CONFIG_ECRYPT_FS) += ecryptfs/
obj-$(CONFIG_VXFS_FS) += freevxfs/
obj-$(CONFIG_NFS_FS) += nfs/
obj-$(CONFIG_EXPORTFS) += exportfs/