summaryrefslogtreecommitdiffstats
path: root/lib/stat-macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stat-macros.h')
-rw-r--r--lib/stat-macros.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stat-macros.h b/lib/stat-macros.h
new file mode 100644
index 0000000..690216c
--- /dev/null
+++ b/lib/stat-macros.h
@@ -0,0 +1,3 @@
+/* All the mode bits that can be affected by chmod. */
+#define CHMOD_MODE_BITS \
+ (S_ISUID | S_ISGID | S_ISVTX | S_IRWXU | S_IRWXG | S_IRWXO)