summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2011-06-03 11:17:52 +1000
committerDarren Tucker <dtucker@zip.com.au>2011-06-03 11:17:52 +1000
commitdd9e0385abcf9dd2e6c9fe6dc082b0ffd4ae2bac (patch)
tree8f12d1dc0276dcec663202d38df6271d919746ed /monitor.c
parent90f42b07058d0813e258db90ccdd5da839844d19 (diff)
Remove the !HAVE_SOCKETPAIR case. We use socketpair unconditionally in other
places and the survey data we have does not show any systems that use it. "nuke it" djm@
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/monitor.c b/monitor.c
index 4479e0a03..2c9254182 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1853,13 +1853,8 @@ mm_init_compression(struct mm_master *mm)
1853static void 1853static void
1854monitor_socketpair(int *pair) 1854monitor_socketpair(int *pair)
1855{ 1855{
1856#ifdef HAVE_SOCKETPAIR
1857 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1) 1856 if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1)
1858 fatal("%s: socketpair", __func__); 1857 fatal("%s: socketpair", __func__);
1859#else
1860 fatal("%s: UsePrivilegeSeparation=yes not supported",
1861 __func__);
1862#endif
1863 FD_CLOSEONEXEC(pair[0]); 1858 FD_CLOSEONEXEC(pair[0]);
1864 FD_CLOSEONEXEC(pair[1]); 1859 FD_CLOSEONEXEC(pair[1]);
1865} 1860}