]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
kern_exec: p_osrel and p_fctl0 were obliterated by failed execve(2) attempt.
authorkib <kib@FreeBSD.org>
Sun, 17 Nov 2019 14:52:45 +0000 (14:52 +0000)
committerkib <kib@FreeBSD.org>
Sun, 17 Nov 2019 14:52:45 +0000 (14:52 +0000)
commit11ac3a4ad994c7624ab854687d56fbe98459e554
tree5277b754801317062e8c4dfbc9d7b0b4f6279a5b
parent8e4ff8df033af9a7b8c04b4c86e84964114e9994
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
sys/kern/kern_exec.c