svn commit: r310624 - head/sys/net80211

2016-12-26 Thread Adrian Chadd
Author: adrian Date: Tue Dec 27 06:10:28 2016 New Revision: 310624 URL: https://svnweb.freebsd.org/changeset/base/310624 Log: [net80211] turn the default TX key configuration (for WEP) into a vap callback. The ath10k firmware supports hardware WEP offload, and in native wifi mode (or 802

svn commit: r310623 - in head: contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar lib/libarchive/tests

2016-12-26 Thread Martin Matuska
Author: mm Date: Tue Dec 27 01:10:28 2016 New Revision: 310623 URL: https://svnweb.freebsd.org/changeset/base/310623 Log: MFV r310622: Sync libarchive with vendor. Vendor bugfixes (relevant to FreeBSD): PR 846: Spelling fixes PR 850: Fix issues with reading certain jar files OSS-

svn commit: r310622 - in vendor/libarchive/dist: . cpio/test libarchive libarchive/test tar

2016-12-26 Thread Martin Matuska
Author: mm Date: Tue Dec 27 00:51:53 2016 New Revision: 310622 URL: https://svnweb.freebsd.org/changeset/base/310622 Log: Update vendor/libarchive to git to 42a3408ac7df1e69bea9ea12b72e14f59f7400c0 Vendor bugfixes: PR 844: Coverity bug fixes in tests PR 846: Spelling fixes PR 850:

svn commit: r310621 - in head/sys: conf dev/ichiic modules/i2c/controllers/ichiic

2016-12-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Dec 26 22:13:43 2016 New Revision: 310621 URL: https://svnweb.freebsd.org/changeset/base/310621 Log: [ig4] Add ACPI platform support for ig4 driver Add ACPI part for ig4 driver to make it work on Intel BayTrail SoC where ig4 device is available only through ACPI

svn commit: r310617 - in head/sys: kern sys

2016-12-26 Thread Konstantin Belousov
Author: kib Date: Mon Dec 26 19:33:40 2016 New Revision: 310617 URL: https://svnweb.freebsd.org/changeset/base/310617 Log: Make knote KN_INFLUX state counted. This is final fix for the issue closed by r310302 for knote(). If KN_INFLUX | KN_SCAN flags are set for the note passed to knote(

svn commit: r310616 - head/sys/vm

2016-12-26 Thread Konstantin Belousov
Author: kib Date: Mon Dec 26 19:29:04 2016 New Revision: 310616 URL: https://svnweb.freebsd.org/changeset/base/310616 Log: Remove redundancy in vmtotal(). There are two instances of inlined unlocks + continue in vmtotal() switch statements, which are ordinary expressed with break from the

svn commit: r310615 - head/sys/kern

2016-12-26 Thread Konstantin Belousov
Author: kib Date: Mon Dec 26 19:28:10 2016 New Revision: 310615 URL: https://svnweb.freebsd.org/changeset/base/310615 Log: Change knlist_destroy() to assert that knlist is empty instead of accepting the wrong state and printing warning. Do not obliterate kl_lock and kl_unlock pointers, they

svn commit: r310613 - head/sys/kern

2016-12-26 Thread Konstantin Belousov
Author: kib Date: Mon Dec 26 19:26:40 2016 New Revision: 310613 URL: https://svnweb.freebsd.org/changeset/base/310613 Log: Style. Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after:1 week X-Differential revision: https://reviews.freebsd.org/D8898 Modified:

svn commit: r310614 - head/usr.sbin/jail

2016-12-26 Thread Xin LI
Author: delphij Date: Mon Dec 26 19:27:12 2016 New Revision: 310614 URL: https://svnweb.freebsd.org/changeset/base/310614 Log: Don't assign rtjp twice. Reported by: clang static analyzer MFC after:2 weeks Modified: head/usr.sbin/jail/jail.c Modified: head/usr.sbin/jail/jail.c ===

svn commit: r310612 - head/sys/dev/evdev

2016-12-26 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Dec 26 17:48:13 2016 New Revision: 310612 URL: https://svnweb.freebsd.org/changeset/base/310612 Log: [evdev] Fix build for older versions of clang There was report of stable/11 build failure on older versions of FreeBSD. The problem was a reference to static variab

