- (stevesk) [configure.ac monitor.c] HAVE_SOCKETPAIR
This commit is contained in:
parent
027e4de24f
commit
fe6ca54ac2
|
@ -1,4 +1,5 @@
|
||||||
20020410
|
20020410
|
||||||
|
- (stevesk) [configure.ac monitor.c] HAVE_SOCKETPAIR
|
||||||
- (stevesk) [auth-sia.c] compile fix Chris Adams <cmadams@hiwaay.net>
|
- (stevesk) [auth-sia.c] compile fix Chris Adams <cmadams@hiwaay.net>
|
||||||
- (bal) OpenBSD CVS Sync
|
- (bal) OpenBSD CVS Sync
|
||||||
- markus@cvs.openbsd.org 2002/04/10 08:21:47
|
- markus@cvs.openbsd.org 2002/04/10 08:21:47
|
||||||
|
@ -8214,4 +8215,4 @@
|
||||||
- Wrote replacements for strlcpy and mkdtemp
|
- Wrote replacements for strlcpy and mkdtemp
|
||||||
- Released 1.0pre1
|
- Released 1.0pre1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2043 2002/04/10 16:26:20 mouring Exp $
|
$Id: ChangeLog,v 1.2044 2002/04/10 22:04:54 stevesk Exp $
|
||||||
|
|
|
@ -1406,8 +1406,13 @@ 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", __FUNCTION__);
|
fatal("%s: socketpair", __FUNCTION__);
|
||||||
|
#else
|
||||||
|
fatal("%s: UsePrivilegeSeparation=yes not supported",
|
||||||
|
__FUNCTION__);
|
||||||
|
#endif
|
||||||
FD_CLOSEONEXEC(pair[0]);
|
FD_CLOSEONEXEC(pair[0]);
|
||||||
FD_CLOSEONEXEC(pair[1]);
|
FD_CLOSEONEXEC(pair[1]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue