git: b7ee4a377911 - stable/13 - linux(4): Fix LINUX_AT_COUNT comments

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Thu, 29 Jun 2023 08:20:04 UTC
The branch stable/13 has been updated by dchagin:

URL: https://cgit.FreeBSD.org/src/commit/?id=b7ee4a3779118fa76f98fb4be0d4866400b07efa

commit b7ee4a3779118fa76f98fb4be0d4866400b07efa
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-04-22 19:16:43 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-06-29 08:15:26 +0000

    linux(4): Fix LINUX_AT_COUNT comments
    
    Differential Revision:  https://reviews.freebsd.org/D39645
    MFC after:              1 month
    
    (cherry picked from commit 56c5230afdcf2b317d904009abe577e91b382542)
---
 sys/amd64/linux/linux.h   | 5 ++++-
 sys/amd64/linux32/linux.h | 2 +-
 sys/arm64/linux/linux.h   | 5 ++++-
 sys/i386/linux/linux.h    | 2 +-
 4 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/sys/amd64/linux/linux.h b/sys/amd64/linux/linux.h
index 305c4c43a471..0cf7d02c5833 100644
--- a/sys/amd64/linux/linux.h
+++ b/sys/amd64/linux/linux.h
@@ -90,7 +90,10 @@ typedef struct {
 /*
  * Miscellaneous
  */
-#define LINUX_AT_COUNT		21	/* Count of used aux entry types. */
+#define LINUX_AT_COUNT		21	/* Count of used aux entry types.
+					 * Keep this synchronized with
+					 * linux_copyout_auxargs() code.
+					 */
 
 struct l___sysctl_args
 {
diff --git a/sys/amd64/linux32/linux.h b/sys/amd64/linux32/linux.h
index 0449790bd981..d0c966ad3c92 100644
--- a/sys/amd64/linux32/linux.h
+++ b/sys/amd64/linux32/linux.h
@@ -105,7 +105,7 @@ typedef struct {
  */
 #define	LINUX_AT_COUNT		22	/* Count of used aux entry types.
 					 * Keep this synchronized with
-					 * linux_fixup_elf() code.
+					 * linux_copyout_auxargs() code.
 					 */
 struct l___sysctl_args
 {
diff --git a/sys/arm64/linux/linux.h b/sys/arm64/linux/linux.h
index 8ecadff2e220..bee97691b744 100644
--- a/sys/arm64/linux/linux.h
+++ b/sys/arm64/linux/linux.h
@@ -81,7 +81,10 @@ typedef struct {
 #define	l_fd_set	fd_set
 
 /* Miscellaneous */
-#define	LINUX_AT_COUNT		21
+#define	LINUX_AT_COUNT		21	/* Count of used aux entry types.
+					 * Keep this synchronized with
+					 * linux_copyout_auxargs() code.
+					 */
 
 struct l___sysctl_args
 {
diff --git a/sys/i386/linux/linux.h b/sys/i386/linux/linux.h
index 61ab5e40fe1d..c4b70b2a6aaa 100644
--- a/sys/i386/linux/linux.h
+++ b/sys/i386/linux/linux.h
@@ -97,7 +97,7 @@ typedef struct {
  */
 #define LINUX_AT_COUNT		21	/* Count of used aux entry types.
 					 * Keep this synchronized with
-					 * linux_fixup_elf() code.
+					 * linux_copyout_auxargs() code.
 					 */
 struct l___sysctl_args
 {