]> granicus.if.org Git - sudo/commitdiff
added definition of S_IRWXU
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 6 Jul 1995 18:47:52 +0000 (18:47 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 6 Jul 1995 18:47:52 +0000 (18:47 +0000)
compat.h

index 4d500947d3d8f775c6e905b3f1419a3728bad799..55ea4da50ac399320ba8c5092898278027efdaf6 100644 (file)
--- a/compat.h
+++ b/compat.h
 #  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
  */