Re: Call for testing: OpenSSH 9.7

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Fri, 8 Mar 2024 at 09:19, Job Snijders <job@xxxxxxxxxxx> wrote:
> On Thu, Mar 07, 2024 at 11:13:50PM +0100, Predrag Zečević wrote:
> > Not all systems have /bin/sh linked to /bin/bash.
>
> Are there systems without /bin/sh?

In practice probably not many, although it's not *required*[0] by
POSIX.  That said, there is also another (particularly older) subset
of systems which have a /bin/sh that is sufficiently limited that
writing anything nontrivial in them is difficult and painful, hence
why the tests are run via whatever ends up in $TEST_SHELL instead of
/bin/sh.

[0] https://pubs.opengroup.org/onlinepubs/009695399/utilities/sh.html
"""
Applications should note that the standard PATH to the shell cannot be
assumed to be either /bin/sh or /usr/bin/sh, and should be determined
by interrogation of the PATH returned by getconf PATH , ensuring that
the returned pathname is an absolute pathname and not a shell
built-in.
"""

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux