From: "Theo de Raadt" Subject: Re: Support for /usr/bin/env -S (kind of) To: Manuel Giraud , tech Date: Tue, 22 Jul 2025 09:05:09 -0600 Stuart Henderson wrote: > On 2025/07/22 13:12, Manuel Giraud wrote: > > Crystal Kolipe writes: > > > > > On Mon, Jul 21, 2025 at 11:24:51PM -0400, Garance ELC Drosehn wrote: > > >> On 18 Jul 2025, at 14:42, Jeremie Courreges-Anglas wrote: > > >> > > >> > On Fri, Jul 18, 2025 at 07:30:09PM +0200, Manuel Giraud wrote: > > >> >> Jeremie Courreges-Anglas writes: > > >> > [...] > > >> >> > > >> >> As another data point, I tried to search for mentions of "env -S" in all > > >> >> the patch-* files of ports but couldn't find any. Do you have examples > > >> >> where genv was used? > > >> > > > >> > Nope, I was not implying there were actual candidates. > > >> > > >> FWIW, I noticed that there was some presentation at BSDcan which mentioned > > >> 'env -S' in passing, and which said that while they were working on their > > >> project, they noticed that OpenBSD (and maybe NetBSD?) did not have that > > >> option. > > > > > > I can confirm that NetBSD does _not_ support env -S. > > > > What I gather from this discussion is that it would be "nice to have" > > user feature while not being standardized and potentially unsafe. So > > maybe, we should not support this. Sorry for the noise. > > also, we didn't have to patch any instances of this in ports. So nothing needs this now. They don't even use the genv variation. Is it actually _used_ in another operating system? Can someone do the grep?