summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-02-04 20:27:44 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-02-04 20:27:44 +0000
commit75713c9da77714484249dca8c6441e8266094bb0 (patch)
tree0fb54795278ee9bb3625ee135f42ff6fb5145d1b /defines.h
parent849e288b8a466c3bd4c050034d9dba0fe442eaa3 (diff)
downloadopenssh-git-75713c9da77714484249dca8c6441e8266094bb0.tar.gz
20010105
- (bal) Disable groupaccess by setting NGROUP_MAX to 0 for platforms that don't have NGROUP_MAX.
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index 087ad2af..51fd7b3e 100644
--- a/defines.h
+++ b/defines.h
@@ -89,6 +89,10 @@ enum
# define STDERR_FILENO 2
#endif
+#ifndef NGROUP_MAX /* Disable groupaccess if NGROUP_MAX is not set */
+#define NGROUP_MAX 0
+#endif
+
#ifndef O_NONBLOCK /* Non Blocking Open */
# define O_NONBLOCK 00004
#endif