freebsd-dev/sys
Ed Schouten 9a71fa376b Don't truncate cursor arithmetic to 16 bits.
When updating the row number when the cursor position escape sequence is
issued, we should make sure to store the intermediate result in a 32-bit
integer. If we fail to do this, the cursor may be set above the origin
region, which is bad.

This could cause libteken to crash when INVARIANTS is enabled, due to
the strict set of assertions that libteken has.

PR:		202540
Reported by:	kcwu csie org
MFC after:	1 month
2015-08-21 06:30:13 +00:00
..
amd64 Add a kern.features.cloudabi64 entry when the module is loaded to helps the 2015-08-19 15:18:32 +00:00
arm Remove code left over from the armv4 days. On armv4, cache maintenance 2015-08-20 19:39:15 +00:00
arm64 Add the kernel support for minidumps on arm64. 2015-08-20 12:49:56 +00:00
boot The flags -mno-aes -mno-avx only exist for clang, not gcc, so 2015-08-20 18:31:05 +00:00
bsm
cam Revamp camcontrol(8) fwdownload support and add the opcodes subcommand. 2015-08-20 16:07:51 +00:00
cddl Restore part of r274628, reverted at r286776. 2015-08-20 07:41:33 +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 const'ify an arg that we don't update... 2015-07-29 23:37:15 +00:00
ddb Make kstack_pages a tunable on arm, x86, and powepc. On i386, the 2015-08-10 17:18:21 +00:00
dev Further conversions from ifp->if_softc -> ic_softc. 2015-08-20 05:13:54 +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 If process becomes reaper (procctl(PROC_REAP_ACQUIRE)) while already 2015-08-20 22:44:26 +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 * Split allocation and table linking for lle's. 2015-08-20 12:05:17 +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 * Split allocation and table linking for lle's. 2015-08-20 12:05:17 +00:00
netinet6 * Split allocation and table linking for lle's. 2015-08-20 12:05:17 +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 Add initial boot support for e500mc and e5500. 2015-08-21 02:41:35 +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 Don't truncate cursor arithmetic to 16 bits. 2015-08-21 06:30:13 +00:00
tools
ufs - Make 'struct buf *buf' private to vfs_bio.c. Having a global variable 2015-07-29 02:26:57 +00:00
vm Prevent ticks rollover from preventing vm_lowmem event 2015-08-20 20:28:51 +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