projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d13e614
)
Add usr mode flags
author
Charles Manning
<cdhmanning@gmail.com>
Sun, 6 Dec 2015 06:25:48 +0000
(19:25 +1300)
committer
Charles Manning
<cdhmanning@gmail.com>
Sun, 6 Dec 2015 06:25:48 +0000
(19:25 +1300)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/yportenv.h
patch
|
blob
|
history
diff --git
a/direct/yportenv.h
b/direct/yportenv.h
index 8a5cb4e8edefad764e9705fc145fef610e745ebc..5b7d1887adfeaec791375559b9af8a4504d294a8 100644
(file)
--- a/
direct/yportenv.h
+++ b/
direct/yportenv.h
@@
-272,7
+272,6
@@
struct iattr {
#endif
-
#ifndef S_IRUSR
#define S_IRUSR 0000400
#endif
@@
-281,10
+280,23
@@
struct iattr {
#define S_IWUSR 0000200
#endif
+#ifndef S_IXUSR
+#define S_IXUSR 0000100
+#endif
+
+#ifndef S_IREAD
+#define S_IREAD 0000400
+#endif
+
+#ifndef S_IWRITE
+#define S_IWRITE 0000200
+#endif
+
#ifndef S_IEXEC
#define S_IEXEC 0000100
#endif
+
#else
#include <errno.h>
#include <sys/stat.h>