freebsd-dev/sys
Andrew Turner 01ffedf593 Unwire the kcov buffer when freeing the info struct.
Without this the physical memory will not be returned to the kernel.

While here call vm_object_reference on the object when mmapping the buffer.
This removed the need for buggy tracking of if it has been mapped or not.

This fixes issues where kcov could use all the system memory.

Reported by:	tuexen
Reviewed by:	kib
Sponsored by:	DARPA, AFTL
Differential Revision:	https://reviews.freebsd.org/D19252
2019-02-20 22:41:14 +00:00
..
amd64 Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
arm Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
arm64 Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
bsm Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
cam Fix panic message. 2019-02-13 00:10:12 +00:00
cddl Simplify the code. No functional changes. 2019-02-20 00:25:45 +00:00
compat Make taskqgroup_attach{,_cpu}(9) work across architectures 2019-02-12 21:23:59 +00:00
conf Implement rangesets. 2019-02-20 09:38:19 +00:00
contrib libnv: fix revert 2019-02-17 18:32:19 +00:00
crypto Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
ddb ddb: Print the thread's pcb in 'show thread' 2019-02-09 21:08:19 +00:00
dev Remove the i915 and radeon drivers. 2019-02-19 19:37:02 +00:00
dts Adapt FreeBSD specific DT stub for Jetson TK1 board to be consistent with 2019-02-06 06:03:44 +00:00
fs PFS: Bump NAMELEN and don't require clients to be sleepable 2019-02-20 20:55:02 +00:00
gdb
geom Define a constant for the maximum number of GEOM_CTL arguments. 2019-02-20 17:07:08 +00:00
gnu Import DTS from Linux 4.20 2019-01-11 09:40:34 +00:00
i386 Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
isa
kern Unwire the kcov buffer when freeing the info struct. 2019-02-20 22:41:14 +00:00
kgssapi
libkern Add non-sleepable strdup variant strdup_flags 2019-02-20 20:48:10 +00:00
mips Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
modules Remove drm2 modules. 2019-02-19 19:36:56 +00:00
net iflib: Improve return values of interrupt handlers. 2019-02-15 18:51:43 +00:00
net80211 net80211(4): hide casts for 'i_seq' field offset calculation inside 2019-02-10 23:58:56 +00:00
netgraph Remove remnants of byte order manipulation, back when FreeBSD stack 2019-02-09 03:00:00 +00:00
netinet Reduce the TCP initial retransmission timeout from 3 seconds to 2019-02-20 18:03:43 +00:00
netinet6 When dropping a fragment queue count the number of fragments in the queue 2019-02-19 19:57:55 +00:00
netipsec Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
netpfil Remove `set' field from state structure and use set from parent rule. 2019-02-11 18:10:55 +00:00
netsmb Remove unused argument to priv_check_cred. 2018-12-11 19:32:16 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Mechanical cleanup of epoch(9) usage in network stack. 2019-01-09 01:11:19 +00:00
opencrypto Fix another issue from r344141, having to do with size of a shift amount. 2019-02-15 04:15:43 +00:00
powerpc Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
riscv Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
rpc Bump the default kern.rpc.gss.client_max from 128 to 1024. 2019-02-19 11:07:02 +00:00
security Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
sparc64 Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
sys Add non-sleepable strdup variant strdup_flags 2019-02-20 20:48:10 +00:00
teken Attempt to complete fixing programmable function keys for syscons. 2019-02-20 02:14:41 +00:00
tests Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
tools make_dtb.sh: Use $CPP instead of assuming that cpp is in $PATH 2018-12-14 23:53:28 +00:00
ufs This bug was introduced with the change to use softdep_bp_to_mp() in 2019-01-28 21:36:45 +00:00
vm Add kernel support for Intel userspace protection keys feature on 2019-02-20 09:51:13 +00:00
x86 Add usermode helpers for for Intel userspace protection keys feature. 2019-02-20 09:56:23 +00:00
xdr
xen xen: introduce a new way to setup event channel upcall 2019-01-30 11:34:52 +00:00
Makefile