i forgot to mention that im using current.


netbsd# uname -a
NetBSD netbsd.dmarkey.com 4.99.72 NetBSD 4.99.72 (XEN3PAE_DOMU)



On Tue, Sep 16, 2008 at 12:44 PM, Emmanuel Dreyfus <manu@netbsd.org> wrote:
Howard Chu <hyc@symas.com> wrote:

> As I said in my first reply - if your NetBSD doesn't provide getpeereid()
> then you need to file an ITS to get the relevant APIs supported. None of
> the current substitutes in liblutil match any of what you quoted from the
> NetBSD docs.

Right, I have the whole story.

getpeereid(3) has been added in NetBSD-current on 2007/08/09. That
feature has not yet been included in a stable release. It will be
available in NetBSD-5.0.

The remaining of this message is quite off-topic, but while we are
there:

Upgrading to NetBSD-current will make he feature working. Another
approach would be to try patching NetBSD-4.0 to add just the required
feature.

If you want to try that route, checkout latest source from the netbsd-4
branch, and try to apply the patches produced by the diff at the bottom
of this commit log (you will need to hack it a bit):
http://mail-index.netbsd.org/source-changes/2007/08/09/0017.html