conf.h (71348) | conf.h (73191) |
---|---|
1/* | 1/* |
2 * Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers. | 2 * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. |
3 * All rights reserved. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * By using this file, you agree to the terms and conditions set 9 * forth in the LICENSE file which can be found at the top level of 10 * the sendmail distribution. 11 * 12 * | 3 * All rights reserved. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 5 * Copyright (c) 1988, 1993 6 * The Regents of the University of California. All rights reserved. 7 * 8 * By using this file, you agree to the terms and conditions set 9 * forth in the LICENSE file which can be found at the top level of 10 * the sendmail distribution. 11 * 12 * |
13 * $Id: conf.h,v 8.496.4.32 2000/12/15 19:20:53 gshapiro Exp $ | 13 * $Id: conf.h,v 8.496.4.37 2001/02/12 21:40:16 gshapiro Exp $ |
14 */ 15 | 14 */ 15 |
16/* $FreeBSD: head/contrib/sendmail/src/conf.h 71348 2001-01-21 22:21:43Z gshapiro $ */ | 16/* $FreeBSD: head/contrib/sendmail/src/conf.h 73191 2001-02-28 00:22:47Z gshapiro $ */ |
17 18/* 19** CONF.H -- All user-configurable parameters for sendmail 20** 21** Send updates to sendmail@Sendmail.ORG so they will be 22** included in the next release. 23*/ 24 --- 460 unchanged lines hidden (view full) --- 485 486# ifdef SOLARIS 487 /* Solaris 2.x (a.k.a. SunOS 5.x) */ 488# ifndef __svr4__ 489# define __svr4__ /* use all System V Release 4 defines below */ 490# endif /* ! __svr4__ */ 491# define GIDSET_T gid_t 492# define USE_SA_SIGACTION 1 /* use sa_sigaction field */ | 17 18/* 19** CONF.H -- All user-configurable parameters for sendmail 20** 21** Send updates to sendmail@Sendmail.ORG so they will be 22** included in the next release. 23*/ 24 --- 460 unchanged lines hidden (view full) --- 485 486# ifdef SOLARIS 487 /* Solaris 2.x (a.k.a. SunOS 5.x) */ 488# ifndef __svr4__ 489# define __svr4__ /* use all System V Release 4 defines below */ 490# endif /* ! __svr4__ */ 491# define GIDSET_T gid_t 492# define USE_SA_SIGACTION 1 /* use sa_sigaction field */ |
493# if _FFR_MILTER 494# define BROKEN_PTHREAD_SLEEP 1 /* sleep after pthread_create() fails */ 495# endif /* _FFR_MILTER */ |
|
493# ifndef _PATH_UNIX 494# define _PATH_UNIX "/dev/ksyms" 495# endif /* ! _PATH_UNIX */ 496# ifndef _PATH_VENDOR_CF 497# define _PATH_VENDOR_CF "/etc/mail/sendmail.cf" 498# endif /* ! _PATH_VENDOR_CF */ 499# ifndef _PATH_SENDMAILPID 500# define _PATH_SENDMAILPID "/etc/mail/sendmail.pid" --- 500 unchanged lines hidden (view full) --- 1001# undef SPT_TYPE 1002# define SPT_TYPE SPT_BUILTIN /* setproctitle is in libc */ 1003# define HASSETLOGIN 1 /* has setlogin(2) */ 1004# define HASURANDOMDEV 1 /* has /dev/urandom(4) */ 1005# if OpenBSD < 199912 1006# define HASSTRL 0 /* strlcat(3) is broken in 2.5 and earlier */ 1007# else /* OpenBSD < 199912 */ 1008# define HASSTRL 1 /* has strlc{py,at}(3) functions */ | 496# ifndef _PATH_UNIX 497# define _PATH_UNIX "/dev/ksyms" 498# endif /* ! _PATH_UNIX */ 499# ifndef _PATH_VENDOR_CF 500# define _PATH_VENDOR_CF "/etc/mail/sendmail.cf" 501# endif /* ! _PATH_VENDOR_CF */ 502# ifndef _PATH_SENDMAILPID 503# define _PATH_SENDMAILPID "/etc/mail/sendmail.pid" --- 500 unchanged lines hidden (view full) --- 1004# undef SPT_TYPE 1005# define SPT_TYPE SPT_BUILTIN /* setproctitle is in libc */ 1006# define HASSETLOGIN 1 /* has setlogin(2) */ 1007# define HASURANDOMDEV 1 /* has /dev/urandom(4) */ 1008# if OpenBSD < 199912 1009# define HASSTRL 0 /* strlcat(3) is broken in 2.5 and earlier */ 1010# else /* OpenBSD < 199912 */ 1011# define HASSTRL 1 /* has strlc{py,at}(3) functions */ |
1012# if OpenBSD >= 200006 1013# define HASSRANDOMDEV 1 /* has srandomdev(3) */ 1014# endif 1015# if OpenBSD >= 200012 1016# define HASSETUSERCONTEXT 1 /* BSDI-style login classes */ 1017# endif |
|
1009# endif /* OpenBSD < 199912 */ 1010# endif /* defined(__OpenBSD__) */ 1011#endif /* defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) */ 1012 1013 1014/* 1015** Mach386 1016** --- 707 unchanged lines hidden (view full) --- 1724# endif /* SYSLOG_BUFSIZE */ 1725# ifndef _PATH_VENDOR_CF 1726# define _PATH_VENDOR_CF "/etc/sendmail.cf" 1727# endif /* ! _PATH_VENDOR_CF */ 1728# ifndef _PATH_SENDMAILPID 1729# define _PATH_SENDMAILPID "/etc/sendmail.pid" 1730# endif /* ! _PATH_SENDMAILPID */ 1731# undef offsetof /* avoid stddefs.h, sys/sysmacros.h conflict */ | 1018# endif /* OpenBSD < 199912 */ 1019# endif /* defined(__OpenBSD__) */ 1020#endif /* defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) */ 1021 1022 1023/* 1024** Mach386 1025** --- 707 unchanged lines hidden (view full) --- 1733# endif /* SYSLOG_BUFSIZE */ 1734# ifndef _PATH_VENDOR_CF 1735# define _PATH_VENDOR_CF "/etc/sendmail.cf" 1736# endif /* ! _PATH_VENDOR_CF */ 1737# ifndef _PATH_SENDMAILPID 1738# define _PATH_SENDMAILPID "/etc/sendmail.pid" 1739# endif /* ! _PATH_SENDMAILPID */ 1740# undef offsetof /* avoid stddefs.h, sys/sysmacros.h conflict */ |
1741#if !defined(SM_SET_H_ERRNO) && defined(_REENTRANT) 1742# define SM_SET_H_ERRNO(err) set_h_errno((err)) 1743#endif /* ! SM_SET_H_ERRNO && _REENTRANT */ |
|
1732#endif /* __svr5__ */ 1733 1734/* ###################################################################### */ 1735 1736/* 1737** UnixWare 2.x 1738*/ 1739 --- 979 unchanged lines hidden (view full) --- 2719 2720#define PSBUFSIZE (MAXNAME + MAXATOM) /* size of prescan buffer */ 2721 2722/* fork routine -- set above using #ifdef _osname_ or in Makefile */ 2723#ifndef FORK 2724# define FORK fork /* function to call to fork mailer */ 2725#endif /* ! FORK */ 2726 | 1744#endif /* __svr5__ */ 1745 1746/* ###################################################################### */ 1747 1748/* 1749** UnixWare 2.x 1750*/ 1751 --- 979 unchanged lines hidden (view full) --- 2731 2732#define PSBUFSIZE (MAXNAME + MAXATOM) /* size of prescan buffer */ 2733 2734/* fork routine -- set above using #ifdef _osname_ or in Makefile */ 2735#ifndef FORK 2736# define FORK fork /* function to call to fork mailer */ 2737#endif /* ! FORK */ 2738 |
2739/* setting h_errno */ 2740#ifndef SM_SET_H_ERRNO 2741# define SM_SET_H_ERRNO(err) h_errno = (err) 2742#endif /* SM_SET_H_ERRNO */ |
|
2727 2728/* random routine -- set above using #ifdef _osname_ or in Makefile */ 2729#if HASRANDOM 2730# define get_random() random() 2731#else /* HASRANDOM */ 2732# define get_random() ((long) rand()) 2733# ifndef RANDOMSHIFT 2734# define RANDOMSHIFT 8 --- 85 unchanged lines hidden --- | 2743 2744/* random routine -- set above using #ifdef _osname_ or in Makefile */ 2745#if HASRANDOM 2746# define get_random() random() 2747#else /* HASRANDOM */ 2748# define get_random() ((long) rand()) 2749# ifndef RANDOMSHIFT 2750# define RANDOMSHIFT 8 --- 85 unchanged lines hidden --- |