svn commit: r310611 - head/usr.sbin/pstat

2016-12-26 Thread Xin LI
Author: delphij Date: Mon Dec 26 17:34:27 2016 New Revision: 310611 URL: https://svnweb.freebsd.org/changeset/base/310611 Log: - pstat(8) does not accept any arguments other than getopt() args, so don't bother to adjust argc/argv after getopt() loop. - Make a string pointer constant.

svn commit: r310610 - stable/10/tests/sys/kern

2016-12-26 Thread Jilles Tjoelker
Author: jilles Date: Mon Dec 26 17:26:25 2016 New Revision: 310610 URL: https://svnweb.freebsd.org/changeset/base/310610 Log: MFC r309957: Add tests for reaper receiving SIGCHLD (r309886). PR: 213928 Modified: stable/10/tests/sys/kern/reaper.c Directory Properties: stable/10/

svn commit: r310609 - head/libexec/talkd

2016-12-26 Thread Xin LI
Author: delphij Date: Mon Dec 26 17:23:09 2016 New Revision: 310609 URL: https://svnweb.freebsd.org/changeset/base/310609 Log: Don't use high precision clock for expiration as only second portion is used. MFC after:2 weeks Modified: head/libexec/talkd/table.c Modified: head/libexe

svn commit: r310608 - head/libexec/talkd

2016-12-26 Thread Xin LI
Author: delphij Date: Mon Dec 26 17:10:41 2016 New Revision: 310608 URL: https://svnweb.freebsd.org/changeset/base/310608 Log: Avoid use after free. Reported by: Clang static code analyzer MFC after:2 weeks Modified: head/libexec/talkd/table.c Modified: head/libexec/talkd/table.c

svn commit: r310607 - stable/9/bin/pax

2016-12-26 Thread Pedro F. Giffuni
Author: pfg Date: Mon Dec 26 16:45:00 2016 New Revision: 310607 URL: https://svnweb.freebsd.org/changeset/base/310607 Log: MFC r310367: pax(1): Fix a bug with archives smaller than 512 bytes. The problem here is that the archive is too short (< 512 bytes). The buffer routines, try

svn commit: r310606 - stable/10/bin/pax

2016-12-26 Thread Pedro F. Giffuni
Author: pfg Date: Mon Dec 26 16:43:39 2016 New Revision: 310606 URL: https://svnweb.freebsd.org/changeset/base/310606 Log: MFC r310367: pax(1): Fix a bug with archives smaller than 512 bytes. The problem here is that the archive is too short (< 512 bytes). The buffer routines, try

svn commit: r310605 - stable/11/bin/pax

2016-12-26 Thread Pedro F. Giffuni
Author: pfg Date: Mon Dec 26 16:42:38 2016 New Revision: 310605 URL: https://svnweb.freebsd.org/changeset/base/310605 Log: MFC r310367: pax(1): Fix a bug with archives smaller than 512 bytes. The problem here is that the archive is too short (< 512 bytes). The buffer routines, try

svn commit: r310604 - stable/11/bin/ed

2016-12-26 Thread Pedro F. Giffuni
Author: pfg Date: Mon Dec 26 16:27:01 2016 New Revision: 310604 URL: https://svnweb.freebsd.org/changeset/base/310604 Log: MFC r309873: ed(1): Prevent possible overflows during allocation. Make sure the parameters used for malloc(3) can hold size_t sizes. This should help ed(1) handle b

svn commit: r310601 - stable/11/tests/sys/kern

2016-12-26 Thread Jilles Tjoelker
Author: jilles Date: Mon Dec 26 14:39:05 2016 New Revision: 310601 URL: https://svnweb.freebsd.org/changeset/base/310601 Log: MFC r309957: Add tests for reaper receiving SIGCHLD (r309886). PR: 213928 Modified: stable/11/tests/sys/kern/reaper.c Directory Properties: stable/11/

svn commit: r310600 - in head/sys/arm: conf nvidia/drm2 nvidia/tegra124

2016-12-26 Thread Michal Meloun
Author: mmel Date: Mon Dec 26 14:36:05 2016 New Revision: 310600 URL: https://svnweb.freebsd.org/changeset/base/310600 Log: Implement drivers for NVIDIA tegra124 display controller, HDMI source and host1x module. Unfortunately, tegra124 SoC doesn't have 2D acceleration engine and 3D requires

svn commit: r310599 - in head/sys: conf dev/drm2

2016-12-26 Thread Michal Meloun
Author: mmel Date: Mon Dec 26 14:28:23 2016 New Revision: 310599 URL: https://svnweb.freebsd.org/changeset/base/310599 Log: Import drm_patform.c, an implementation of non-PCI based attachment for graphics drivers. It will be used in upcoming driver for Nvidia Tegra boards. MFC after: 1

Re: svn commit: r293829 - head/sys/net

2016-12-26 Thread Renato Botelho
Alexander, Looks like this change introduced a bug. It was reported at pfSense and a ticket was opened at bugzilla: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215122 > On 13 Jan 2016, at 12:32, Alexander V. Chernikov wrote: > > Author: melifaro > Date: Wed Jan 13 14:32:48 2016 > New Re

svn commit: r310593 - head/sys/dev/drm2

2016-12-26 Thread Michal Meloun
Author: mmel Date: Mon Dec 26 11:20:40 2016 New Revision: 310593 URL: https://svnweb.freebsd.org/changeset/base/310593 Log: Fix late monitor hotplug event. If system starts without attached monitor, DRM create framebuffer for VT console. Later, when monitor is attached, the hotplug event mus

svn commit: r310592 - head/contrib/bsnmp/snmpd

2016-12-26 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 11:16:55 2016 New Revision: 310592 URL: https://svnweb.freebsd.org/changeset/base/310592 Log: style(9): fix trailing whitespace MFC after:3 days Modified: head/contrib/bsnmp/snmpd/trap.c Modified: head/contrib/bsnmp/snmpd/trap.c

svn commit: r310591 - head/contrib/bsnmp/snmpd

2016-12-26 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 11:11:30 2016 New Revision: 310591 URL: https://svnweb.freebsd.org/changeset/base/310591 Log: Update engine time using update_snmpd_engine_time(..) MFC after:6 days X-MFC with: r310498 Sponsored by: Dell EMC Isilon Modified: head/contrib/bsnmp/snmp

svn commit: r310590 - in head/sys: netinet netinet6

2016-12-26 Thread Michael Tuexen
Author: tuexen Date: Mon Dec 26 11:06:41 2016 New Revision: 310590 URL: https://svnweb.freebsd.org/changeset/base/310590 Log: Whitespace changes. The toolchain for processing the sources has been updated. No functional change. MFC after:3 days Modified: head/sys/netinet/sctp_a

svn commit: r310589 - head/sys/compat/linuxkpi/common/include/linux

2016-12-26 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 26 10:41:51 2016 New Revision: 310589 URL: https://svnweb.freebsd.org/changeset/base/310589 Log: Implement more list header file functions. Add definition guard for the list_head structure. Obtained from:kmacy @ MFC after:1 week Sponsored by:

svn commit: r310588 - head/contrib/bsnmp/snmpd

2016-12-26 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 10:24:48 2016 New Revision: 310588 URL: https://svnweb.freebsd.org/changeset/base/310588 Log: Fix return type for `ret` (recv callback) and sort variables by alignment Again, for reasons I don't yet understand, this is not being flagged by the compiler. Unlik

svn commit: r310587 - head/contrib/bsnmp/snmpd

2016-12-26 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 10:21:28 2016 New Revision: 310587 URL: https://svnweb.freebsd.org/changeset/base/310587 Log: Fix definition for recv_dgram(..); it should be "ssize_t", not "int" I'm not sure why this wasn't flagged as an issue by the compiler, yet MFC after:3 weeks

svn commit: r310586 - head/contrib/bsnmp/snmpd

2016-12-26 Thread Ngie Cooper
Author: ngie Date: Mon Dec 26 10:17:22 2016 New Revision: 310586 URL: https://svnweb.freebsd.org/changeset/base/310586 Log: Refactor transport sources a bit to facilitate changes coming down pipeline Add recv callback to transport layer to better facilitate code reuse and readability and

svn commit: r310585 - stable/10/sys/kern

2016-12-26 Thread Konstantin Belousov
Author: kib Date: Mon Dec 26 10:16:05 2016 New Revision: 310585 URL: https://svnweb.freebsd.org/changeset/base/310585 Log: MFC r309886: When a zombie gets reparented due to the parent exit, send SIGCHLD to the reaper. Modified: stable/10/sys/kern/kern_exit.c Directory Properties: stable

svn commit: r310584 - stable/10/sys/kern

2016-12-26 Thread Konstantin Belousov
Author: kib Date: Mon Dec 26 10:13:53 2016 New Revision: 310584 URL: https://svnweb.freebsd.org/changeset/base/310584 Log: MFC r310302: Do not clear KN_INFLUX when not owning influx state. PR: 214923 Modified: stable/10/sys/kern/kern_event.c Directory Properties: stable/10/ (prop

Re: svn commit: r310559 - in head/sys/compat/linuxkpi/common: include/linux src

2016-12-26 Thread Hans Petter Selasky
Hi, Looks like this build error slipped under my -DNO_CLEAN flag. Sorry . Fixed in r310583 . --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr..

svn commit: r310583 - head/sys/compat/linuxkpi/common/include/linux

2016-12-26 Thread Hans Petter Selasky
Author: hselasky Date: Mon Dec 26 10:03:33 2016 New Revision: 310583 URL: https://svnweb.freebsd.org/changeset/base/310583 Log: Fix LINT build. Found by: mmel @ MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/common/include/linux/fs.h

svn commit: r310581 - stable/11/sys/kern

2016-12-26 Thread Konstantin Belousov
Author: kib Date: Mon Dec 26 10:01:52 2016 New Revision: 310581 URL: https://svnweb.freebsd.org/changeset/base/310581 Log: MFC r309886: When a zombie gets reparented due to the parent exit, send SIGCHLD to the reaper. Modified: stable/11/sys/kern/kern_exit.c Directory Properties: stable

svn commit: r310580 - stable/11/sys/kern

2016-12-26 Thread Konstantin Belousov
Author: kib Date: Mon Dec 26 09:56:52 2016 New Revision: 310580 URL: https://svnweb.freebsd.org/changeset/base/310580 Log: MFC r309887: Enable lookup_cap_dotdot and lookup_cap_dotdot_nonlocal. Modified: stable/11/sys/kern/vfs_lookup.c Directory Properties: stable/11/ (props changed) Mo

svn commit: r310578 - stable/11/sys/kern

2016-12-26 Thread Konstantin Belousov
Author: kib Date: Mon Dec 26 09:52:19 2016 New Revision: 310578 URL: https://svnweb.freebsd.org/changeset/base/310578 Log: MFC r310302: Do not clear KN_INFLUX when not owning influx state. PR: 214923 Modified: stable/11/sys/kern/kern_event.c Directory Properties: stable/11/ (prop

Re: svn commit: r310559 - in head/sys/compat/linuxkpi/common: include/linux src

2016-12-26 Thread Hans Petter Selasky
On 12/26/16 10:38, Michal Meloun wrote: On 26.12.2016 2:18, Hans Petter Selasky wrote: Author: hselasky Date: Mon Dec 26 01:18:07 2016 New Revision: 310559 URL: https://svnweb.freebsd.org/changeset/base/310559 Log: Implement register and unregister chrdev in the LinuxKPI. Obtained from:

Re: svn commit: r310559 - in head/sys/compat/linuxkpi/common: include/linux src

2016-12-26 Thread Michal Meloun
On 26.12.2016 2:18, Hans Petter Selasky wrote: > Author: hselasky > Date: Mon Dec 26 01:18:07 2016 > New Revision: 310559 > URL: https://svnweb.freebsd.org/changeset/base/310559 > > Log: > Implement register and unregister chrdev in the LinuxKPI. > > Obtained from: kmacy @ > MFC af

svn commit: r310575 - head/sys/cam/ctl

2016-12-26 Thread Alexander Motin
Author: mav Date: Mon Dec 26 08:47:35 2016 New Revision: 310575 URL: https://svnweb.freebsd.org/changeset/base/310575 Log: Fix improperly used nexus.targ_lun. MFC after:2 weeks Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c