svn commit: r343301 - head/sys/modules/vmware/vmxnet3

2019-01-21 Thread Patrick Kelsey
Author: pkelsey Date: Tue Jan 22 04:36:19 2019 New Revision: 343301 URL: https://svnweb.freebsd.org/changeset/base/343301 Log: Add missing dependency to vmxnet3 Makefile and clean it up a bit otherwise. MFC after:1 week Modified: head/sys/modules/vmware/vmxnet3/Makefile Modified: he

svn commit: r343300 - stable/11/sys/dev/oce

2019-01-21 Thread Xin LI
Author: delphij Date: Tue Jan 22 04:20:52 2019 New Revision: 343300 URL: https://svnweb.freebsd.org/changeset/base/343300 Log: MFC r342856: Added support for the SIOCGI2C ioctl. Submitted by: Ram Kishore Vegesna Obtained from:Broadcom Modified: stable/11/sys/dev/oce/oce_if.c

svn commit: r343299 - stable/12/sys/dev/oce

2019-01-21 Thread Xin LI
Author: delphij Date: Tue Jan 22 04:20:00 2019 New Revision: 343299 URL: https://svnweb.freebsd.org/changeset/base/343299 Log: MFC r342856: Added support for the SIOCGI2C ioctl. Submitted by: Ram Kishore Vegesna Obtained from:Broadcom Modified: stable/12/sys/dev/oce/oce_if.c

svn commit: r343298 - head/sys/compat/ndis

2019-01-21 Thread Oleksandr Tymoshenko
Author: gonzo Date: Tue Jan 22 03:53:42 2019 New Revision: 343298 URL: https://svnweb.freebsd.org/changeset/base/343298 Log: [ndis] Fix unregistered use of FPU by NDIS in kernel on amd64 amd64 miniport drivers are allowed to use FPU which triggers "Unregistered use of FPU in kernel" panic

svn commit: r343297 - head/tests/sys/netpfil/pf/ioctl

2019-01-21 Thread Kristof Provost
Author: kp Date: Tue Jan 22 02:56:36 2019 New Revision: 343297 URL: https://svnweb.freebsd.org/changeset/base/343297 Log: pf tests: Check size validation in DIOCGETSRCNODES Ensure that invalid sizes for DIOCGETSRCNODES do not cause panics. MFC after: 1 week Modified: head/tests/

svn commit: r343296 - head/sbin/pfctl

2019-01-21 Thread Patrick Kelsey
Author: pkelsey Date: Tue Jan 22 02:53:59 2019 New Revision: 343296 URL: https://svnweb.freebsd.org/changeset/base/343296 Log: Remove unused function gsc_destroy() gsc_destroy() is no longer needed as of r343287. MFC after:1 week Modified: head/sbin/pfctl/pfctl_altq.c Modified:

svn commit: r343294 - stable/11/sys/compat/linux

2019-01-21 Thread Mark Johnston
Author: markj Date: Tue Jan 22 02:04:37 2019 New Revision: 343294 URL: https://svnweb.freebsd.org/changeset/base/343294 Log: MFC r342864: Specify the correct option level when emulating SO_PEERCRED. PR: 234722 Modified: stable/11/sys/compat/linux/linux_socket.c Directory Properties:

svn commit: r343295 - head/sys/netpfil/pf

2019-01-21 Thread Kristof Provost
Author: kp Date: Tue Jan 22 02:13:33 2019 New Revision: 343295 URL: https://svnweb.freebsd.org/changeset/base/343295 Log: pf: Validate psn_len in DIOCGETSRCNODES psn_len is controlled by user space, but we allocated memory based on it. Check how much memory we might need at most (i.e. how

svn commit: r343293 - stable/12/sys/compat/linux

2019-01-21 Thread Mark Johnston
Author: markj Date: Tue Jan 22 02:02:12 2019 New Revision: 343293 URL: https://svnweb.freebsd.org/changeset/base/343293 Log: MFC r342864: Specify the correct option level when emulating SO_PEERCRED. PR: 234722 Modified: stable/12/sys/compat/linux/linux_socket.c Directory Properties:

svn commit: r343292 - head/sys/dev/iwn

2019-01-21 Thread Andriy Voskoboinyk
Author: avos Date: Tue Jan 22 01:44:47 2019 New Revision: 343292 URL: https://svnweb.freebsd.org/changeset/base/343292 Log: iwn(4): drop i_seq field initialization for A-MPDU frames. It is done by net80211 since r319460. MFC after:24 days X-MFC-With: 343094 Modified: head/sy

svn commit: r343291 - in head/sys: dev/vmware/vmxnet3 net

2019-01-21 Thread Patrick Kelsey
Author: pkelsey Date: Tue Jan 22 01:11:17 2019 New Revision: 343291 URL: https://svnweb.freebsd.org/changeset/base/343291 Log: onvert vmx(4) to being an iflib driver. Also, expose IFLIB_MAX_RX_SEGS to iflib drivers and add iflib_dma_alloc_align() to the iflib API. Performance is gene

svn commit: r343290 - stable/11/sys/netpfil/pf

2019-01-21 Thread Kristof Provost
Author: kp Date: Tue Jan 22 01:07:20 2019 New Revision: 343290 URL: https://svnweb.freebsd.org/changeset/base/343290 Log: MFC r343041 pf: silence a runtime warning Sometimes, for negated tables, pf can log 'pfr_update_stats: assertion failed'. This warning does not clarify anything

svn commit: r343289 - stable/12/sys/netpfil/pf

2019-01-21 Thread Kristof Provost
Author: kp Date: Tue Jan 22 01:07:18 2019 New Revision: 343289 URL: https://svnweb.freebsd.org/changeset/base/343289 Log: MFC r343041 pf: silence a runtime warning Sometimes, for negated tables, pf can log 'pfr_update_stats: assertion failed'. This warning does not clarify anything

svn commit: r343288 - head/sys/net

2019-01-21 Thread Patrick Kelsey
Author: pkelsey Date: Tue Jan 22 00:56:44 2019 New Revision: 343288 URL: https://svnweb.freebsd.org/changeset/base/343288 Log: Fix various resource leaks that can occur in the error paths of iflib_device_register() and iflib_pseudo_register(). Reviewed by: shurd MFC after:1 week

svn commit: r343287 - head/sbin/pfctl

2019-01-21 Thread Patrick Kelsey
Author: pkelsey Date: Tue Jan 22 00:50:24 2019 New Revision: 343287 URL: https://svnweb.freebsd.org/changeset/base/343287 Log: Reduce pf.conf parsing cost for configs that define N queues from O(N^2) to O(N) The number of syscalls made during parsing of any config that defines tables is

svn commit: r343286 - head/sys/fs/nfsserver

2019-01-21 Thread Mark Johnston
Author: markj Date: Mon Jan 21 23:54:33 2019 New Revision: 343286 URL: https://svnweb.freebsd.org/changeset/base/343286 Log: nfs: Zero the buffers exported by NFSSVC_DUMPCLIENTS and DUMPLOCKS. Note that these interfaces are available only to root. admbugs: 765 Reported by: Vlad

svn commit: r343284 - head/lib/libcapsicum

2019-01-21 Thread Mark Johnston
Author: markj Date: Mon Jan 21 20:56:29 2019 New Revision: 343284 URL: https://svnweb.freebsd.org/changeset/base/343284 Log: List caph_limit_stream() in the synopsis. Fix typos while here. MFC after:1 week Sponsored by: The FreeBSD Foundation Modified: head/lib/libcapsicum/cap

Re: svn commit: r343269 - head/sys/dev/cxgbe

2019-01-21 Thread Andrew Gallatin
On 1/21/19 1:42 PM, Navdeep Parhar wrote: Log: cxgbe(4): Allow negative values in hw.cxgbe.fw_install and take them to Thank you! Drew ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe,

svn commit: r343283 - svnadmin/conf

2019-01-21 Thread Simon J. Gerraty
Author: sjg Date: Mon Jan 21 20:25:08 2019 New Revision: 343283 URL: https://svnweb.freebsd.org/changeset/base/343283 Log: Done with initial BearSSL import Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf ==

svn commit: r343282 - vendor/bearssl/6433cc2

2019-01-21 Thread Simon J. Gerraty
Author: sjg Date: Mon Jan 21 20:24:00 2019 New Revision: 343282 URL: https://svnweb.freebsd.org/changeset/base/343282 Log: tag bearssl-6433cc2 Added: vendor/bearssl/6433cc2/ - copied from r343281, vendor/bearssl/dist/ ___ svn-src-all@freebsd.or

svn commit: r343279 - svnadmin/conf

2019-01-21 Thread Simon J. Gerraty
Author: sjg Date: Mon Jan 21 20:23:03 2019 New Revision: 343279 URL: https://svnweb.freebsd.org/changeset/base/343279 Log: For initial BearSSL import Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r343281 - in vendor/bearssl/dist: . T0 build conf inc mk samples src src/aead src/codec src/ec src/hash src/int src/kdf src/mac src/rand src/rsa src/ssl src/symcipher src/x509 test test...

2019-01-21 Thread Simon J. Gerraty
Author: sjg Date: Mon Jan 21 20:23:49 2019 New Revision: 343281 URL: https://svnweb.freebsd.org/changeset/base/343281 Log: Import bearssl-6433cc2 Added: vendor/bearssl/dist/ vendor/bearssl/dist/Doxyfile vendor/bearssl/dist/LICENSE.txt (contents, props changed) vendor/bearssl/dist/Make

svn commit: r343277 - vendor/bearssl

2019-01-21 Thread Simon J. Gerraty
Author: sjg Date: Mon Jan 21 20:01:42 2019 New Revision: 343277 URL: https://svnweb.freebsd.org/changeset/base/343277 Log: bearssl for importing BearSSL BearSSL is a tiny SSL lib for embedded systems. Reviewed by: emaste Added: vendor/bearssl/ vendor/bearssl/import.sh (contents

svn commit: r343275 - in head/sys/riscv: include riscv

2019-01-21 Thread Mark Johnston
Author: markj Date: Mon Jan 21 19:38:53 2019 New Revision: 343275 URL: https://svnweb.freebsd.org/changeset/base/343275 Log: Optimize RISC-V copyin(9)/copyout(9) routines. The existing copyin(9) and copyout(9) routines on RISC-V perform only a simple byte-by-byte copy. Improve their perf

svn commit: r343274 - head/sys/riscv/riscv

2019-01-21 Thread Mark Johnston
Author: markj Date: Mon Jan 21 19:37:12 2019 New Revision: 343274 URL: https://svnweb.freebsd.org/changeset/base/343274 Log: Deduplicate common code in copyin()/copyout() with a macro. No functional change intended. Submitted by: Mitchell Horne MFC after:1 week Differential Re

svn commit: r343273 - stable/11/sys/netinet

2019-01-21 Thread Brooks Davis
Author: brooks Date: Mon Jan 21 19:33:05 2019 New Revision: 343273 URL: https://svnweb.freebsd.org/changeset/base/343273 Log: MFC r343162: Make SIFTR work again after r342125 (D18443). Correct a logic error. Only disable when already enabled or enable when disabled. Submitted

svn commit: r343272 - stable/12/sys/netinet

2019-01-21 Thread Brooks Davis
Author: brooks Date: Mon Jan 21 19:22:02 2019 New Revision: 343272 URL: https://svnweb.freebsd.org/changeset/base/343272 Log: MFC r343162: Make SIFTR work again after r342125 (D18443). Correct a logic error. Only disable when already enabled or enable when disabled. Submitted

svn commit: r343271 - head/usr.sbin/freebsd-update

2019-01-21 Thread Ed Maste
Author: emaste Date: Mon Jan 21 19:21:11 2019 New Revision: 343271 URL: https://svnweb.freebsd.org/changeset/base/343271 Log: freebsd-update: Allow upgrade from pre-release builds Update r343122 to include -ALPHA, -BETA and -RC releases as upgrade-able via freebsd-update. PR:

svn commit: r343270 - head/usr.sbin/freebsd-update

