From fe6ca54ac2f3c97d3da74affaa9beadbf3fbd27d Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Wed, 10 Apr 2002 22:04:54 +0000 Subject: - (stevesk) [configure.ac monitor.c] HAVE_SOCKETPAIR --- monitor.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'monitor.c') 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]); } -- cgit v1.2.3