Subject: Re: pidentd
To: None <itojun@iijlab.net>
From: =?iso-2022-jp?B?GyRCR19LXBsoQiAbJEJIJRsoQg==?= <Hajimu UMEMOTO>
List: tech-pkg
Date: 04/07/2000 15:48:34
ume> Though, I have never seen 3.1a14 and, I don't know how far from 3.1a11, 

ume>     http://www.imasy.or.jp/~ume/ipv6/pidentd-3.1a11-ipv6-19990720.diff.gz

ume> has such options.  I forgot to send it to the author.  Can someome
ume> merge this?

I saw 3.1a14 just now.  The diffs between 3.1a11 and 3.1a14 is not so
big.  I'll send above patch to the author.
It seems return code of ka_lookup() was changed during 3.1a11 and
3.1a14.  3.1a14's ka_lookup() returns 0 on success or -1 on error.
3.1a14's ka_lookup() returns 1 on success or -1 on error.

--- k_netbsd1.c.orig	Fri Apr  7 15:36:05 2000
+++ k_netbsd1.c	Fri Apr  7 15:43:54 2000
@@ -334,7 +334,7 @@
 		return -1;
 	    ke->ruid = NO_UID;
 	    ke->euid = ucb.cr_uid;
-	    return 1;
+	    return 0;
 	}
     }
     return -1;

--
Hajimu UMEMOTO @ Business Solution System Development Div., Hitachi Ltd.
E-Mail: ume@bisd.hitachi.co.jp ume@mahoroba.org  ume@FreeBSD.org
URL: http://www.imasy.org/~ume/