HardenedBSD/sys
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
..
amd64 Do not leave stray qword on top of stack for interrupts and exceptions 2018-06-25 11:29:04 +00:00
arm [rpi] Fix compatiblity with upstream DTB for RPi 3B and 3B+ 2018-06-24 23:19:31 +00:00
arm64 Make cpu_set_syscall_retval common between the existing FreeBSD ABI and 2018-06-25 22:36:25 +00:00
bsm
cam Fix setting RCA for MMC cards 2018-06-19 20:02:03 +00:00
cddl
compat Split kern_break from sys_break and use it in linuxulator 2018-06-27 14:45:13 +00:00
conf Incorporate bus and chip select numbers into spigen(4) cdev names. Rather 2018-06-21 21:16:26 +00:00
contrib Really fix the style. 2018-06-19 18:43:02 +00:00
crypto aesni(4): Fix {de,en}crypt operations that allocated a buffer 2018-06-23 18:20:17 +00:00
ddb
dev cxgbe/cxgbei: Fix harmful typo in the iSCSI offload driver. 2018-06-27 14:29:13 +00:00
dts Add spi-max-frequency properties to all spigen nodes. This is a required 2018-06-23 22:55:22 +00:00
fs Set the slotid and ND_HASSLOTID flag for NFSv4.1 sequenced operations. 2018-06-23 00:48:45 +00:00
gdb
geom gpart: add EFI alias for MBR partition scheme 2018-06-17 20:10:48 +00:00
gnu
i386 Fix the Linux kernel version number calculation 2018-06-22 00:02:03 +00:00
isa
kern Remove devctl_safe_quote since it's now unused. 2018-06-27 04:11:19 +00:00
kgssapi
libkern Sync strlcpy with userland version, again 2018-06-21 17:35:13 +00:00
mips
modules Partial revert of r335399 and r335400: 2018-06-26 23:28:03 +00:00
net Move BPFIF_* macro definitions into .c file, where struct bpf_if is 2018-06-19 10:34:45 +00:00
net80211
netgraph
netinet Enable TCP_FASTOPEN by default for FreeBSD 12. 2018-06-24 21:46:29 +00:00
netinet6 Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). 2018-06-16 08:26:23 +00:00
netipsec
netpfil pf: Support "return" statements in passing rules when they fail. 2018-06-22 21:59:30 +00:00
netsmb
nfs Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). 2018-06-16 08:26:23 +00:00
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc Expose stopped cpu contexts to ddb on PowerPC 2018-06-25 22:05:33 +00:00
riscv PLIC driver was sponsored by ECATS contract, not CTSRD one. 2018-06-21 11:52:09 +00:00
rpc
security Fix build breakage in veriexec for 32-bit architectures. 2018-06-20 06:54:38 +00:00
sparc64
sys Split kern_break from sys_break and use it in linuxulator 2018-06-27 14:45:13 +00:00
teken
tests
tools
ufs Use buf + strategy rather than bypassing geom_vfs layer 2018-06-26 00:39:38 +00:00
vm Split kern_break from sys_break and use it in linuxulator 2018-06-27 14:45:13 +00:00
x86 xen: obtain vCPU ID from CPUID 2018-06-26 15:00:54 +00:00
xdr
xen
Makefile