freebsd-dev/sys/compat
Dmitry Chagin de8374df28 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
2021-08-12 11:45:25 +03:00
..
cloudabi umtx: Split umtx.h on two counterparts. 2021-07-29 12:41:29 +03:00
cloudabi32 regen syscall files after d51198d63b63 2021-05-13 14:09:58 -04:00
cloudabi64 regen syscall files after d51198d63b63 2021-05-13 14:09:58 -04:00
freebsd32 Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
ia32 fork: Allow ABI to specify fork return values for child. 2021-08-12 11:45:25 +03:00
lindebugfs Add emulation support for the Linux kcov(4) ioctl API. 2020-09-04 00:12:28 +00:00
linprocfs linprocfs: Fixup vDSO name in the procmaps after 9931033bbf. 2021-07-20 10:04:20 +03:00
linsysfs linsysfs: create /sys/bus/ and /sys/subsystem/ 2021-03-11 15:50:51 +00:00
linux linux(4): Plug in aarch64 fcntl flags. 2021-08-12 11:42:50 +03:00
linuxkpi/common LinuxKPI: fix bug in le32p_replace_bits() 2021-07-31 22:15:35 +00:00
x86bios Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00