diff options
author | Ian Lepore <ian@FreeBSD.org> | 2014-03-07 20:32:45 +0000 |
---|---|---|
committer | Ian Lepore <ian@FreeBSD.org> | 2014-03-07 20:32:45 +0000 |
commit | f995847ae7f3c6192bbcd5cde21ac7159b4fb78a (patch) | |
tree | 29b44efe9cb713920b6197f229d26a5650c93ae5 /usr.sbin | |
parent | 33db33a7520875906be679be6195c66470668a43 (diff) | |
download | src-f995847ae7f3c6192bbcd5cde21ac7159b4fb78a.tar.gz src-f995847ae7f3c6192bbcd5cde21ac7159b4fb78a.zip |
Fix the arm sys_sigreturn(): its argument is a struct ucontext, not a
struct sigframe containing the struct ucontext.
The signal trampoline return code on the other hand DOES have just a
struct sigframe on the stack to work with, so have it get a pointer to
the ucontext out of there to pass along to sys_sigreturn.
In other words, make everything work right whether sys_sigreturn is
invoked from the trampoline or from userland code calling sigreturn(2).
Submitted by: Takashi Komatsu <komatsu.taka@jp.panasonic.com>
Reviewed by: cognet
Notes
Notes:
svn path=/head/; revision=262903
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions