From: Todd C. Miller Date: Thu, 6 Jul 1995 18:47:52 +0000 (+0000) Subject: added definition of S_IRWXU X-Git-Tag: SUDO_1_4_0~306 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c76d6d4e2b9b7b60d26c3dd0b6606d952c0c3f92;p=sudo added definition of S_IRWXU --- diff --git a/compat.h b/compat.h index 4d500947d..55ea4da50 100644 --- a/compat.h +++ b/compat.h @@ -71,6 +71,13 @@ # define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG) #endif /* S_ISREG */ +/* + * Some OS's may not have this. + */ +#ifndef S_IRWXU +# define S_IRWXU 0000700 /* rwx for owner */ +#endif /* S_IRWXU */ + /* * For kerberos, max password len is 128 */