summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/src/conf.h
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2001-08-01 01:33:27 +0000
committergshapiro <gshapiro@FreeBSD.org>2001-08-01 01:33:27 +0000
commit1164bba81c60839834c20d6e34983b4cfb9c05b4 (patch)
tree1b106cba9bbe44e5768f7bfba991f9fc8a74429b /contrib/sendmail/src/conf.h
parent5338b6ff5f88e435da457fd0ec979a333012a0ef (diff)
downloadFreeBSD-src-1164bba81c60839834c20d6e34983b4cfb9c05b4.zip
FreeBSD-src-1164bba81c60839834c20d6e34983b4cfb9c05b4.tar.gz
Import sendmail 8.11.5
Diffstat (limited to 'contrib/sendmail/src/conf.h')
-rw-r--r--contrib/sendmail/src/conf.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/contrib/sendmail/src/conf.h b/contrib/sendmail/src/conf.h
index e56da30..7957473 100644
--- a/contrib/sendmail/src/conf.h
+++ b/contrib/sendmail/src/conf.h
@@ -10,7 +10,7 @@
* the sendmail distribution.
*
*
- * $Id: conf.h,v 8.496.4.43 2001/05/20 22:29:59 gshapiro Exp $
+ * $Id: conf.h,v 8.496.4.54 2001/07/31 22:30:24 gshapiro Exp $
*/
/*
@@ -488,6 +488,7 @@ typedef int pid_t;
# endif /* ! __svr4__ */
# define GIDSET_T gid_t
# define USE_SA_SIGACTION 1 /* use sa_sigaction field */
+# define HASSTRERROR 1 /* has strerror(3) */
# if _FFR_MILTER
# define BROKEN_PTHREAD_SLEEP 1 /* sleep after pthread_create() fails */
# endif /* _FFR_MILTER */
@@ -867,9 +868,11 @@ typedef int pid_t;
#ifdef __bsdi__
# include <paths.h>
# define HASUNSETENV 1 /* has the unsetenv(3) call */
+# define HASSETREUID 0 /* BSD-OS has broken setreuid(2) emulation */
# define HASSETSID 1 /* has the setsid(2) POSIX syscall */
# define USESETEUID 1 /* has usable seteuid(2) call */
# define HASFCHMOD 1 /* has fchmod(2) syscall */
+# define HASFCHOWN 1 /* has fchown(2) syscall */
# define HASSETLOGIN 1 /* has setlogin(2) */
# define HASSNPRINTF 1 /* has snprintf(3) and vsnprintf(3) */
# define HASUNAME 1 /* has uname(2) syscall */
@@ -896,6 +899,9 @@ typedef int pid_t;
# if defined(_BSDI_VERSION) && _BSDI_VERSION >= 199701 /* on 3.x */
# define HASSETUSERCONTEXT 1 /* has setusercontext */
# endif /* defined(_BSDI_VERSION) && _BSDI_VERSION >= 199701 */
+# if defined(_BSDI_VERSION) && _BSDI_VERSION >= 199910 /* on 4.x */
+# define HASURANDOMDEV 1 /* has /dev/urandom(4) */
+# endif /* defined(_BSDI_VERSION) && _BSDI_VERSION >= 199910 */
#endif /* __bsdi__ */
@@ -1718,6 +1724,7 @@ typedef int pid_t;
# include <sys/mkdev.h>
# define __svr4__
# define SYS5SIGNALS 1
+# define HASFCHOWN 1 /* has fchown(2) call */
# define HASSETSID 1
# define HASSNPRINTF 1
# define HASSETREUID 1
@@ -2517,6 +2524,10 @@ typedef struct msgb mblk_t;
# define S_IWOTH 0002
#endif /* ! S_IWOTH */
+#ifndef O_ACCMODE
+# define O_ACCMODE (O_RDONLY|O_WRONLY|O_RDWR)
+#endif /* ! O_ACCMODE */
+
/* close-on-exec flag */
#ifndef FD_CLOEXEC
# define FD_CLOEXEC 1
OpenPOWER on IntegriCloud