Add usr mode flags
authorCharles Manning <cdhmanning@gmail.com>
Sun, 6 Dec 2015 06:25:48 +0000 (19:25 +1300)
committerCharles 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

index 8a5cb4e8edefad764e9705fc145fef610e745ebc..5b7d1887adfeaec791375559b9af8a4504d294a8 100644 (file)
@@ -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>