CVS commit: src/sys/arch/i386/conf

2017-07-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 29 05:59:08 UTC 2017 Modified Files: src/sys/arch/i386/conf: XEN3_DOM0 XEN3_DOMU Log Message: Disable COMPAT_386BSD_MBRPART on Xen - not enabled in GENERIC. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115

CVS commit: src/sys/dev

2017-07-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jul 29 05:55:58 UTC 2017 Modified Files: src/sys/dev: audio.c Log Message: const-ify. To generate a diff of this commit: cvs rdiff -u -r1.376 -r1.377 src/sys/dev/audio.c Please note that diffs are not public domain; they

CVS commit: src/sys/netinet

2017-07-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 29 05:48:16 UTC 2017 Modified Files: src/sys/netinet: files.netinet Log Message: Remove TCP_COMPAT_42. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/sys/netinet/files.netinet Please note that diffs

CVS commit: src/share/man/man4

2017-07-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 29 05:46:29 UTC 2017 Modified Files: src/share/man/man4: options.4 Log Message: Remove TCP_COMPAT_42. To generate a diff of this commit: cvs rdiff -u -r1.467 -r1.468 src/share/man/man4/options.4 Please note that diffs

CVS commit: src/sys/netinet

2017-07-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Sat Jul 29 05:08:48 UTC 2017 Modified Files: src/sys/netinet: tcp_subr.c Log Message: Forgot to commit this file yesterday. To generate a diff of this commit: cvs rdiff -u -r1.270 -r1.271 src/sys/netinet/tcp_subr.c Please note

CVS commit: src/sys/compat/common

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 04:08:47 UTC 2017 Modified Files: src/sys/compat/common: if_43.c Log Message: Kill needless nested extern of vec_compat_cvtcmd/ioctl. Already declared in if_43.h. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 04:02:49 UTC 2017 Modified Files: src/sys/compat/common: vfs_syscalls_43.c src/sys/sys: vfs_syscalls.h Log Message: Declare mountcompatnames in sys/vfs_syscalls.h to kill nested extern. To generate a diff

CVS commit: src/sys/dev/sbus

2017-07-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Jul 29 03:32:00 UTC 2017 Modified Files: src/sys/dev/sbus: mgx.c Log Message: make comment match code... To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/sys/dev/sbus/mgx.c Please note that diffs are not

CVS commit: src/sys/dev/sbus

2017-07-28 Thread Michael Lorenz
Module Name:src Committed By: macallan Date: Sat Jul 29 03:29:49 UTC 2017 Modified Files: src/sys/dev/sbus: mgx.c mgxreg.h Log Message: - use hardware to draw bitmap fonts - while there enable font loading etc. To generate a diff of this commit: cvs rdiff -u -r1.9

CVS commit: src/sys/dev

2017-07-28 Thread Tetsuya Isaki
Module Name:src Committed By: isaki Date: Sat Jul 29 03:05:51 UTC 2017 Modified Files: src/sys/dev: audio.c audiovar.h Log Message: Improve audio_set_vchan_defaults(). - Correct confused input/output parameters. - Remove sc->{sc_channels, sc_precision, sc_frequency}.

CVS commit: src/sys/compat/linux/common

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 02:31:22 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_time.c Log Message: Put suser check in the right function: settimeofday, not gettimeofday. While here, remove wrong comment. Noted by kre@. To

CVS commit: src/sys/arch/newsmips/apbus

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 02:21:30 UTC 2017 Modified Files: src/sys/arch/newsmips/apbus: if_sn.c Log Message: Avoid memory leak in sonic_get. If this is the first time around, top is null and nothing else will free m. >From Ilja Van

CVS commit: src/sys/arch/mac68k/nubus

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 02:17:44 UTC 2017 Modified Files: src/sys/arch/mac68k/nubus: if_netdock_nubus.c Log Message: Avoid memory leak in netdock_get. If top is null, this is the first time through and nothing else will free m. >From

CVS commit: src/sys/dev/pci

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 01:54:56 UTC 2017 Modified Files: src/sys/dev/pci: if_ipw.c Log Message: Null out sbuf->m on failure to avoid double-free later. >From Ilja Van Sprundel. Also null out sbuf->map out of paranoia. To generate a

CVS commit: src/sys/dev/pci

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 01:47:48 UTC 2017 Modified Files: src/sys/dev/pci: if_et.c Log Message: Check for MCLGET failure in et_newbuf. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

CVS commit: src/sys/dev/ic

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 01:45:22 UTC 2017 Modified Files: src/sys/dev/ic: i82596.c Log Message: Null out sc_rx_mbuf[i] after m_freem to avoid double-free later. >From Ilja Van Sprundel. Also null out sc_tx_mbuf[i] after m_freem, out of

CVS commit: src/sys/dev/ic

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 01:34:49 UTC 2017 Modified Files: src/sys/dev/ic: dp83932.c Log Message: Plug mbuf leak on MCLGET failure in sonic_rxintr. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41

CVS commit: src/sys/dev/ic

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 01:31:20 UTC 2017 Modified Files: src/sys/dev/ic: dm9000.c Log Message: Check for MCLGET failure in dme_alloc_receive_buffer. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12

CVS commit: src/sys/dev/ic

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 01:19:29 UTC 2017 Modified Files: src/sys/dev/ic: bwi.c Log Message: Check for M_EXT in m->m_flags, whether m is NULL, after MCLGET. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.31

CVS commit: src/sys/compat/linux/common

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 01:14:59 UTC 2017 Modified Files: src/sys/compat/linux/common: linux_time.c Log Message: Only let the superuser set the compat_linux timezone. Not really keen to invent a new kauth cookie for this useless purpose.

CVS commit: src/sys/compat/ibcs2

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 01:14:00 UTC 2017 Modified Files: src/sys/compat/ibcs2: ibcs2_stat.c Log Message: Little happy on the commit trigger. Actually use the out label. To generate a diff of this commit: cvs rdiff -u -r1.49 -r1.50

CVS commit: src/sys/compat/ibcs2

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 29 01:05:54 UTC 2017 Modified Files: src/sys/compat/ibcs2: ibcs2_stat.c Log Message: Don't drop vnode ref until we're done with mount in ibcs2_stat(v)fs. Nothing else guarantees the mount will stick around. >From

CVS commit: src/doc

2017-07-28 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Jul 28 22:53:32 UTC 2017 Modified Files: src/doc: 3RDPARTY Log Message: expat-2.2.2 security fix release out. To generate a diff of this commit: cvs rdiff -u -r1.1459 -r1.1460 src/doc/3RDPARTY Please note that diffs are not

CVS commit: src/external/gpl3/gcc.old/dist/gcc/config/i386

2017-07-28 Thread Maya Rashish
Module Name:src Committed By: maya Date: Fri Jul 28 22:24:27 UTC 2017 Modified Files: src/external/gpl3/gcc.old/dist/gcc/config/i386: i386.c Log Message: Apply upstream patch: Incorrect codegen from rdseed intrinsic use (CVE-2017-11671) We should not expand call

CVS commit: src/external/gpl3/gcc/dist/gcc/config/i386

2017-07-28 Thread Maya Rashish
Module Name:src Committed By: maya Date: Fri Jul 28 22:23:05 UTC 2017 Modified Files: src/external/gpl3/gcc/dist/gcc/config/i386: i386.c Log Message: Apply upstream patch: Incorrect codegen from rdseed intrinsic use (CVE-2017-11671) We should not expand call arguments in

CVS commit: src/doc

2017-07-28 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Jul 28 19:31:59 UTC 2017 Modified Files: src/doc: 3RDPARTY Log Message: binutils-2.29 out. To generate a diff of this commit: cvs rdiff -u -r1.1458 -r1.1459 src/doc/3RDPARTY Please note that diffs are not public domain; they

CVS commit: src/sys/arch

2017-07-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 28 19:26:16 UTC 2017 Modified Files: src/sys/arch/acorn32/conf: EB7500ATX GENERIC INSTALL LOWMEM_WSCONS NC src/sys/arch/amd64/conf: ALL src/sys/arch/amiga/conf: DRACO GENERIC GENERIC.in

CVS commit: src/sys/netinet

2017-07-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 28 19:16:41 UTC 2017 Modified Files: src/sys/netinet: tcp_timer.c tcp_usrreq.c tcp_var.h Log Message: Remove TCP_COMPAT_42. This feature is a workaround for a bug in the TCP stack of BSD4.2. Having such features just does

CVS commit: src/sys/compat/ibcs2

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 17:57:48 UTC 2017 Modified Files: src/sys/compat/ibcs2: ibcs2_ioctl.c Log Message: Zero buffers in ibcs2 ioctl to avoid disclosing stack to userland. >From Ilja Van Sprundel. To generate a diff of this commit:

CVS commit: src/sys/compat/svr4

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 17:52:47 UTC 2017 Modified Files: src/sys/compat/svr4: svr4_stream.c Log Message: Check bounds in svr4_sys_putmsg. Check more svr4_strmcmd bounds. svr4 streams code is still a disaster. >From Ilja Van Sprundel.

CVS commit: src/sys/compat/svr4

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 17:43:46 UTC 2017 Modified Files: src/sys/compat/svr4: svr4_stream.c Log Message: Feebly attempt to get this reference counting less bad. This svr4 streams code is bad and it should feel bad. >From Ilja Van

CVS commit: src/sys/compat

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 17:38:36 UTC 2017 Modified Files: src/sys/compat/svr4: svr4_signal.c src/sys/compat/svr4_32: svr4_32_signal.c Log Message: Fix indexing of svr4 signals. >From Ilja Van Sprundel. To generate a diff of this

CVS commit: src/sys/opencrypto

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 17:14:04 UTC 2017 Modified Files: src/sys/opencrypto: ocryptodev.c Log Message: Avoid another userland-controlled integer overflow. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.10

CVS commit: src/sys/compat/svr4

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 16:57:12 UTC 2017 Modified Files: src/sys/compat/svr4: svr4_lwp.c Log Message: Zero stack data before copyout. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20

CVS commit: src/sys/compat/svr4

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 16:55:48 UTC 2017 Modified Files: src/sys/compat/svr4: svr4_stream.c Log Message: Fix some of the multitudinous holes in svr4 streams. We should never have enabled this by default; it is a minefield. >From Ilja

CVS commit: src/sys/dev

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 16:30:41 UTC 2017 Modified Files: src/sys/dev: vnd.c Log Message: Appease toxic bullshit warning from gcc. If you have a better way to write a useful bounds check that happens to always pass on LP64 but doesn't

CVS commit: src/sys/dev

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 16:22:01 UTC 2017 Modified Files: src/sys/dev: vnd.c Log Message: Fix indentation. u_intN_t -> uintN_t. ntohl -> be32toh. No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.260

CVS commit: src/sys/dev

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 16:19:20 UTC 2017 Modified Files: src/sys/dev: vnd.c Log Message: Put in a litany of judicious bounds checks around vnd headers. Thought I was done with this crap after I rewrote vndcompress(1)! >From Ilja Van

CVS commit: src/share/man/man4/man4.pmax

2017-07-28 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Jul 28 16:11:03 UTC 2017 Modified Files: src/share/man/man4/man4.pmax: intro.4 Log Message: New sentence, new line. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/share/man/man4/man4.pmax/intro.4 Please

CVS commit: src/sys/arch/amd64/conf

2017-07-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 28 16:10:29 UTC 2017 Modified Files: src/sys/arch/amd64/conf: GENERIC XEN3_DOM0 XEN3_DOMU Log Message: After a careful review, and all things considered, disable compat43 by default on amd64. The use case is limited, the

CVS commit: src/share/man/man4/man4.pmax

2017-07-28 Thread Felix Deichmann
Module Name:src Committed By: flxd Date: Fri Jul 28 15:58:24 UTC 2017 Modified Files: src/share/man/man4/man4.pmax: intro.4 sii.4 Log Message: * sii(4) was never used in VAXstation 3100 (uses si(4) and is NCR-based). * Reference scsi(4) in sii(4). * Add more machines to

