* [PATCH] uapi/fcntl: fix the syscall name in the AT_EXECVE_CHECK comment
@ 2026-11-29 1:41 Nikolai Dokutovich
2026-12-02 8:56 ` Christian Brauner
0 siblings, 1 reply; 2+ messages in thread
From: Nikolai Dokutovich @ 2026-11-29 1:41 UTC (permalink / raw)
To: Kees Cook, Christian Brauner
Cc: Mickaël Salaün, Jeff Layton, Chuck Lever,
Alexander Aring, linux-api, linux-fsdevel, linux-kernel,
Nikolai Dokutovich
The comment calls AT_EXECVE_CHECK a flag for execveat2(2), but no
execveat2(2) system call exists. The flag belongs to execveat(2): the
commit that added it is titled "exec: Add a new AT_EXECVE_CHECK flag to
execveat(2)" (a5874fde3c08), and fs/exec.c, security/ and samples/ all
name execveat(2).
The header is installed for userspace, so a wrong name sends readers
looking for a system call that is not there.
Signed-off-by: Nikolai Dokutovich <ndokutovich@gmail.com>
---
include/uapi/linux/fcntl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/fcntl.h b/include/uapi/linux/fcntl.h
index e43e3de3e9ee..faa63d0b60d2 100644
--- a/include/uapi/linux/fcntl.h
+++ b/include/uapi/linux/fcntl.h
@@ -187,7 +187,7 @@ struct delegation {
#define AT_HANDLE_MNT_ID_UNIQUE 0x001 /* Return the u64 unique mount ID. */
#define AT_HANDLE_CONNECTABLE 0x002 /* Request a connectable file handle */
-/* Flags for execveat2(2). */
+/* Flags for execveat(2). */
#define AT_EXECVE_CHECK 0x10000 /* Only perform a check if execution
would be allowed. */
--
2.43.0
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] uapi/fcntl: fix the syscall name in the AT_EXECVE_CHECK comment
2026-11-29 1:41 [PATCH] uapi/fcntl: fix the syscall name in the AT_EXECVE_CHECK comment Nikolai Dokutovich
@ 2026-12-02 8:56 ` Christian Brauner
0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2026-12-02 8:56 UTC (permalink / raw)
To: Kees Cook, Nikolai Dokutovich
Cc: Mickaël Salaün, Jeff Layton, Chuck Lever,
Alexander Aring, linux-api, linux-fsdevel, linux-kernel
On Sun, 29 Nov 2026 04:41:01 +0300, Nikolai Dokutovich wrote:
> The comment calls AT_EXECVE_CHECK a flag for execveat2(2), but no
> execveat2(2) system call exists. The flag belongs to execveat(2): the
> commit that added it is titled "exec: Add a new AT_EXECVE_CHECK flag to
> execveat(2)" (a5874fde3c08), and fs/exec.c, security/ and samples/ all
> name execveat(2).
>
> The header is installed for userspace, so a wrong name sends readers
> looking for a system call that is not there.
>
> [...]
Applied to the vfs-7.5.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.5.misc branch should appear in linux-next soon.
Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.
It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.
Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.5.misc
[1/1] uapi/fcntl: fix the syscall name in the AT_EXECVE_CHECK comment
https://git.kernel.org/vfs/vfs/c/0609172e7839
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-02 8:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-29 1:41 [PATCH] uapi/fcntl: fix the syscall name in the AT_EXECVE_CHECK comment Nikolai Dokutovich
2026-12-02 8:56 ` Christian Brauner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®