From e57244da6103ae3db5620b114315661bc47e4fb7 Mon Sep 17 00:00:00 2001 From: Charles Manning Date: Sun, 6 Dec 2015 19:25:48 +1300 Subject: [PATCH] Add usr mode flags Signed-off-by: Charles Manning --- direct/yportenv.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/direct/yportenv.h b/direct/yportenv.h index 8a5cb4e..5b7d188 100644 --- 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 #include -- 2.30.2