summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src/fuse-bridge.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2011-07-08 03:23:08 +0000
committerAnand Avati <avati@gluster.com>2011-07-08 02:25:59 -0700
commit54aaf46e5b6e95fe9df257728b76f67bdb5dd17c (patch)
treefc402c9a91ff17bbd8bc99a8f83ea2ccadeaa41e /xlators/mount/fuse/src/fuse-bridge.h
parent8af1177029b7103ba84bc59eb58d7c5c8635e6cd (diff)
fuse: introduce "noacl" option to disable ACL checks
Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2815 (Server-enforced ACLs) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2815
Diffstat (limited to 'xlators/mount/fuse/src/fuse-bridge.h')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.h b/xlators/mount/fuse/src/fuse-bridge.h
index b1e7637c1..163bc8881 100644
--- a/xlators/mount/fuse/src/fuse-bridge.h
+++ b/xlators/mount/fuse/src/fuse-bridge.h
@@ -55,9 +55,6 @@
#include "list.h"
#include "dict.h"
-/* TODO: when supporting posix acl, remove this definition */
-#define DISABLE_POSIX_ACL
-
#if defined(GF_LINUX_HOST_OS) || defined(__NetBSD__)
#define FUSE_OP_HIGH (FUSE_POLL + 1)
#endif
@@ -68,6 +65,8 @@
#define MAX_FUSE_PROC_DELAY 1
+#define DISABLE_SELINUX 1
+
typedef struct fuse_in_header fuse_in_header_t;
typedef void (fuse_handler_t) (xlator_t *this, fuse_in_header_t *finh,
void *msg);
@@ -107,6 +106,7 @@ struct fuse_private {
pid_t client_pid;
gf_boolean_t client_pid_set;
+ gf_boolean_t acl;
};
typedef struct fuse_private fuse_private_t;