]> andersk Git - openssh.git/blobdiff - defines.h
- (djm) OpenBSD CVS Sync
[openssh.git] / defines.h
index 956b3f0054bac9b28a8f223aec645d089451361b..9f5e8a10efc9f62ec88550b23cc6afb936856689 100644 (file)
--- a/defines.h
+++ b/defines.h
@@ -529,6 +529,14 @@ struct winsize {
 #  define krb5_get_err_text(context,code) error_message(code)
 #endif
 
+/* Maximum number of file descriptors available */
+#ifdef HAVE_SYSCONF
+# define SSH_SYSFDMAX sysconf(_SC_OPEN_MAX)
+#else
+# define SSH_SYSFDMAX 10000
+#endif
+
+
 /*
  * Define this to use pipes instead of socketpairs for communicating with the
  * client program.  Socketpairs do not seem to work on all systems.
This page took 0.644958 seconds and 4 git commands to generate.