opnsense-src/sys/compat/ia32
Dmitry Chagin 5a66ec2748 fork: Allow ABI to specify fork return values for child.
At least Linux x86 ABI's does not use carry bit and expects that the dx register
is preserved. For this add a new sv_set_fork_retval hook and call it from cpu_fork().

Add a short comment about touching dx in x86_set_fork_retval(), for more details
see phab comments from kib@ and imp@.

Reviewed by:            kib
Differential revision:  https://reviews.freebsd.org/D31472
MFC after:              2 weeks

(cherry picked from commit de8374df28)
2022-06-17 22:33:28 +03:00
..
ia32_genassym.c amd64 ia32 vdso: add unwind annotations to the signal trampoline 2022-01-02 18:43:01 +02:00
ia32_signal.h vdso for ia32 on amd64 2022-01-02 18:43:01 +02:00
ia32_sysvec.c fork: Allow ABI to specify fork return values for child. 2022-06-17 22:33:28 +03:00
ia32_util.h sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00