Re: [GIT PULL] execve updates for v6.13-rc1

From: Linus Torvalds
Date: Thu Nov 21 2024 - 13:02:35 EST


On Thu, 21 Nov 2024 at 10:00, Zbigniew Jędrzejewski-Szmek
<zbyszek@xxxxxxxxx> wrote:
>
> Identical — as far as the callee is concerned.
> Basically, we'd like to switch the execve() that we use in systemd
> to start everything with fexecve(), but this should be invisible to
> both the programs that are started and users who call ps/pgrep/….

I'm not discussing this. If you cannot understand the difference
between comm[] and argv[0], this discussion is entirely pointless.

I'd suggest you just not use fexecve().

Linus