HomeFreeBSD

Provide a freebsd32 implementation of sigqueue()

Description

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
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D10605

Details

Provenance
brooksAuthored on
Reviewer
kib
Differential Revision
D10605: Provide a freebsd32 implementation of sigqueue().
Parents
rS317844: Grammar fixes.
Branches
Unknown
Tags
Unknown