From 4d2afaae2f3c42b710acf8c7ebdb4b50d502b813 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Wed, 31 Aug 2011 22:57:34 +0530 Subject: 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 Reviewed-by: Anand Avati --- xlators/system/posix-acl/src/posix-acl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/system/posix-acl/src/posix-acl.h') diff --git a/xlators/system/posix-acl/src/posix-acl.h b/xlators/system/posix-acl/src/posix-acl.h index 1f15c7147..d7619bee8 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; }; -- cgit