Check if we can copy sshd or need to use sudo to do so during reexec
authordtucker <dtucker@openbsd.org>
Thu, 19 Jan 2023 07:53:45 +0000 (07:53 +0000)
committerdtucker <dtucker@openbsd.org>
Thu, 19 Jan 2023 07:53:45 +0000 (07:53 +0000)
commit704ff15594c8fdaf81b13a0e607bc063c09e433b
treea7f03b2a6e5c3cfc832a24fc9157733252808b12
parentec4188df8d549e93c4b50a4fe1a97371c50d878e
Check if we can copy sshd or need to use sudo to do so during reexec
test. Skip test if neither can work.  Patch from anton@, tweaks from me.
regress/usr.bin/ssh/reexec.sh