lkml.org 
[lkml]   [2024]   [Nov]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL] execve updates for v6.13-rc1 (take 2)


On November 28, 2024 12:24:27 PM GMT+10:00, Linus Torvalds <torvalds@linux-foundation.org> wrote:
>But no, I do not accept changing well-documented behaviour of
>AT_EMPTY_PATH, much less the insanity of making "execveat()" have
>completely different semantics for AT_EMPTY_PATH than a plain openat.

Yeah, that was going to be the next question. ;) Okay, so, that last thing I can see here as an option is to add an exec-specific AT flag, and if that isn't workable I don't see a way to make this happen with execveat.

-Kees

--
Kees Cook

\
 
 \ /
  Last update: 2024-11-29 03:09    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog