Index: ports/glibc-compat/include/sys/stat.h |
diff --git a/ports/glibc-compat/include/sys/stat.h b/ports/glibc-compat/include/sys/stat.h |
index 9fefc086316dbc37f91069b40996f6d2788788b6..1262d112b48ce004714ced98e33b0d3f70f6bed5 100644 |
--- a/ports/glibc-compat/include/sys/stat.h |
+++ b/ports/glibc-compat/include/sys/stat.h |
@@ -8,12 +8,16 @@ |
#define GLIBCEMU_SYS_STAT_H 1 |
#include_next <sys/stat.h> |
- |
+ /* 7777 */ |
+#define ALLPERMS (S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO) |
#ifdef __cplusplus |
extern "C" { |
#endif |
mode_t umask(mode_t mask); |
+int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags); |
+int mkdirat(int dirfd, const char *pathname, mode_t mode); |
+int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev); |
#ifdef __cplusplus |
} |