git: 66e8f1f7d37b - main - linux(4): Fix arm64 build after b7a6bcdd, missed chunk added

From: Dmitry Chagin <dchagin_at_FreeBSD.org>
Date: Sat, 22 Apr 2023 22:41:28 UTC
The branch main has been updated by dchagin:

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

commit 66e8f1f7d37b5f657086437f5411a63c9080e25c
Author:     Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2023-04-22 22:41:12 +0000
Commit:     Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2023-04-22 22:41:12 +0000

    linux(4): Fix arm64 build after b7a6bcdd, missed chunk added
    
    MFC after:              1 month
---
 sys/compat/linux/linux_elf.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/compat/linux/linux_elf.c b/sys/compat/linux/linux_elf.c
index 9db599d83bac..f335f18e252f 100644
--- a/sys/compat/linux/linux_elf.c
+++ b/sys/compat/linux/linux_elf.c
@@ -534,7 +534,8 @@ __linuxN(copyout_auxargs)(struct image_params *imgp, uintptr_t base)
 	if (args->execfd != -1)
 		AUXARGS_ENTRY(pos, AT_EXECFD, args->execfd);
 	if (p->p_osrel >= LINUX_KERNVER_5013000 || p->p_osrel == 0)
-		AUXARGS_ENTRY(pos, LINUX_AT_MINSIGSTKSZ, LINUX_MINSIGSTKSZ);
+		AUXARGS_ENTRY(pos, LINUX_AT_MINSIGSTKSZ,
+		    imgp->sysent->sv_minsigstksz);
 	AUXARGS_ENTRY(pos, AT_NULL, 0);
 
 	free(imgp->auxargs, M_TEMP);