HomeFreeBSD

kern_exec: p_osrel and p_fctl0 were obliterated by failed execve(2) attempt.

Description

kern_exec: p_osrel and p_fctl0 were obliterated by failed execve(2) attempt.

Zeroing of them is needed so that an image activator can update the
values as appropriate (or not set at all).

Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D22379

Details

Provenance
kibAuthored on
Reviewer
markj
Differential Revision
D22379: Add STKGAP disable fctl flag.
Parents
rS354788: amd64 copyout: remove irrelevant comment.
Branches
Unknown
Tags
Unknown