[PATCH 2/2] linux: posix_spawn: return EINVAL on argc < 1
Cristian Rodríguez
crrodriguez@opensuse.org
Fri Jan 28 23:35:06 GMT 2022
On Fri, Jan 28, 2022 at 8:26 PM Joseph Myers <joseph@codesourcery.com> wrote:
>
> On Fri, 28 Jan 2022, Adhemerval Zanella via Libc-alpha wrote:
>
> > We can add a note on deprecated and removed features, but I am not sure
> > if would make any difference now that kernels will changes the semantic
> > anyway and it will cause compatibility issues anyway.
>
> I haven't seen any discussions of this on linux-api, so the kernel
> discussion elsewhere might not be taking any compatibility issues properly
> into account.
but making things in libc calling execve potentially with argc == 0
error out or behave like having argv = {"", NULL} shouldn't break
anything right ?
More information about the Libc-alpha
mailing list