HardenedBSD/sys
Konstantin Belousov fe5ec54b50 fget_unlocked() depends on the freed struct file f_count field being
zero.  The file_zone if no-free, but r284861 added trashing of the
freed memory.  Most visible manifestation of the issue were 'memory
modified after free' panics for the file zone, triggered from
falloc_noinstall().

Add UMA_ZONE_ZINIT flag to turn off trashing.  Mjg noted that it makes
sense to not trash freed memory for any non-free zone, which will be
done later.

Reported and tested by:	pho
Discussed with:	mjg
Sponsored by:	The FreeBSD Foundation
2015-08-19 11:53:32 +00:00
..
amd64 Add 24 more page table pages we allocate on boot-up. 16MB slop 2015-08-18 01:53:41 +00:00
arm Some cleanups to make the style of pmap_quick_enter_page() and pmap_quick_remove_page() in arm/pmap-v6-new.c more consistent with the rest of the file. 2015-08-17 18:28:40 +00:00
arm64 Remove redundant mp_naps from ARM64 secondary CPU start-up code 2015-08-19 11:45:45 +00:00
boot Make dtb file configurable via loader(8) variable. ubldr already checks 2015-08-15 21:47:07 +00:00
bsm
cam Polish sizes processing. 2015-08-15 18:22:16 +00:00
cddl Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
compat Don't forget to invoke pre_execve() and post_execve(). 2015-08-17 13:07:12 +00:00
conf Allow building a kernel with baked in ig4, isl and cyapa drivers. 2015-08-19 09:49:29 +00:00
contrib Add support for the arrays in nvlist library. 2015-08-15 06:34:49 +00:00
crypto
ddb Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
dev Allow building a kernel with baked in ig4, isl and cyapa drivers. 2015-08-19 09:49:29 +00:00
fs For the case where an NFSv4.1 ExchangeID operation has the client identifier 2015-08-14 22:02:14 +00:00
gdb
geom Clean out some externally visible "more then" grammar 2015-08-11 03:12:09 +00:00
gnu Using consistent coding style to deal with error inside the loop. 2015-08-18 13:16:23 +00:00
i386 Better support memory mapped console devices, such as VGA and EFI 2015-08-12 15:26:32 +00:00
isa
kern fget_unlocked() depends on the freed struct file f_count field being 2015-08-19 11:53:32 +00:00
kgssapi
libkern
mips Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
modules Add required foo_if.h files to SRCS to fix build errors. 2015-08-19 02:37:30 +00:00
net Make LAG LACP fast timeout tunable through IOCTL. 2015-08-12 20:21:04 +00:00
net80211 Revert the wifi ifnet changes until things are more baked and tested. 2015-08-08 01:10:17 +00:00
netgraph
netinet Make clear that TIME_WAIT timeout expiration is managed solely by 2015-08-18 08:27:26 +00:00
netinet6 Use single 'lle_timer' callout in lltable instead of 2015-08-11 12:38:54 +00:00
netipsec Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
netnatm
netpfil Fix the copy of addresses passed from userland in table replace command. 2015-08-17 23:03:54 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed Reinstate unify_tcp_port_space and associated code that was lost during 2015-08-12 22:09:58 +00:00
opencrypto Make IPsec work with AES-GCM and AES-ICM (aka CTR) in OCF... IPsec 2015-08-04 17:47:11 +00:00
pc98 Remove unused i386 header privatespace.h. For the native kernel, its 2015-08-07 05:59:58 +00:00
powerpc Fix copy&paste. 2015-08-19 06:08:11 +00:00
rpc Set curvnet context inside the RPC code in more places. 2015-08-18 18:12:46 +00:00
security
sparc64 Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
sys Bump __FreeBSD_version for the jemalloc 4.0.0 import. 2015-08-18 08:29:13 +00:00
teken Pick UINT_MAX / 100 as an upperbound. 2015-08-16 13:59:11 +00:00
tools
ufs
vm As another piece of PG_CACHE page elimination, remove an LRU-defeating call 2015-08-16 17:07:53 +00:00
x86 Use pmap_quick_enter_page() to handle bouncing of unmapped buffers in the x86 busdma_bounce implementation. Also treat user buffers as unmapped. 2015-08-14 20:08:16 +00:00
xdr
xen Remove another remnant of PV domU support and assume that we always run 2015-08-14 18:38:39 +00:00
Makefile