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 --- 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