freebsd-dev/sys
Konstantin Belousov 10d9120c44 Change the vm_ooffset_t type to unsigned.
The type represents byte offset in the vm_object_t data space, which
does not span negative offsets in FreeBSD VM.  The change matches byte
offset signess with the unsignedness of the vm_pindex_t which
represents the type of the page indexes in the objects.

This allows to remove the UOFF_TO_IDX() macro which was used when we
have to forcibly interpret the type as unsigned anyway.  Also it fixes
a lot of implicit bugs in the device drivers d_mmap methods.

Reviewed by:	alc, markj (previous version)
Tested by:	pho
MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
2018-12-02 13:16:46 +00:00
..
amd64 amd64: align target memmove buffer to 16 bytes before using rep movs 2018-12-01 14:20:32 +00:00
arm Return computed real memory size, not a value from similarly named 2018-12-02 07:39:16 +00:00
arm64 Add Silergy SYR827 PMIC driver 2018-12-01 20:31:49 +00:00
bsm
cam NVME trim clocking 2018-11-27 00:36:35 +00:00
cddl Ensure that directory entry padding bytes are zeroed. 2018-11-23 22:24:59 +00:00
compat Add helper functions to copy strings into struct image_args. 2018-11-29 21:00:56 +00:00
conf Add Silergy SYR827 PMIC driver 2018-12-01 20:31:49 +00:00
contrib Restore build of the kernel, removed through r341377 2018-12-01 21:28:05 +00:00
crypto rijndael (AES): Avoid leaking sensitive data on kernel stack 2018-10-26 20:53:01 +00:00
ddb ddb: Enable 'thread <address>' 2018-10-20 20:45:49 +00:00
dev Change the vm_ooffset_t type to unsigned. 2018-12-02 13:16:46 +00:00
dts arm64: allwinner: Add 792Mhz frequency to sun50i-a64-opp 2018-11-30 10:31:30 +00:00
fs Ensure the dirent remains initialized when dirent.d_fileno is unset. 2018-11-23 23:07:49 +00:00
gdb
geom Add a “skip_dsn” option to g_part's bootcode verb to prevent g_part_mbr 2018-11-27 14:58:19 +00:00
gnu Update our devicetree to 4.19 for arm and arm64 2018-11-10 21:02:32 +00:00
i386 Correct the tunable name in the message. 2018-12-01 16:43:18 +00:00
isa Reapply, with minor tweaks, r338025, from the original commit: 2018-09-26 17:12:14 +00:00
kern Correct accuracy of the barrier writes accounting. 2018-12-02 12:53:39 +00:00
kgssapi OpenCrypto: Convert sessions to opaque handles instead of integers 2018-07-18 00:56:25 +00:00
libkern mcount: tidy up ANSIfication 2018-10-20 22:39:35 +00:00
mips Add CAPABILITIES to the ERL kernel config so that tools that have been 2018-11-28 13:25:10 +00:00
modules sfxge(4): add generated description of sensors 2018-11-30 05:54:30 +00:00
net Adapt the fix in r341008 to correctly work with EBR. 2018-11-30 10:36:14 +00:00
net80211 Fix misspellings of transmitter/transmitted 2018-08-10 20:37:32 +00:00
netgraph ng_source(4): correction after the change r340617 2018-11-27 04:05:38 +00:00
netinet Limit option_len for the TCP_CCALGOOPT. 2018-11-30 10:50:07 +00:00
netinet6 Plug some networking sysctl leaks. 2018-11-22 20:49:41 +00:00
netipsec Add sadb_x_sa2 extension to SADB_ACQUIRE requests. 2018-10-21 14:19:16 +00:00
netpfil pf: Fix panic on overlapping interface names 2018-12-01 09:58:21 +00:00
netsmb Make timespecadd(3) and friends public 2018-07-30 15:46:40 +00:00
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 Plug some networking sysctl leaks. 2018-11-22 20:49:41 +00:00
opencrypto Add sha224 to the authctx union. 2018-10-23 18:07:37 +00:00
powerpc pmcr: Fix pstate setting on Power8 2018-12-01 21:37:47 +00:00
riscv Fix reporting of SS_ONSTACK 2018-11-30 22:44:33 +00:00
rpc Set SO_SNDTIMEO in the client side krpc when CLSET_TIMEOUT is done. 2018-07-20 12:03:16 +00:00
security audit: predict AUDITING_TD as false 2018-11-29 09:19:48 +00:00
sparc64 Given that the idea of D15374 was to "make memmove a first class citizen", 2018-11-20 00:08:33 +00:00
sys Change the vm_ooffset_t type to unsigned. 2018-12-02 13:16:46 +00:00
teken Implement ECMA-48 "REP", some Linuxen have started emitting them recently. 2018-10-21 08:29:36 +00:00
tests epoch_test: fix compile 2018-07-15 00:31:17 +00:00
tools Use ${ECHO} in dtb/dtbo build, pass in from dtb.mk for -s 2018-11-09 18:56:40 +00:00
ufs Move the check for the filesystem having been run on a kernel that 2018-11-26 00:58:07 +00:00
vm Change the vm_ooffset_t type to unsigned. 2018-12-02 13:16:46 +00:00
x86 Add definitions for Intel Speed Shift 2018-11-21 00:21:58 +00:00
xdr
xen xen: legacy PVH fixes for the new interrupt count 2018-09-13 07:14:11 +00:00
Makefile