Added CONFIG_VSERVER_FILESHARING option that is used to disable the
authorMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 2 Mar 2005 21:05:44 +0000 (21:05 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 2 Mar 2005 21:05:44 +0000 (21:05 +0000)
hidden file support that vserver 1.9.3.17 introduced, which broke
proper.

fs/namei.c
kernel/vserver/Kconfig

index 8a716a8..bccfccc 100644 (file)
@@ -228,9 +228,6 @@ int generic_permission(struct inode *inode, int mask,
        return -EACCES;
 }
 
-#warning MEF: need to make CONFIG_VSERVER_FILESHARING a Kconfig option
-#define CONFIG_VSERVER_FILESHARING 1
-
 static inline int xid_permission(struct inode *inode, int mask, struct nameidata *nd)
 {
        if (inode->i_xid == 0)
index 22f8f23..0651158 100644 (file)
@@ -4,6 +4,15 @@
 
 menu "Linux VServer"
 
+config VSERVER_FILESHARING
+       bool    "(PLANETLAB) Disable Hidden File Module"
+       default y
+       help
+         This retains the module that when a vserver can
+         see a file, it can also stat and read it.  The
+         assumption is that chroot() works and vservers
+         are contained that way.
+
 config VSERVER_LEGACY
        bool    "Enable Legacy Kernel API"
        default y