diff options
-rw-r--r-- | usr.sbin/sendmail/src/conf.c | 6 | ||||
-rw-r--r-- | usr.sbin/sendmail/src/conf.h | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/usr.sbin/sendmail/src/conf.c b/usr.sbin/sendmail/src/conf.c index ee47763..0f47773 100644 --- a/usr.sbin/sendmail/src/conf.c +++ b/usr.sbin/sendmail/src/conf.c @@ -1558,7 +1558,7 @@ getla() /* Non Apollo stuff removed by Don Lewis 11/15/93 */ #ifndef lint -static char rcsid[] = "@(#)$Id: conf.c,v 1.7 1995/05/30 03:52:08 rgrimes Exp $"; +static char rcsid[] = "@(#)$Id: conf.c,v 1.8 1995/12/02 18:17:13 peter Exp $"; #endif /* !lint */ #ifdef apollo @@ -1704,10 +1704,6 @@ refuseconnections() # if SPT_TYPE == SPT_PSSTRINGS # include <machine/vmparam.h> # include <sys/exec.h> -# ifdef __FreeBSD__ -# undef PS_STRINGS /* XXX This is broken due to needing<machine/pmap.h> */ -# define PROCTITLEPAD '\0' -# endif # ifndef PS_STRINGS /* hmmmm.... apparently not available after all */ # undef SPT_TYPE # define SPT_TYPE SPT_REUSEARGV diff --git a/usr.sbin/sendmail/src/conf.h b/usr.sbin/sendmail/src/conf.h index 9ac4d8f..d0402bd 100644 --- a/usr.sbin/sendmail/src/conf.h +++ b/usr.sbin/sendmail/src/conf.h @@ -594,6 +594,9 @@ typedef int pid_t; # define SPT_TYPE SPT_BUILTIN /* setproctitle is in libc */ # define setreuid __setreuid # endif +# if defined(__FreeBSD__) +# define SPT_TYPE SPT_PSSTRINGS /* use PS_STRINGS->... */ +# endif #endif |