summaryrefslogtreecommitdiffstats
path: root/xlators/system/posix-acl/src/posix-acl.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2011-08-31 22:57:34 +0530
committerAnand Avati <avati@gluster.com>2011-09-08 07:08:13 -0700
commit4d2afaae2f3c42b710acf8c7ebdb4b50d502b813 (patch)
tree2c5ae7c1b400bdcf53d0445f9f7f4a809128f167 /xlators/system/posix-acl/src/posix-acl.h
parentc83856797fd55fa59c885ba5efd3ac912fcb9a96 (diff)
posix-acl: configurable super user ID
In configurations with a uid mapper, super user ID could be mapped to a non-zero value. Hence making it configurable in access control would be necessary for proper super-user semantics. Change-Id: I51e8e0395680e9b96a99657a0af547659bd9affe BUG: 2815 Reviewed-on: http://review.gluster.com/332 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/system/posix-acl/src/posix-acl.h')
-rw-r--r--xlators/system/posix-acl/src/posix-acl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/system/posix-acl/src/posix-acl.h b/xlators/system/posix-acl/src/posix-acl.h
index 1f15c714..d7619bee 100644
--- a/xlators/system/posix-acl/src/posix-acl.h
+++ b/xlators/system/posix-acl/src/posix-acl.h
@@ -68,6 +68,7 @@ struct posix_acl_ctx {
struct posix_acl_conf {
gf_lock_t acl_lock;
+ uid_t super_uid;
struct posix_acl *minimal_acl;
};