From: Nikolai Dokutovich <ndokutovich@gmail.com>
To: Kees Cook <kees@kernel.org>, Christian Brauner <brauner@kernel.org>
Cc: "Mickaël Salaün" <mic@digikod.net>,
"Jeff Layton" <jlayton@kernel.org>,
"Chuck Lever" <cel@kernel.org>,
"Alexander Aring" <alex.aring@gmail.com>,
linux-api@vger.kernel.org, linux-fsdevel@vger.kernel.org,
linux-kernel@vger.kernel.org,
"Nikolai Dokutovich" <ndokutovich@gmail.com>
Subject: [PATCH] uapi/fcntl: fix the syscall name in the AT_EXECVE_CHECK comment
Date: Sun, 29 Nov 2026 04:41:01 +0300 [thread overview]
Message-ID: <20261129014101.57272-1-ndokutovich@gmail.com> (raw)
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
reply other threads:[~2026-11-29 1:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261129014101.57272-1-ndokutovich@gmail.com \
--to=ndokutovich@gmail.com \
--cc=alex.aring@gmail.com \
--cc=brauner@kernel.org \
--cc=cel@kernel.org \
--cc=jlayton@kernel.org \
--cc=kees@kernel.org \
--cc=linux-api@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mic@digikod.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®