svn commit: r316070 - stable/10/lib/libkvm

2017-03-27 Thread Ngie Cooper
Author: ngie Date: Tue Mar 28 05:57:20 2017 New Revision: 316070 URL: https://svnweb.freebsd.org/changeset/base/316070 Log: MFC r315647: Handle kd == NULL gracefully with kvm_close(3) Don't segfault in kvm_close(3) if provided a NULL pointer. Instead, return -1 and set errno to

svn commit: r316069 - in stable/10: contrib/ntp contrib/ntp/adjtimed contrib/ntp/clockstuff contrib/ntp/html contrib/ntp/include contrib/ntp/include/isc contrib/ntp/kernel contrib/ntp/kernel/sys co...

2017-03-27 Thread Xin LI
Author: delphij Date: Tue Mar 28 04:48:55 2017 New Revision: 316069 URL: https://svnweb.freebsd.org/changeset/base/316069 Log: MFC r315871: MFV r315791: ntp 4.2.8p10. Added: stable/10/contrib/ntp/sntp/harden/ - copied from r315871, head/contrib/ntp/sntp/harden/

svn commit: r316047 - stable/10/lib/libcam

2017-03-27 Thread Ngie Cooper
Author: ngie Date: Mon Mar 27 18:29:30 2017 New Revision: 316047 URL: https://svnweb.freebsd.org/changeset/base/316047 Log: MFC r315639: libcam: NULL out freed `ccb.cdm.matches` and `ccb.cdm.patterns` pointers This is being done to avoid potential double frees with the values.

svn commit: r316046 - stable/10/tools/build/mk

2017-03-27 Thread Ngie Cooper
Author: ngie Date: Mon Mar 27 18:28:17 2017 New Revision: 316046 URL: https://svnweb.freebsd.org/changeset/base/316046 Log: MFC r314245: Fill MK_LIBTHR as far as lib/libthr is concerned There are other areas of the tree that will need to be evaluated for sanity if they're supposed

svn commit: r316044 - stable/10/contrib/bsnmp/lib

2017-03-27 Thread Ngie Cooper
Author: ngie Date: Mon Mar 27 18:26:22 2017 New Revision: 316044 URL: https://svnweb.freebsd.org/changeset/base/316044 Log: MFC r315641,r315642: r315641: bsnmp: don't leak snmp_client.fd in open_client_udp(..) on connect(2) failure r315642: bsnmp: explicitly test the return

svn commit: r316042 - stable/10/sbin/route

2017-03-27 Thread Ngie Cooper
Author: ngie Date: Mon Mar 27 18:24:27 2017 New Revision: 316042 URL: https://svnweb.freebsd.org/changeset/base/316042 Log: MFC r315690: Delete trailing whitespace (no functional change) Modified: stable/10/sbin/route/route.c Directory Properties: stable/10/ (props changed)

svn commit: r316040 - stable/10/lib/libkvm

2017-03-27 Thread Ngie Cooper
Author: ngie Date: Mon Mar 27 18:23:45 2017 New Revision: 316040 URL: https://svnweb.freebsd.org/changeset/base/316040 Log: MFC r315595,r315603: r315595: Remove a commented out line before kvm_getprocs(3) The commented out return value for kvm_getprocs(3) was misleading -- the

svn commit: r316016 - stable/10/sys/dev/isp

2017-03-27 Thread Alexander Motin
Author: mav Date: Mon Mar 27 08:29:46 2017 New Revision: 316016 URL: https://svnweb.freebsd.org/changeset/base/316016 Log: MFC 315229: Remove remnant of r315163. Modified: stable/10/sys/dev/isp/isp_freebsd.c Directory Properties: stable/10/ (props changed) Modified: