diff options
author | Kevin Steves <stevesk@pobox.com> | 2002-04-10 22:04:54 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@pobox.com> | 2002-04-10 22:04:54 +0000 |
commit | fe6ca54ac2f3c97d3da74affaa9beadbf3fbd27d (patch) | |
tree | 20724911fef5ecf87087a7b8910599d9245aafcd /monitor.c | |
parent | 027e4de24f3fdb92204e6940a701fc0c59feae97 (diff) |
- (stevesk) [configure.ac monitor.c] HAVE_SOCKETPAIR
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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]); } |