Eitan Adler
2018-06-24 10:39:23 UTC
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.
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)
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.
Does anyone have a reason to keep in libc? Any objection to removing
it? If no, is there anything special I need to do beyond just removing
the implementation and references?
Since I'm sending emails at 3:30am anyways, I'll point that generallywhat 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.
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)
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.
Does anyone have a reason to keep in libc? Any objection to removing
it? If no, is there anything special I need to do beyond just removing
the implementation and references?
applies to rcmd(3) and related too.
I don't really understand the use-case for these functions on modern systems.
--
Eitan Adler
Eitan Adler