diff --git a/ChangeLog b/ChangeLog index 8ec082169..d22a84d64 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,5 @@ 20020410 + - (stevesk) [configure.ac monitor.c] HAVE_SOCKETPAIR - (stevesk) [auth-sia.c] compile fix Chris Adams - (bal) OpenBSD CVS Sync - markus@cvs.openbsd.org 2002/04/10 08:21:47 @@ -8214,4 +8215,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.2043 2002/04/10 16:26:20 mouring Exp $ +$Id: ChangeLog,v 1.2044 2002/04/10 22:04:54 stevesk Exp $ diff --git a/monitor.c b/monitor.c index 03f8dc74a..b66dc2a16 100644 --- a/monitor.c +++ b/monitor.c @@ -1406,8 +1406,13 @@ mm_init_compression(struct mm_master *mm) static void monitor_socketpair(int *pair) { +#ifdef HAVE_SOCKETPAIR if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1) fatal("%s: socketpair", __FUNCTION__); +#else + fatal("%s: UsePrivilegeSeparation=yes not supported", + __FUNCTION__); +#endif FD_CLOSEONEXEC(pair[0]); FD_CLOSEONEXEC(pair[1]); }