[gamin] Re: socket credentials patch for NetBSD

Johnny C. Lam wrote:

I've attached a patch that just saves a "-1" instead of the PID in the connection information. NetBSD and FreeBSD still pass all of the regression test scenarios with this patch.

Just to clarify what this patch does: gamin will send NUL bytes again as part of the authentication process, and only if the PID information cannot easily be determined is the (-1) saved into the connection's pid field, i.e. on NetBSD. The existing functionality of for Linux and FreeBSD is preserved.


	-- Johnny Lam <jlam NetBSD org>

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]