HomeFreeBSD

Introduce the PROC_SIGCODE() macro

Description

Introduce the PROC_SIGCODE() macro

Use a getter macro instead of fetching the sigcode address directly
from a sysent of a given process. It assumes that the sigcode is stored
in the shared page, which is true in all cases, except for a.out
binaries. This will be later useful when the shared page address
randomization is introduced.
No functional change intended.

Approved by: mw(mentor)
Sponsored by: Stormshield
Obtained from: Semihalf
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D35392

Details

Provenance
kdAuthored on Jun 2 2022, 8:45 AM
Reviewer
kib
Differential Revision
D35392: Introduce the PROC_SIGCODE() macro
Parents
rGddd9004e7a5d: Bump __FreeBSD_version after the removal of OBJT_DEFAULT
Branches
Unknown
Tags
Unknown