Frank Cusack | 3 Dec 17:10

Re: [PATCH] pppd/persist, linux 2.14.19+ - PPPIOCDETACH error

On Fri, Nov 29, 2002 at 10:21:02AM +1100, James Cameron wrote:
> Would it make more sense to set the ppp fd to be close-on-exec so that
> the child process that runs ip-down doesn't inherit it? 
> fcntl(fd,F_SETFD,FD_CLOEXEC)

Yep.  That fix has been suggested for some other problem as well and seems
better.

/fc
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane