]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r317845-r317846
authorbrooks <brooks@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 15 May 2017 22:50:54 +0000 (22:50 +0000)
committerbrooks <brooks@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 15 May 2017 22:50:54 +0000 (22:50 +0000)
commit6ed620c5c11da3d8b97690b92ee047da056b01b6
treee9b08c17737ec3e3f734a9793f494b514786b0b5
parent62074f656c6f3b383c504d7f465d7817c6bc2245
MFC r317845-r317846

r317845:
Provide a freebsd32 implementation of sigqueue()

The previous misuse of sys_sigqueue() was sending random register or
stack garbage to 64-bit targets.  The freebsd32 implementation preserves
the sival_int member of value when signaling a 64-bit process.

Document the mixed ABI implementation of union sigval and the
incompability of sival_ptr with pointer integrity schemes.

Reviewed by: kib, wblock
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D10605

r317846:
Regen post r317845.

MFC with: r317845
Sponsored by: DARPA, AFRL

git-svn-id: svn://svn.freebsd.org/base/stable/10@318323 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/sys/sigqueue.2
sys/compat/freebsd32/freebsd32_misc.c
sys/compat/freebsd32/freebsd32_proto.h
sys/compat/freebsd32/freebsd32_syscall.h
sys/compat/freebsd32/freebsd32_syscalls.c
sys/compat/freebsd32/freebsd32_sysent.c
sys/compat/freebsd32/freebsd32_systrace_args.c
sys/compat/freebsd32/syscalls.master
sys/kern/kern_sig.c
sys/sys/syscallsubr.h