Re: [GIT PULL] execve updates for v6.13-rc1 (take 2)
From: Linus Torvalds
Date: Fri Nov 29 2024 - 23:25:19 EST
On Fri, 29 Nov 2024 at 13:43, Vegard Nossum <vegard.nossum@xxxxxxxxxx> wrote:
>
> Probably a silly question, but why not do the same thing in all cases?
Because it would actually make a difference for the symlink case.
And unlike the open() -> fd -> execveat() case, the symlink is
actually active at the time of the execve(), so at that time it's a
real part of the name.
Now, do I believe it would actually matter? No, I doubt anybody would
really notice. But let's not change user-visible behavior "just
because".
Linus