2019-01-21 Thread Ed Maste
Author: emaste Date: Mon Jan 21 19:04:37 2019 New Revision: 343270 URL: https://svnweb.freebsd.org/changeset/base/343270 Log: freebsd-update: Update /etc/passwd after password db changes Add -p to pwd_mkdb in order to ensure password db changes are also included in /etc/passwd. PR:

Re: svn commit: r343262 - head/sys/amd64/linux

2019-01-21 Thread Cy Schubert
On January 21, 2019 8:25:41 AM PST, Ed Maste wrote: >Author: emaste >Date: Mon Jan 21 16:25:40 2019 >New Revision: 343262 >URL: https://svnweb.freebsd.org/changeset/base/343262 > >Log: > linuxulator: fix stack memory disclosure in linux_sigaltstack > > admbugs: 765 > Reported by: Vlad Tsy

svn commit: r343268 - head/usr.sbin/freebsd-update

2019-01-21 Thread Ed Maste
Author: emaste Date: Mon Jan 21 18:41:57 2019 New Revision: 343268 URL: https://svnweb.freebsd.org/changeset/base/343268 Log: frebsd-update: fix --currently-running after r343122 PR: 234771 Submitted by: Gerald Aryeetey Reported by: Brandon Schneider MFC with: r343122

svn commit: r343269 - head/sys/dev/cxgbe

2019-01-21 Thread Navdeep Parhar
Author: np Date: Mon Jan 21 18:42:16 2019 New Revision: 343269 URL: https://svnweb.freebsd.org/changeset/base/343269 Log: cxgbe(4): Allow negative values in hw.cxgbe.fw_install and take them to mean that the driver should taste the firmware in the KLD and use that firmware's version for all

svn commit: r343267 - stable/11/usr.sbin/freebsd-update

2019-01-21 Thread Ed Maste
Author: emaste Date: Mon Jan 21 18:35:39 2019 New Revision: 343267 URL: https://svnweb.freebsd.org/changeset/base/343267 Log: MFC r343153: freebsd-update.8: mandoc -Tlint fixes PR: 185389 Modified: stable/11/usr.sbin/freebsd-update/freebsd-update.8 Directory Properties: s

svn commit: r343266 - stable/12/usr.sbin/freebsd-update

2019-01-21 Thread Ed Maste
Author: emaste Date: Mon Jan 21 18:34:33 2019 New Revision: 343266 URL: https://svnweb.freebsd.org/changeset/base/343266 Log: MFC r343153: freebsd-update.8: mandoc -Tlint fixes PR: 185389 Modified: stable/12/usr.sbin/freebsd-update/freebsd-update.8 Directory Properties: stabl

svn commit: r343265 - head/sys/dev/hwpmc

2019-01-21 Thread Mark Johnston
Author: markj Date: Mon Jan 21 18:07:02 2019 New Revision: 343265 URL: https://svnweb.freebsd.org/changeset/base/343265 Log: hwpmc: Plug memory disclosures from PMC_OP_{GETPMCINFO,GETCPUINFO}. admbugs: 765 Reported by: Vlad Tsyrklevich MFC after:1 day Security: Kernel m

svn commit: r343264 - head/sys/dev/cxgbe

2019-01-21 Thread Navdeep Parhar
Author: np Date: Mon Jan 21 17:58:06 2019 New Revision: 343264 URL: https://svnweb.freebsd.org/changeset/base/343264 Log: cxgbe(4): Use a truncated firmware header for version checks. All the version numbers are towards the begining of the header. MFC after:1 week Sponsored by: Che

Re: svn commit: r343263 - head/sys/compat/linux

2019-01-21 Thread Ed Maste
On Mon, 21 Jan 2019 at 12:12, Ed Maste wrote: > > Author: emaste > Date: Mon Jan 21 17:12:16 2019 > New Revision: 343263 > URL: https://svnweb.freebsd.org/changeset/base/343263 > > Log: > linuxulator: fix stack memory disclosure in linux_sigaltstack > > Most siginfo_to_lsiginfo callers already

svn commit: r343263 - head/sys/compat/linux

2019-01-21 Thread Ed Maste
Author: emaste Date: Mon Jan 21 17:12:16 2019 New Revision: 343263 URL: https://svnweb.freebsd.org/changeset/base/343263 Log: linuxulator: fix stack memory disclosure in linux_sigaltstack Most siginfo_to_lsiginfo callers already zeroed the l_siginfo_t before callit it, but linux_waitid di

svn commit: r343262 - head/sys/amd64/linux

2019-01-21 Thread Ed Maste
Author: emaste Date: Mon Jan 21 16:25:40 2019 New Revision: 343262 URL: https://svnweb.freebsd.org/changeset/base/343262 Log: linuxulator: fix stack memory disclosure in linux_sigaltstack admbugs: 765 Reported by: Vlad Tsyrklevich Reviewed by: andrew MFC after:1 day Secu

svn commit: r343261 - head/sys/compat/linux

2019-01-21 Thread Ed Maste
Author: emaste Date: Mon Jan 21 16:21:03 2019 New Revision: 343261 URL: https://svnweb.freebsd.org/changeset/base/343261 Log: linuxulator: fix stack memory disclosure in linux_ioctl_termio admbugs: 765 Reported by: Vlad Tsyrklevich Reviewed by: andrew MFC after:1 day Sec

svn commit: r343260 - head/sys/compat/linux

2019-01-21 Thread Ed Maste
Author: emaste Date: Mon Jan 21 16:19:02 2019 New Revision: 343260 URL: https://svnweb.freebsd.org/changeset/base/343260 Log: linuxulator: fix stack memory disclosure in linux_ioctl_v4l admbugs: 765 Reported by: Vlad Tsyrklevich Reviewed by: andrew MFC after:1 day Securi

svn commit: r343259 - head/usr.bin/units

2019-01-21 Thread Glen Barber
Author: gjb Date: Mon Jan 21 15:27:58 2019 New Revision: 343259 URL: https://svnweb.freebsd.org/changeset/base/343259 Log: Correct a typo: was -> way. Submitted by: Larry Hynes MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/units/units.1 Modified: h

svn commit: r343258 - stable/10/lib/msun/src

2019-01-21 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 21 14:55:10 2019 New Revision: 343258 URL: https://svnweb.freebsd.org/changeset/base/343258 Log: MFC r343023: msun: reduce diff between src/e_j0.c and src/e_j0f.c PR: 229501 Modified: stable/10/lib/msun/src/e_j0.c stable/10/lib/msun/src/e_j0f.c Directory P

svn commit: r343257 - stable/11/lib/msun/src

2019-01-21 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 21 14:54:01 2019 New Revision: 343257 URL: https://svnweb.freebsd.org/changeset/base/343257 Log: MFC r343023: msun: reduce diff between src/e_j0.c and src/e_j0f.c PR: 229501 Modified: stable/11/lib/msun/src/e_j0.c stable/11/lib/msun/src/e_j0f.c Directory P

svn commit: r343256 - stable/12/lib/msun/src

2019-01-21 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 21 14:52:48 2019 New Revision: 343256 URL: https://svnweb.freebsd.org/changeset/base/343256 Log: MFC r343023: msun: reduce diff between src/e_j0.c and src/e_j0f.c PR: 229501 Modified: stable/12/lib/msun/src/e_j0.c stable/12/lib/msun/src/e_j0f.c Directory P

svn commit: r343255 - head/sys/arm/allwinner

2019-01-21 Thread Kyle Evans
Author: kevans Date: Mon Jan 21 14:35:36 2019 New Revision: 343255 URL: https://svnweb.freebsd.org/changeset/base/343255 Log: awg: fix soft reset failure with no link U-Boot will leave the ephy reset de-asserted and the MAC soft reset will fail on these boards with internal PHY and no lin

svn commit: r343254 - stable/12/sys/kern

2019-01-21 Thread Jason A. Harmening
Author: jah Date: Mon Jan 21 08:24:49 2019 New Revision: 343254 URL: https://svnweb.freebsd.org/changeset/base/343254 Log: MFC r343005: Handle SIGIO for listening sockets r319722 separated struct socket and parts of the socket I/O path into listening-socket-specific and dataflow-socket-sp