CVS commit: src/sys/dev

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 15:52:53 UTC 2017 Modified Files: src/sys/dev: vndvar.h Log Message: Tweak whitespace to make this definition more greppable. To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/sys/dev/vndvar.h

CVS commit: src/sys/compat/ibcs2

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 15:51:35 UTC 2017 Modified Files: src/sys/compat/ibcs2: ibcs2_exec_coff.c Log Message: Make sure we move forward over the buffer. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.28

CVS commit: src/sys/compat/ibcs2

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 15:50:04 UTC 2017 Modified Files: src/sys/compat/ibcs2: ibcs2_exec_coff.c Log Message: Make sure we have enough space in the buffer before reading it. >From Ilja Van Sprundel. To generate a diff of this commit:

CVS commit: src/sys/compat/ibcs2

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 15:47:23 UTC 2017 Modified Files: src/sys/compat/ibcs2: ibcs2_exec_coff.c Log Message: Check for NUL termination within the buffer we have. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/arch/amd64/conf

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 15:40:38 UTC 2017 Modified Files: src/sys/arch/amd64/conf: ALL Log Message: Add some more bogus compat options to amd64/ALL for compile-testing. To generate a diff of this commit: cvs rdiff -u -r1.60 -r1.61

CVS commit: src/sys/kern

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 15:37:23 UTC 2017 Modified Files: src/sys/kern: vfs_getcwd.c Log Message: Don't walk off the end of the dirent buffer. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52

CVS commit: src/sys

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 15:34:07 UTC 2017 Modified Files: src/sys/compat/common: vfs_syscalls_12.c vfs_syscalls_43.c src/sys/compat/ibcs2: ibcs2_misc.c src/sys/compat/linux/common: linux_file64.c linux_misc.c

CVS commit: src/sys/kern

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 15:16:39 UTC 2017 Modified Files: src/sys/kern: kern_ktrace.c Log Message: Clamp the length we use, not the length we don't. Avoids uninitialized memory disclosure to userland. >From Ilja Van Sprundel. To

CVS commit: src/sys/dev/ic

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 15:02:52 UTC 2017 Modified Files: src/sys/dev/ic: isp_netbsd.c Log Message: Reject out-of-bounds channel index. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.88 -r1.89

CVS commit: src/sys/dev/ic

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:49:55 UTC 2017 Modified Files: src/sys/dev/ic: ciss.c Log Message: Reject negative indices from userland. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/dev/ic/ciss.c Please note that

CVS commit: src/sys/netsmb

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:45:59 UTC 2017 Modified Files: src/sys/netsmb: smb_dev.c Log Message: Reject negative offset/count for smb read/write. Not clear that this is actually a problem for the kernel -- might overwrite user's buffers

CVS commit: src/sys/netsmb

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:40:42 UTC 2017 Modified Files: src/sys/netsmb: smb_usr.c Log Message: Reject negative ioc_setupcnt. To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/netsmb/smb_usr.c Please note that diffs

CVS commit: src/sys/netsmb

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:37:27 UTC 2017 Modified Files: src/sys/netsmb: smb_subr.c smb_subr.h smb_usr.c Log Message: Plug another overflow: refuse bogus sa_len from user. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38

CVS commit: src/sys/arch/x86/pci

2017-07-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 28 14:26:51 UTC 2017 Modified Files: src/sys/arch/x86/pci: msipic.c pci_addr_fixup.c pci_intr_machdep.c pci_msi_machdep.c Log Message: Don't include malloc.h. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/netsmb

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:20:46 UTC 2017 Modified Files: src/sys/netsmb: smb_usr.c Log Message: Reject allocations for too-small buffers from userland. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.16

CVS commit: src/sys/opencrypto

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:16:29 UTC 2017 Modified Files: src/sys/opencrypto: ocryptodev.c Log Message: Avert userland-controlled integer overflow. >From Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

CVS commit: src/sys/opencrypto

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:13:56 UTC 2017 Modified Files: src/sys/opencrypto: ocryptodev.c Log Message: Don't disclose uninitialized 32-bit word if cryptodev_session fails. >From Ilja Van Sprundel. To generate a diff of this commit: cvs

