[gamin] Re: socket credentials patch for NetBSD
- From: Johnny Lam <jlam NetBSD org>
- To: gamin-list gnome org
- Subject: [gamin] Re: socket credentials patch for NetBSD
- Date: Thu, 01 Sep 2005 14:11:34 -0400
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.
Cheers,
-- Johnny Lam <jlam NetBSD org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]