SCCS-vsn: usr.sbin/sendmail/src/conf.h 8.83
SCCS-vsn: usr.sbin/sendmail/src/conf.c 8.71
-static char sccsid[] = "@(#)conf.c 8.70 (Berkeley) %G%";
+static char sccsid[] = "@(#)conf.c 8.71 (Berkeley) %G%";
#endif /* not lint */
# include "sendmail.h"
#endif /* not lint */
# include "sendmail.h"
# define PROCTITLEPAD ' '
#endif
# define PROCTITLEPAD ' '
#endif
+#ifndef HASSETPROCTITLE
+
char ProcTitleBuf[MAXLINE];
/*VARARGS1*/
char ProcTitleBuf[MAXLINE];
/*VARARGS1*/
# endif
# endif /* SETPROCTITLE */
}
# endif
# endif /* SETPROCTITLE */
}
\f/*
** REAPCHILD -- pick up the body of my child, lest it become a zombie
**
\f/*
** REAPCHILD -- pick up the body of my child, lest it become a zombie
**
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)conf.h 8.82 (Berkeley) %G%
+ * @(#)conf.h 8.83 (Berkeley) %G%
# define SYSTEM5 1 /* include all the System V defines */
# define HASINITGROUPS 1 /* has initgroups(3) call */
# define HASSETREUID 1 /* has setreuid(2) call */
# define SYSTEM5 1 /* include all the System V defines */
# define HASINITGROUPS 1 /* has initgroups(3) call */
# define HASSETREUID 1 /* has setreuid(2) call */
-# define setreuid(r, e) setresuid(r, e, -1)
+# define setreuid(r, e) setresuid(r, e, -1)
# define LA_TYPE LA_FLOAT
# define SFS_TYPE SFS_VFS /* use <sys/vfs.h> statfs() implementation */
# define GIDSET_T gid_t
# define LA_TYPE LA_FLOAT
# define SFS_TYPE SFS_VFS /* use <sys/vfs.h> statfs() implementation */
# define GIDSET_T gid_t
# ifdef SOLARIS_2_3
# define SOLARIS
# ifdef SOLARIS_2_3
# define SOLARIS
+# ifndef SYSLOG_BUFSIZE
+# define SYSLOG_BUFSIZE 1024 /* allow full size syslog buffer */
+# endif
+/*
+** BSD/386 (all versions)
+** From Tony Sanders, BSDI
+*/
+
+#ifdef __bsdi__
+# define HASUNSETENV 1 /* has the unsetenv(3) call */
+# define HASSETSID 1 /* has the setsid(2) POSIX syscall */
+# define HASSTATFS 1 /* has the statfs(2) syscall */
+# if defined(_BSDI_VERSION) && _BSDI_VERSION >= 199312
+# define HASSETPROCTITLE 1 /* setproctitle is in libc */
+# else
+# define SETPROCTITLE 1
+# endif
+# include <sys/cdefs.h>
+# define ERRLIST_PREDEFINED /* don't declare sys_errlist */
+# ifndef LA_TYPE
+# define LA_TYPE LA_SUBR
+# endif
+#endif
+
+
+
/*
** 386BSD / FreeBSD 1.0E / NetBSD (all architectures, all versions)
**
/*
** 386BSD / FreeBSD 1.0E / NetBSD (all architectures, all versions)
**
** Apollo DomainOS
**
** From Todd Martin <tmartint@tus.ssi1.com> & Don Lewis <gdonl@gv.ssi1.com>
** Apollo DomainOS
**
** From Todd Martin <tmartint@tus.ssi1.com> & Don Lewis <gdonl@gv.ssi1.com>
# ifndef IDENTPROTO
# define IDENTPROTO 0 /* TCP/IP implementation is broken */
# endif
# ifndef IDENTPROTO
# define IDENTPROTO 0 /* TCP/IP implementation is broken */
# endif