Re: [GIT PULL] execve updates for v6.13-rc1 (take 2)

Linus Torvalds
2024-11-30T04:25:11Z

On Fri, 29 Nov 2024 at 13:43, Vegard Nossum <vegard.nossum@oracle.com> 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