]> git.sesse.net Git - bcachefs-tools-debian/blobdiff - c_src/include/linux/stat.h
move Rust sources to top level, C sources into c_src
[bcachefs-tools-debian] / c_src / include / linux / stat.h
diff --git a/c_src/include/linux/stat.h b/c_src/include/linux/stat.h
new file mode 100644 (file)
index 0000000..1a30957
--- /dev/null
@@ -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