mirror of git://anongit.mindrot.org/openssh.git
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@
This commit is contained in:
parent
90f42b0705
commit
dd9e0385ab
|
@ -1853,13 +1853,8 @@ mm_init_compression(struct mm_master *mm)
|
||||||
static void
|
static void
|
||||||
monitor_socketpair(int *pair)
|
monitor_socketpair(int *pair)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_SOCKETPAIR
|
|
||||||
if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1)
|
if (socketpair(AF_UNIX, SOCK_STREAM, 0, pair) == -1)
|
||||||
fatal("%s: socketpair", __func__);
|
fatal("%s: socketpair", __func__);
|
||||||
#else
|
|
||||||
fatal("%s: UsePrivilegeSeparation=yes not supported",
|
|
||||||
__func__);
|
|
||||||
#endif
|
|
||||||
FD_CLOSEONEXEC(pair[0]);
|
FD_CLOSEONEXEC(pair[0]);
|
||||||
FD_CLOSEONEXEC(pair[1]);
|
FD_CLOSEONEXEC(pair[1]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue