Date: Sat, 5 Feb 2022 00:01:19 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 6bea696af25c - main - linux_copyout_strings: Use PROC_PS_STRINGS(). Message-ID: <202202050001.21501J6k024064@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202050001.21501J6k024064>