aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Pärtel <martin.partel@gmail.com>2012-07-03 11:58:16 +0300
committerMartin Pärtel <martin.partel@gmail.com>2012-07-03 11:58:16 +0300
commit9ca36d5c4e9e8b21027dda4f559b4df4c31b2027 (patch)
tree8f3a0816ff1b63b50b8613c43c5b69fe6a0ac1eb /src
parent8a2f2d07702f83b4f170f7cb4789536921f22bf0 (diff)
downloadbindfs-9ca36d5c4e9e8b21027dda4f559b4df4c31b2027.tar.gz
Fixed permchain.operands size and reordered it a bit.
Diffstat (limited to 'src')
-rw-r--r--src/permchain.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/permchain.c b/src/permchain.c
index fe2dd48..6d886ef 100644
--- a/src/permchain.c
+++ b/src/permchain.c
@@ -30,13 +30,13 @@
#define PC_FLAGS_DEFAULT ((PC_APPLY_FILES) | (PC_APPLY_DIRS))
struct permchain {
+ char op; /* one of '=', '+', '-', 'o' (octal) or '\0' */
+ char flags; /* see 'PC_' constants above. */
mode_t mask; /* which permissions to apply to */
union {
- char operands[10]; /* a subset of rwxXstugo */
+ char operands[16]; /* a subset of rwxXDstugo */
unsigned int octal;
};
- int flags;
- char op; /* one of '=', '+', '-', 'o' (octal) or '\0' */
struct permchain *next;
};