diff options
author | Darren Tucker <dtucker@zip.com.au> | 2011-06-03 11:17:52 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2011-06-03 11:17:52 +1000 |
commit | dd9e0385abcf9dd2e6c9fe6dc082b0ffd4ae2bac (patch) | |
tree | 8f12d1dc0276dcec663202d38df6271d919746ed /monitor.c | |
parent | 90f42b07058d0813e258db90ccdd5da839844d19 (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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -1853,13 +1853,8 @@ mm_init_compression(struct mm_master *mm) | |||
1853 | static void | 1853 | static void |
1854 | monitor_socketpair(int *pair) | 1854 | monitor_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 | } |