linux_copyout_strings: Use PROC_PS_STRINGS().
Reviewed by: markj Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D34173
This commit is contained in:
parent
ffe74ab77f
commit
6bea696af2
@ -771,7 +771,7 @@ linux_copyout_strings(struct image_params *imgp, uintptr_t *stack_base)
|
|||||||
char canary[LINUX_AT_RANDOM_LEN];
|
char canary[LINUX_AT_RANDOM_LEN];
|
||||||
size_t execpath_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;
|
destp = (uintptr_t)arginfo;
|
||||||
|
|
||||||
if (imgp->execpath != NULL && imgp->auxargs != NULL) {
|
if (imgp->execpath != NULL && imgp->auxargs != NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user