>>>>> "Philip" == Philip Hazel <ph10@???> writes:
[...]
>> Surely when it re-execs itself it should pass the socket file
>> descriptor on to the new daemon process, so that it doesn't have to be
>> created and bound again ?
Philip> On Wed, 10 Apr 1996, Lee McLoughlin wrote:
>> Yes ideally it should. However it is fairly fiddly to do. A lot of exec's
>> will close off all file descriptors unless you are careful to setup flags.
So why not pass the open fd? That does sound a lot more reliable.
Doesn't exec pass open fd's on every un*x system? Why is this 'fairly
fiddly' to do?