[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/5] Permit systemd-allocated socket file-descriptors to be u
From: |
Matthew Leach |
Subject: |
Re: [PATCH 3/5] Permit systemd-allocated socket file-descriptors to be used. |
Date: |
Sun, 27 Mar 2016 14:38:39 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Hi Andreas,
Andreas Schwab <address@hidden> writes:
> Matthew Leach <address@hidden> writes:
>
>> Initially I had the same thought and gave this variable a generic name
>> as you propose. However, it turns out that systemd has already called
>> bind() on the socket and a further call to bind() would error.
>
> Doesn't xinetd do the same?
I'm not sure. I would guess that you're correct, as bind() must be
called for connection detection. I've never looked at xinetd, though.
Thanks,
--
Matt
[PATCH 1/5] Check for libsystemd when building Emacs., Matthew Leach, 2016/03/26
Re: [PATCH 0/5] Add systemd socket launching support., Alan Mackenzie, 2016/03/26
Re: [PATCH 0/5] Add systemd socket launching support., Matthew Leach, 2016/03/27