Fix a typo resulting in truncated linux32 signal trampoline code copied
to the usermode. Usually, signal handler segfaulted on return. Reviewed by: jhb MFC after: 3 days
This commit is contained in:
parent
624b4884d8
commit
66c70dc62d
@ -868,7 +868,7 @@ linux_copyout_strings(struct image_params *imgp)
|
|||||||
*/
|
*/
|
||||||
if (sigcodesz)
|
if (sigcodesz)
|
||||||
copyout(imgp->proc->p_sysent->sv_sigcode,
|
copyout(imgp->proc->p_sysent->sv_sigcode,
|
||||||
((caddr_t)arginfo - sigcodesz), szsigcode);
|
((caddr_t)arginfo - sigcodesz), sigcodesz);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If we have a valid auxargs ptr, prepare some room
|
* If we have a valid auxargs ptr, prepare some room
|
||||||
|
Loading…
x
Reference in New Issue
Block a user