[PATCH 06/14] KConfig: Add KConfig entries for Labeled NFS

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David P. Quigley
Date: Monday, September 29, 2008 - 10:06 am

This patch adds two entries into the fs/KConfig file. The first entry
NFS_V4_SECURITY_LABEL enables security label support for the NFSv4 client while
the second entry NFSD_V4_SECURITY_LABEL enables security labeling support on
the server side.

Signed-off-by: Matthew N. Dodd <Matthew.Dodd@sparta.com>
Signed-off-by: David P. Quigley <dpquigl@tycho.nsa.gov>
---
 fs/Kconfig |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/fs/Kconfig b/fs/Kconfig
index abccb5d..47ffb42 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1633,6 +1633,7 @@ config NFS_V4
 
 	  If unsure, say N.
 
+
 config ROOT_NFS
 	bool "Root file system on NFS"
 	depends on NFS_FS=y && IP_PNP
@@ -1644,6 +1645,15 @@ config ROOT_NFS
 
 	  Most people say N here.
 
+config NFS_V4_SECURITY_LABEL
+	bool "Provide Security Label support for NFSv4 client"
+	depends on NFS_V4 && SECURITY
+	help
+	  Say Y here if you want label attribute support for NFS version 4.
+
+
+	  If unsure, say N.
+
 config NFSD
 	tristate "NFS server support"
 	depends on INET
@@ -1725,6 +1735,13 @@ config NFSD_V4
 
 	  If unsure, say N.
 
+config NFSD_V4_SECURITY_LABEL
+	bool "Provide Security Label support for NFSv4 server"
+	depends on NFSD_V4 && SECURITY
+	help
+	  If you would like to include support for label file attributes
+	  over NFSv4, say Y here.
+
 config LOCKD
 	tristate
 
-- 
1.5.5.1

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC v3] Security Label Support for NFSv4, David P. Quigley, (Mon Sep 29, 10:06 am)
[PATCH 01/14] VFS: Factor out part of vfs_setxattr so it c ..., David P. Quigley, (Mon Sep 29, 10:06 am)
[PATCH 05/14] SELinux: Add new labeling type native labels, David P. Quigley, (Mon Sep 29, 10:06 am)
[PATCH 06/14] KConfig: Add KConfig entries for Labeled NFS, David P. Quigley, (Mon Sep 29, 10:06 am)
[PATCH 08/14] NFS: Add security_label text mount option an ..., David P. Quigley, (Mon Sep 29, 10:06 am)
[PATCH 10/14] NFSv4: Introduce new label structure, David P. Quigley, (Mon Sep 29, 10:06 am)
[PATCH 11/14] NFS/RPC: Add the auth_seclabel security flav ..., David P. Quigley, (Mon Sep 29, 10:06 am)
[PATCH 13/14] NFS: Extend NFS xattr handlers to accept the ..., David P. Quigley, (Mon Sep 29, 10:06 am)
Re: [PATCH 01/14] VFS: Factor out part of vfs_setxattr so ..., Serge E. Hallyn, (Tue Sep 30, 12:51 pm)
Re: [RFC v3] Security Label Support for NFSv4, James Morris, (Mon Oct 13, 4:31 pm)
Re: [Labeled-nfs] [RFC v3] Security Label Support for NFSv4, Matthew N. Dodd, (Mon Oct 13, 7:15 pm)
Re: [Labeled-nfs] [RFC v3] Security Label Support for NFSv4, Trond Myklebust, (Tue Oct 14, 6:20 am)
Re: [Labeled-nfs] [RFC v3] Security Label Support for NFSv4, David P. Quigley, (Tue Oct 14, 7:28 am)