git: 6bea696af25c - main - linux_copyout_strings: Use PROC_PS_STRINGS().

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Sat, 05 Feb 2022 00:01:19 UTC
The branch main has been updated by jhb:

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

commit 6bea696af25c606452515bc812c23b9f2614344a
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-02-04 23:57:57 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-02-04 23:57:57 +0000

    linux_copyout_strings: Use PROC_PS_STRINGS().
    
    Reviewed by:    markj
    Obtained from:  CheriBSD
    Differential Revision:  https://reviews.freebsd.org/D34173
---
 sys/amd64/linux32/linux32_sysvec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/amd64/linux32/linux32_sysvec.c b/sys/amd64/linux32/linux32_sysvec.c
index 516d65f0f7bc..ff9ceda795cc 100644
--- a/sys/amd64/linux32/linux32_sysvec.c
+++ b/sys/amd64/linux32/linux32_sysvec.c
@@ -771,7 +771,7 @@ linux_copyout_strings(struct image_params *imgp, uintptr_t *stack_base)
 	char canary[LINUX_AT_RANDOM_LEN];
 	size_t execpath_len;
 
-	arginfo = (struct linux32_ps_strings *)LINUX32_PS_STRINGS;
+	arginfo = (struct linux32_ps_strings *)PROC_PS_STRINGS(imgp->proc);
 	destp = (uintptr_t)arginfo;
 
 	if (imgp->execpath != NULL && imgp->auxargs != NULL) {