summaryrefslogtreecommitdiffstats
path: root/xlators/mount/fuse/src/fuse-bridge.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2011-07-01 16:54:52 +0000
committerAnand Avati <avati@gluster.com>2011-07-01 15:58:21 -0700
commitd8c7cdc7341a1e1119efc8502b9a5cf90210ddae (patch)
tree55d6d433837fbd1327dc73b06c70603dfa60e004 /xlators/mount/fuse/src/fuse-bridge.h
parent4722d0000a5c6e87728958d7a50416440bc5c064 (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 85acab77742..e138455757d 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
-
#ifdef GF_LINUX_HOST_OS
#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;