From: Charles Manning Date: Sun, 6 Dec 2015 06:25:48 +0000 (+1300) Subject: Add usr mode flags X-Git-Tag: aleph1-release~20 X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=commitdiff_plain;h=e57244da6103ae3db5620b114315661bc47e4fb7 Add usr mode flags Signed-off-by: Charles Manning --- 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