it doesn't normally work on some system. This is to avoid having
to recompile sendmail when a kernel patch comes out.
SCCS-vsn: usr.sbin/sendmail/src/daemon.c 8.66
SCCS-vsn: usr.sbin/sendmail/src/readcf.c 8.59
#ifndef lint
#ifdef DAEMON
#ifndef lint
#ifdef DAEMON
-static char sccsid[] = "@(#)daemon.c 8.65 (Berkeley) %G% (with daemon mode)";
+static char sccsid[] = "@(#)daemon.c 8.66 (Berkeley) %G% (with daemon mode)";
-static char sccsid[] = "@(#)daemon.c 8.65 (Berkeley) %G% (without daemon mode)";
+static char sccsid[] = "@(#)daemon.c 8.66 (Berkeley) %G% (without daemon mode)";
#endif
#endif /* not lint */
#endif
#endif /* not lint */
** The user@host information associated with this descriptor.
*/
** The user@host information associated with this descriptor.
*/
static jmp_buf CtxAuthTimeout;
static
static jmp_buf CtxAuthTimeout;
static
longjmp(CtxAuthTimeout, 1);
}
longjmp(CtxAuthTimeout, 1);
}
char *
getauthinfo(fd)
int fd;
{
int falen;
register char *p;
char *
getauthinfo(fd)
int fd;
{
int falen;
register char *p;
SOCKADDR la;
int lalen;
register struct servent *sp;
int s;
int i;
EVENT *ev;
SOCKADDR la;
int lalen;
register struct servent *sp;
int s;
int i;
EVENT *ev;
static char hbuf[MAXNAME * 2 + 2];
extern char *hostnamebyanyaddr();
extern char RealUserName[]; /* main.c */
static char hbuf[MAXNAME * 2 + 2];
extern char *hostnamebyanyaddr();
extern char RealUserName[]; /* main.c */
RealHostName = newstr(hostnamebyanyaddr(&RealHostAddr));
}
RealHostName = newstr(hostnamebyanyaddr(&RealHostAddr));
}
if (TimeOuts.to_ident == 0)
goto noident;
if (TimeOuts.to_ident == 0)
goto noident;
(void) close(s);
clrevent(ev);
(void) close(s);
clrevent(ev);
-#endif /* IDENTPROTO */
-
noident:
if (RealHostName == NULL)
{
noident:
if (RealHostName == NULL)
{
-static char sccsid[] = "@(#)readcf.c 8.58 (Berkeley) %G%";
+static char sccsid[] = "@(#)readcf.c 8.59 (Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
TimeOuts.to_quit = (time_t) 2 MINUTES;
TimeOuts.to_nextcommand = (time_t) 1 HOUR;
TimeOuts.to_miscshort = (time_t) 2 MINUTES;
TimeOuts.to_quit = (time_t) 2 MINUTES;
TimeOuts.to_nextcommand = (time_t) 1 HOUR;
TimeOuts.to_miscshort = (time_t) 2 MINUTES;
TimeOuts.to_ident = (time_t) 30 SECONDS;
TimeOuts.to_ident = (time_t) 30 SECONDS;
+#else
+ TimeOuts.to_ident = (time_t) 0 SECONDS;
+#endif
TimeOuts.to_fileopen = (time_t) 60 SECONDS;
return;
}
TimeOuts.to_fileopen = (time_t) 60 SECONDS;
return;
}