summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-08-04 13:04:55 +0000
committerpeter <peter@FreeBSD.org>1998-08-04 13:04:55 +0000
commitc716718d5368af5c003a1cd1c250e1d150cd2936 (patch)
treeab335547167d1ed24cd5f3b49887e5e3cf6bf4dd /contrib
parenta2a730e618c59bb6c23ba331b93f796f3aab15b4 (diff)
downloadFreeBSD-src-c716718d5368af5c003a1cd1c250e1d150cd2936.zip
FreeBSD-src-c716718d5368af5c003a1cd1c250e1d150cd2936.tar.gz
Copy original revs 1.19,1.15 - setusercontext() support and __FreeBSD__>=2
Copy original revs 1.9,1.8,1.7 - set PS_STRINGS correctly.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sendmail/src/conf.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/contrib/sendmail/src/conf.h b/contrib/sendmail/src/conf.h
index fd14d5a..a8ad46e 100644
--- a/contrib/sendmail/src/conf.h
+++ b/contrib/sendmail/src/conf.h
@@ -814,12 +814,15 @@ typedef int pid_t;
# endif
# if defined(__FreeBSD__)
# undef SPT_TYPE
-# if __FreeBSD__ == 2
-# include <osreldate.h> /* and this works */
-# if __FreeBSD_version >= 199512 /* 2.2-current right now */
+# if __FreeBSD__ >= 2
+# include <osreldate.h>
+# if __FreeBSD_version >= 199512 /* 2.2-current when it appeared */
# include <libutil.h>
# define SPT_TYPE SPT_BUILTIN
# endif
+# if __FreeBSD_version >= 222000 /* 2.2.2-release and later */
+# define HASSETUSERCONTEXT 1 /* BSDI-style login classes */
+# endif
# endif
# ifndef SPT_TYPE
# define SPT_TYPE SPT_REUSEARGV
OpenPOWER on IntegriCloud