HomeFreeBSD

Add sv_onexec_old() sysent hook for exec event

Description

Add sv_onexec_old() sysent hook for exec event

Unlike sv_onexec(), it is called from the old (pre-exec) sysentvec structure.
The old vmspace for the process is still intact during the call.

Reviewed by: dchagin, markj
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D30987

Details

Provenance
kibAuthored on Jul 1 2021, 6:04 PM
Reviewer
dchagin
Differential Revision
D30987: Only handle robust mutexes and sigfastblock on exec and exit for native FreeBSD ABIs
Parents
rGedcf1054d3fb: cxgb: use m_gethdr_raw
Branches
Unknown
Tags
Unknown