[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] iruserok missing in OpenSolaris
From: |
Simon Josefsson |
Subject: |
Re: [bug-inetutils] iruserok missing in OpenSolaris |
Date: |
Sat, 20 Aug 2011 00:12:04 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) |
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?
/Simon