CVS commit: src/sys/arch/i386/conf

2017-07-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 28 14:13:13 UTC 2017 Modified Files: src/sys/arch/i386/conf: GENERIC XEN3_DOM0 XEN3_DOMU Log Message: Disable svr4 and ibcs2 by default. These options are not well-tested, of a limited use case, and the potential for

CVS commit: src/sys/arch/x86/x86

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:13:11 UTC 2017 Modified Files: src/sys/arch/x86/x86: pmap.c Log Message: #if DIAGNOSTIC panic ---> KASSERTMSG To generate a diff of this commit: cvs rdiff -u -r1.255 -r1.256 src/sys/arch/x86/x86/pmap.c Please

CVS commit: src/sys/arch/x86/x86

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 14:12:26 UTC 2017 Modified Files: src/sys/arch/x86/x86: cpu.c Log Message: cpu_trace is no more, remove vestige of it that broke ALL kernel. To generate a diff of this commit: cvs rdiff -u -r1.131 -r1.132

CVS commit: src/sys/arch/i386/conf

2017-07-28 Thread Maxime Villard
Module Name:src Committed By: maxv Date: Fri Jul 28 13:59:07 UTC 2017 Modified Files: src/sys/arch/i386/conf: GENERIC Log Message: Disable vm86 by default. The use case is limited, and the potential for damage is too high. This code is fragile, and relies on a certain

CVS commit: src/sys/altq

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 13:58:47 UTC 2017 Modified Files: src/sys/altq: altq_wfq.c Log Message: Reject negative indices. (Would be nice to change the types too, and it's *probably* safe to replace int by u_int, but I'm reluctant to touch

CVS commit: src/sys/altq

2017-07-28 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Jul 28 13:53:17 UTC 2017 Modified Files: src/sys/altq: altq_cbq.c altq_hfsc.c altq_jobs.c altq_priq.c Log Message: Zero buffers copied to userland to avoid stack disclosure. >From Ilja Van Sprundel. To generate a diff

CVS commit: src/sys/dev/usb

2017-07-28 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Fri Jul 28 13:23:01 UTC 2017 Modified Files: src/sys/dev/usb: if_ural.c Log Message: Free the RX list if ural_alloc_rx_list fails part way through. Reported by Ilja Van Sprundel. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/kern

2017-07-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Fri Jul 28 12:28:48 UTC 2017 Modified Files: src/sys/kern: kern_malloc.c Log Message: Avoid integer overflow in kern_malloc(). Reported by Ilja Van Sprundel. XXX Time to kill malloc() completely! To generate a diff of this

CVS commit: src/sys/dev/pci

2017-07-28 Thread Kengo NAKAHARA
Module Name:src Committed By: knakahara Date: Fri Jul 28 10:34:58 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: add comment about confusing wm_rxeof() calling. pointed out by msaitoh@n.o. To generate a diff of this commit: cvs rdiff -u -r1.535 -r1.536

CVS commit: src/sys/dev/pci

2017-07-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 28 10:21:10 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Check some wm_nvm_read()'s return vale. To generate a diff of this commit: cvs rdiff -u -r1.534 -r1.535 src/sys/dev/pci/if_wm.c Please note

CVS commit: src/sys/dev/pci

2017-07-28 Thread SAITOH Masanobu
Module Name:src Committed By: msaitoh Date: Fri Jul 28 09:12:40 UTC 2017 Modified Files: src/sys/dev/pci: if_wm.c Log Message: Qemu's e1000e emulation (82574L)'s SPI has only 64 words. I've never seen on real 82574 hardware with such small SPI ROM. Check

CVS commit: src/sys/arch/xen/xen

2017-07-28 Thread Cherry G. Mathew
Module Name:src Committed By: cherry Date: Fri Jul 28 07:42:41 UTC 2017 Modified Files: src/sys/arch/xen/xen: pci_intr_machdep.c Log Message: APIC related macros are mixed with IOAPIC related ones. This needs separation. Until then, band-aid it. This fixes