The arguments of sys_sigreturn
Takashi Komatsu
komatsu.taka at jp.panasonic.com
Thu Mar 6 04:54:02 UTC 2014
Hi,
I have a question about the function of sys_sigreturn.
[sys/arm/arm/machdep.c]
In arm codes, the sys_sigreturn function use sigreturn_args.
I think it has to be used for "struct __ucontext".
But it use "struct sigframe".
In fact, it's called with the argument "sigframe" by other function.
(sys/arm/arm/locore.S: L558)
On the one hand, it's called by the thread library with "ucontext_t".
(lib/libthr/thread/thr_sig.c: L256)
There is collision types.
I attached my patch.
Please review.
Best regards,
Takashi Komatsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sys_sigreturn.patch
Type: application/octet-stream
Size: 1854 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20140306/2819ac08/attachment.obj>
More information about the freebsd-arm
mailing list