[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] iruserok missing in OpenSolaris
From: |
Mats Erik Andersson |
Subject: |
Re: [bug-inetutils] iruserok missing in OpenSolaris |
Date: |
Tue, 22 Nov 2011 11:40:21 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
lördag den 20 augusti 2011 klockan 00:12 skrev Simon Josefsson detta:
> Mats Andersson <address@hidden> writes:
>
> > Dear all,
> >
> > not too long ago "libinetutils.a" implemented "iruserok()",
> > but the code has been removed. This function is still in use by
> >
> > src/rlogind.c
> > src/rshd.c
> >
> > but the project now relies on the availability of this function
> > within the Libc on a given system.
> >
> > However, the Libc implementation of OpenSolaris/NexentaCore
> > does not provide "iruserok()", only "ruserok()". Do we want
> > to reintroduce some sort of wrapper?
>
> I think so -- iruserok is not standard as far as I know, and even glibc
> does not have any prototype for it. It is somewhat of a mess.
>
> We should consider whether iuserok is the right function to use at all.
> Maybe there are more modern way to do the same?
I have made a comparison in this matter.
Glibc: rcmd, rresvport, ruserok, iruserok
rcmd_af, rresvport_af, ruserok_af, iruserok_af
*BSD: rcmd, rresvport, ruserok, iruserok
rcmd_af, rresvport_af, --, --
iruserok_sa
Solaris: rcmd, rresvport, ruserok, --
rcmd_af, rresvport_af, --, --
rresvport_addr
As can be seen the extensions to get address family independence
vary to full extent. Would there be a great loss, as a first step,
to replace iruserok() with ruserok() in Solaris?
Best regards,
Mats
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [bug-inetutils] iruserok missing in OpenSolaris,
Mats Erik Andersson <=