summaryrefslogtreecommitdiff
path: root/c_src/include/linux/stat.h
diff options
context:
space:
mode:
Diffstat (limited to 'c_src/include/linux/stat.h')
-rw-r--r--c_src/include/linux/stat.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/c_src/include/linux/stat.h b/c_src/include/linux/stat.h
new file mode 100644
index 00000000..1a30957b
--- /dev/null
+++ b/c_src/include/linux/stat.h
@@ -0,0 +1,12 @@
+#ifndef _LINUX_STAT_H
+#define _LINUX_STAT_H
+
+#include <sys/stat.h>
+
+#define S_IRWXUGO (S_IRWXU|S_IRWXG|S_IRWXO)
+#define S_IALLUGO (S_ISUID|S_ISGID|S_ISVTX|S_IRWXUGO)
+#define S_IRUGO (S_IRUSR|S_IRGRP|S_IROTH)
+#define S_IWUGO (S_IWUSR|S_IWGRP|S_IWOTH)
+#define S_IXUGO (S_IXUSR|S_IXGRP|S_IXOTH)
+
+#endif