Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2018 16:15:04 +0930
From:      "O'Connor, Daniel" <darius@dons.net.au>
To:        Eitan Adler <lists@eitanadler.com>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, "freebsd-arch@freebsd.org" <arch@freebsd.org>
Subject:   Re: What to do about rcmdsh(3) ?
Message-ID:  <27EE2F1E-245C-4D97-97DE-65E9DA133AF1@dons.net.au>
In-Reply-To: <CAF6rxgkyLFwrLFUH3sRTPDMMcUHJEWo6tG6BKdW8h0X2E9xzgg@mail.gmail.com>
References:  <CAF6rxg=LbpQ1NfLQN%2B6hH61HusTdZ8hiuFfxXKb5sU_8oidROw@mail.gmail.com> <20180624121412.GY2430@kib.kiev.ua> <CAF6rxgkyLFwrLFUH3sRTPDMMcUHJEWo6tG6BKdW8h0X2E9xzgg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 27 Jun 2018, at 13:01, Eitan Adler <lists@eitanadler.com> wrote:
>=20
> On 24 June 2018 at 05:14, Konstantin Belousov <kostikbel@gmail.com> =
wrote:
>> On Sun, Jun 24, 2018 at 03:32:13AM -0700, Eitan Adler wrote:
>>> Now that the rcmds are removed from base, it opens a question about
>>> what to do with rcmdsh(3).
>>> This is documented as
>>>     rcmdsh ??? return a stream to a remote command without superuser
>>> And is implemented as a rather simple wrapper of getaddrinfo and =
exec.
>>>=20
>>> This isn't something I'd imagine we'd add to libc now-a-days and is
>>> currently broken by default (due to defaulting to _PATH_RSH)
>>>=20
>>> I'm not sure there is much value in keeping this function around. I
>>> did a rather naive search for uses of this function in ports and
>>> couldn't find any. I'm preparing a more comprehensive patch for an
>>> exp-run.
>> There is a huge value in keeping ABI compatibility.  The symbol must =
be kept.
>> You may remove default version for the symbol if you are so inclined.
>=20
> I'm new at this. How does one do that?

You could just leave the call, I assume it will fail with an error if =
rsh isn't in the path.

If a user desperately needs it then they can install an rsh from ports =
(or something).

--
Daniel O'Connor
"The nice thing about standards is that there
are so many of them to choose from."
 -- Andrew Tanenbaum





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27EE2F1E-245C-4D97-97DE-65E9DA133AF1>