diff options
-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 | } |