freebsd-dev/sys
Pawel Jakub Dawidek 46e3447026 Enable BIO_DELETE passthru in GELI, so TRIM/UNMAP can work as expected when
GELI is used on a SSD or inside virtual machine, so that guest can tell
host that it is no longer using some of the storage.

Enabling BIO_DELETE passthru comes with a small security consequence - an
attacker can tell how much space is being really used on encrypted device and
has less data no analyse then. This is why the -T option can be given to the
init subcommand to turn off this behaviour and -t/T options for the configure
subcommand can be used to adjust this setting later.

PR:		198863
Submitted by:	Matthew D. Fuller fullermd at over-yonder dot net

This commit also includes a fix from Fabian Keil freebsd-listen at
fabiankeil.de for 'configure' on onetime providers which is not strictly
related, but is entangled in the same code, so would cause conflicts if
separated out.
2015-08-08 09:51:38 +00:00
..
amd64 Remove some more vestiges of the Xen PV domu support. Specifically, 2015-08-06 17:07:21 +00:00
arm Rationalize BSD license on sys/*/include/float.h 2015-08-05 17:05:35 +00:00
arm64 Fill in dump_avail based on the physical memory from EFI. 2015-08-06 14:49:23 +00:00
boot Remove guards around overwriting loader.rc and menu.rc 2015-08-06 16:07:27 +00:00
bsm
cam Add more ifdefs to fix build with GCC after r286406. 2015-08-07 14:12:51 +00:00
cddl Remove a couple of unused fields from the FBT probe struct. 2015-08-03 17:39:36 +00:00
compat Add file_open(): the underlying system call of openat(). 2015-08-06 06:47:28 +00:00
conf cxgbe(4): Update T5 and T4 firmwares bundled with the driver to 1.14.4.0. The 2015-08-05 19:45:11 +00:00
contrib Import OpenBSD's iwm WiFi driver for Intel 3160/7260/7265. 2015-08-08 06:06:48 +00:00
crypto const'ify an arg that we don't update... 2015-07-29 23:37:15 +00:00
ddb Various changes to the registers displayed in DDB for x86. 2015-07-22 01:09:02 +00:00
dev Import OpenBSD's iwm WiFi driver for Intel 3160/7260/7265. 2015-08-08 06:06:48 +00:00
fs The changes that introduced fo_mmap() treated all character device 2015-08-06 16:50:37 +00:00
gdb
geom Enable BIO_DELETE passthru in GELI, so TRIM/UNMAP can work as expected when 2015-08-08 09:51:38 +00:00
gnu
i386 Remove unused i386 header privatespace.h. For the native kernel, its 2015-08-07 05:59:58 +00:00
isa
kern Only process the PPS event types currently enabled in pps_params.mode. 2015-08-07 23:31:31 +00:00
kgssapi
libkern Remove checks for __ARM_EABI__, we only build for EABI now. 2015-07-09 21:02:40 +00:00
mips Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
modules iwmfw: fix the path to the firmware file. 2015-08-08 06:08:20 +00:00
net Remove the mtx_sleep() from the kqueue f_event filter. 2015-08-03 22:14:45 +00:00
net80211 Revert the wifi ifnet changes until things are more baked and tested. 2015-08-08 01:10:17 +00:00
netgraph * Address review (and add a bit myself). 2015-07-12 18:14:38 +00:00
netinet Fix a kernel assertion issue introduced with r286227: 2015-08-08 08:40:36 +00:00
netinet6 Decompose TCP INP_INFO lock to increase short-lived TCP connections scalability: 2015-08-03 12:13: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 Reduce overhead of ipfw's me6 opcode. 2015-07-29 10:53:42 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed ipv4_is_zeronet() and ipv4_is_loopback() expect an address in network 2015-08-07 18:30:11 +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 Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
rpc Remove useless acquire semantic from the atomic_add operation before 2015-07-28 06:58:10 +00:00
security fd: make 'rights' a manadatory argument to fget* functions 2015-07-05 19:05:16 +00:00
sparc64 Rationalize BSD license on sys/*/include/in_cksum.h 2015-08-05 19:05:12 +00:00
sys Allow the creation of kqueues with a restricted set of Capsicum rights. 2015-08-05 07:36:50 +00:00
teken
tools
ufs - Make 'struct buf *buf' private to vfs_bio.c. Having a global variable 2015-07-29 02:26:57 +00:00
vm Introduce a sysctl for reporting the number of fully populated reservations. 2015-08-06 21:27:50 +00:00
x86 Formally pair store_rel(&smp_started) with load_acq(&smp_started). 2015-08-06 18:02:54 +00:00
xdr
xen Add support for Xen blkif indirect segment I/Os. This makes it possible for 2015-07-30 03:50:01 +00:00
Makefile