Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Unified Diff: ports/glibc-compat/include/sys/stat.h

Issue 1260083004: Add needed functions to glibc-compat for pkg (Closed) Base URL: https://chromium.googlesource.com/external/naclports.git@master
Patch Set: fix wrong c++ lib Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/glibc-compat/include/sys/fcntl.h ('k') | ports/glibc-compat/include/sys/types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
« no previous file with comments | « ports/glibc-compat/include/sys/fcntl.h ('k') | ports/glibc-compat/include/sys/types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698