diff options
author | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-04-22 19:16:43 +0000 |
---|---|---|
committer | Dmitry Chagin <dchagin@FreeBSD.org> | 2023-04-22 19:16:43 +0000 |
commit | 56c5230afdcf2b317d904009abe577e91b382542 (patch) | |
tree | 9435e6451274cbb3f5777bfd0041fba57d426134 | |
parent | 7d8c98398302b939b97310d31883ebdab8c0b938 (diff) | |
download | src-56c5230afdcf2b317d904009abe577e91b382542.tar.gz src-56c5230afdcf2b317d904009abe577e91b382542.zip |
linux(4): Fix LINUX_AT_COUNT comments
Differential Revision: https://reviews.freebsd.org/D39645
MFC after: 1 month
-rw-r--r-- | sys/amd64/linux/linux.h | 5 | ||||
-rw-r--r-- | sys/amd64/linux32/linux.h | 2 | ||||
-rw-r--r-- | sys/arm64/linux/linux.h | 5 | ||||
-rw-r--r-- | 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 c57134da6464..11cc9f05c6f5 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 8693585da6d3..8acc5bc0f195 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 5c95acd86771..1b6852286662 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 063c81510c02..114d59d4eae0 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 { |