freebsd-nq/sys
Konstantin Belousov 5ba4de79a7 Remove useless comparisions of assigned offset and resid with the
sources from uio.  Both uio_offset and offset, and uio_resid and resid
have the same types for some time.

Add check for buflen overflow by comparing the buflen with both offset
and resid (vs. comparing with offset only, as it is currently done).

Reported and tested by:	pho
Approved by:	des (pseudofs maintainer)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2013-11-13 08:55:09 +00:00
..
amd64 Move the ioapic device model from userspace into vmm.ko. This is needed for 2013-11-12 22:51:03 +00:00
arm Add support for Freescale Vybrid Family VF600 heterogeneous 2013-11-12 18:02:56 +00:00
boot Add support for Freescale Vybrid Family VF600 heterogeneous 2013-11-12 18:02:56 +00:00
bsm Change the cap_rights_t type from uint64_t to a structure that we can extend 2013-09-05 00:09:56 +00:00
cam Introduce seperate mutex lock to protect protect CTL I/O pools, slightly 2013-11-11 08:27:20 +00:00
cddl Use suword32 and suword64 instead of copyout(9). This fixes a bug in the 2013-11-05 06:13:46 +00:00
compat Fix build. 2013-11-05 19:17:19 +00:00
conf Following the approach with ACPI DMAR on x86, split IOMMU handling into 2013-11-12 16:15:09 +00:00
contrib Remove 'inline' from ar9300_init_pll(), it's too big to inline. 2013-11-08 16:28:00 +00:00
crypto make it so that from/to can be missaligned as it can happen (the geli 2013-11-06 19:14:49 +00:00
ddb
dev Correctly initialise the 2-chain antenna mask in the link quality table. 2013-11-13 07:09:00 +00:00
fs Remove useless comparisions of assigned offset and resid with the 2013-11-13 08:55:09 +00:00
gdb rename scheduler->swapper and SI_SUB_RUN_SCHEDULER->SI_SUB_LAST 2013-07-24 09:45:31 +00:00
geom Add missing line breaks. 2013-11-11 11:13:12 +00:00
gnu/fs/reiserfs
i386 Disable building the ctl module for the i386 XEN kernel configuration 2013-11-11 21:16:55 +00:00
ia64 Don't enable interrupts before we call sched_throw(). Interrupts 2013-11-10 04:22:40 +00:00
isa
kern Add VM_LAST, a special last element in enum VM_GUEST and use it in CTASSERT 2013-11-12 20:13:10 +00:00
kgssapi Add support for host-based (Kerberos 5 service principal) initiator 2013-07-09 01:05:28 +00:00
libkern Fix ixp425 boot2 with ARM EABI: 2013-09-29 15:19:34 +00:00
mips As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other 2013-11-08 16:25:00 +00:00
modules Move the ioapic device model from userspace into vmm.ko. This is needed for 2013-11-12 22:51:03 +00:00
net Remove never used ioctls that originate from KAME. The proof 2013-11-11 05:39:42 +00:00
net80211 Fix AMRR to correctly select the initial rate. 2013-11-09 07:30:13 +00:00
netatalk The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
netgraph Eliminate duplicated & dead code. 2013-11-08 22:40:33 +00:00
netinet Remove never used ioctls that originate from KAME. The proof 2013-11-11 05:39:42 +00:00
netinet6 Fix panic with RADIX_MPATH, when RTFREE_LOCKED() called for already 2013-11-11 12:49:00 +00:00
netipsec Initialize prot variable. 2013-11-11 13:19:55 +00:00
netipx The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
netnatm Provide includes that are needed in these files, and before were read 2013-10-26 18:18:50 +00:00
netpfil Fix fallout from r257223. Since pf_test_state_icmp() can call 2013-11-05 16:54:25 +00:00
netsmb Catch up with sb_timeo type change in r255138. This fixes 2013-11-08 08:44:09 +00:00
nfs The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
nfsclient The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
nfsserver The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
nlm Intermittent crashes in the NLM (rpc.lockd) code during system 2013-09-06 23:14:31 +00:00
ofed Do not use a sleep lock when protecting the driver flags. 2013-11-08 18:28:48 +00:00
opencrypto Make sendfile() a method in the struct fileops. Currently only 2013-08-15 07:54:31 +00:00
pc98 MFi386: r254619 2013-08-22 16:39:59 +00:00
pci Add preliminary support for RTL8168EP. 2013-10-29 05:37:05 +00:00
powerpc Fix typo. 2013-11-13 01:51:40 +00:00
rpc It was reported via email that the cu_sent field used by the 2013-09-06 02:34:34 +00:00
security The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
sparc64 As of r257209, all architectures have defined VM_KMEM_SIZE_SCALE. In other 2013-11-08 16:25:00 +00:00
sys Add VM_LAST, a special last element in enum VM_GUEST and use it in CTASSERT 2013-11-12 20:13:10 +00:00
teken
tools
ufs UFS2: make di_extsize unsigned. 2013-10-24 00:33:29 +00:00
vm Avoid overflow for the page counts. 2013-11-12 08:47:58 +00:00
x86 Fix gcc warning about an uninitialized bool in sys/x86/iommu/intel_drv.c. 2013-11-09 22:05:29 +00:00
xdr
xen Remove redundant redeclaration of gdtset in sys/xen/xen-os.h, to silence 2013-10-18 17:06:13 +00:00
Makefile