freebsd-dev/sys/compat
Ed Maste e8a1ec3e05 Split kern_break from sys_break and use it in linuxulator
Previously the linuxulator's linux_brk invoked the FreeBSD sys_break
syscall implementation directly.  Instead, move the bulk of the existing
implementation to kern_break, and call that from both sys_break and
linux_brk.

This also addresses a minor bug in linux_brk in that we now return the
actual (rounded up) break address, rather than the requested value.

Reviewed by:	brooks (earlier version)
Sponsored by:	Turing Robotic Industries
Differential Revision:	https://reviews.freebsd.org/D16019
2018-06-27 14:45:13 +00:00
..
cloudabi Eliminate the overhead of gratuitous repeated reinitialization of cap_rights 2018-05-09 18:47:24 +00:00
cloudabi32 Don't use an .OBJDIR for 'make sysent'. 2018-01-29 19:14:15 +00:00
cloudabi64 Don't use an .OBJDIR for 'make sysent'. 2018-01-29 19:14:15 +00:00
freebsd32 Regen after 335177 (rename sys_obreak to sys_break). 2018-06-14 21:29:31 +00:00
ia32 Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
linprocfs Fix output of linprocfs stat entry 2018-06-22 00:02:05 +00:00
linsysfs linsysfs: depend on linux_common module on arm64, as on amd64 2018-06-18 13:26:45 +00:00
linux Split kern_break from sys_break and use it in linuxulator 2018-06-27 14:45:13 +00:00
linuxkpi/common Implement the ip_eth_mc_map() function in the LinuxKPI. 2018-06-12 08:43:49 +00:00
ndis Fix build of ndis with base gcc on i386 2018-06-17 19:24:40 +00:00
netbsd sys/compat: further adoption of SPDX licensing ID tags. 2017-11-27 15:13:23 +00:00
x86bios x86bios: spelling fix in a comment. 2016-04-30 00:34:04 +00:00