svn commit: r325887 - in head/sys/cddl: compat/opensolaris/kern contrib/opensolaris/uts/intel/dtrace

2017-11-15 Thread Mark Johnston
Author: markj Date: Thu Nov 16 07:25:12 2017 New Revision: 325887 URL: https://svnweb.freebsd.org/changeset/base/325887 Log: Avoid holding the process in uread() and uwrite(). In general, higher-level code will atomically verify that the process is not exiting and hold the process. In one

Re: svn commit: r325765 - head/lib/libc/string

2017-11-15 Thread Bruce Evans
On Wed, 15 Nov 2017, Mark Millard wrote: Bruce Evans brde at optusnet.com.au wrote on Tue Nov 14 12:41:50 UTC 2017 : - memcpy.3. It was already documented in the BUGS section that memcpy() is implemented as bcopy() and therefore the "strings" "may overlap" [then portability consideratio

svn commit: r325886 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2017-11-15 Thread Mark Johnston
Author: markj Date: Thu Nov 16 07:14:29 2017 New Revision: 325886 URL: https://svnweb.freebsd.org/changeset/base/325886 Log: Take r313504 into account when recomputing the string table length. When we encounter a USDT probe in a weak symbol, we emit an alias for the probe function symbol.

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread John Baldwin
On Wednesday, November 15, 2017 10:17:27 PM Warner Losh wrote: > On Wed, Nov 15, 2017 at 6:46 PM, Ed Maste wrote: > > > On 15 November 2017 at 19:36, Warner Losh wrote: > > > > > > On Wed, Nov 15, 2017 at 5:05 PM, Ed Maste wrote: > > >> > > >> On 15 November 2017 at 13:47, Rodney W. Grimes > >

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Warner Losh
On Wed, Nov 15, 2017 at 10:17 PM, Warner Losh wrote: > > > On Wed, Nov 15, 2017 at 6:46 PM, Ed Maste wrote: > >> On 15 November 2017 at 19:36, Warner Losh wrote: >> > >> > On Wed, Nov 15, 2017 at 5:05 PM, Ed Maste wrote: >> >> >> >> On 15 November 2017 at 13:47, Rodney W. Grimes >> >> wrote:

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Warner Losh
On Wed, Nov 15, 2017 at 6:46 PM, Ed Maste wrote: > On 15 November 2017 at 19:36, Warner Losh wrote: > > > > On Wed, Nov 15, 2017 at 5:05 PM, Ed Maste wrote: > >> > >> On 15 November 2017 at 13:47, Rodney W. Grimes > >> wrote: > >> >> Author: emaste > >> >> Date: Wed Nov 15 18:40:40 2017 > >> >

Re: svn commit: r316980 - head/contrib/zstd/programs

2017-11-15 Thread Conrad Meyer
Please revert this change. First, it introduces the POLA-violating behavior that zstdcat deletes its source files. This is not how zcat/bzcat behaves. Second, it introduces a needless behavioral difference between FreeBSD zstd and the rest of the world's zstd. The zstd documentation we ship con

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

2017-11-15 Thread Navdeep Parhar
Author: np Date: Thu Nov 16 02:42:37 2017 New Revision: 325884 URL: https://svnweb.freebsd.org/changeset/base/325884 Log: cxgbe(4): Remove rsrv_noflowq from intrs_and_queues structure as it does not influence or get affected by the number of interrupts or queues. Sponsored by: Chelsio Com

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Ed Maste
On 15 November 2017 at 19:36, Warner Losh wrote: > > On Wed, Nov 15, 2017 at 5:05 PM, Ed Maste wrote: >> >> On 15 November 2017 at 13:47, Rodney W. Grimes >> wrote: >> >> Author: emaste >> >> Date: Wed Nov 15 18:40:40 2017 >> >> New Revision: 325860 >> >> URL: https://svnweb.freebsd.org/changese

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

2017-11-15 Thread Navdeep Parhar
Author: np Date: Thu Nov 16 01:33:53 2017 New Revision: 325883 URL: https://svnweb.freebsd.org/changeset/base/325883 Log: cxgbe(4): Sanitize t4_num_vis during MOD_LOAD like all other t4_* tunables. Add num_vis to the intrs_and_queues structure as it affects the number of interrupts requeste

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Warner Losh
On Wed, Nov 15, 2017 at 2:28 PM, Conrad Meyer wrote: > On Wed, Nov 15, 2017 at 1:23 PM, Warner Losh wrote: > > On Nov 15, 2017 2:13 PM, "Rodney W. Grimes" net> > > wrote: > > Oh, and can you please get a mail client that does > > proper quoting? > > > > > > It's just gmail. And there's really n

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Warner Losh
On Wed, Nov 15, 2017 at 5:05 PM, Ed Maste wrote: > On 15 November 2017 at 13:47, Rodney W. Grimes > wrote: > >> Author: emaste > >> Date: Wed Nov 15 18:40:40 2017 > >> New Revision: 325860 > >> URL: https://svnweb.freebsd.org/changeset/base/325860 > >> > >> Log: > >> newfs: warn if newer than

svn commit: r325882 - head/share/man/man7

2017-11-15 Thread Warner Losh
Author: imp Date: Thu Nov 16 00:19:44 2017 New Revision: 325882 URL: https://svnweb.freebsd.org/changeset/base/325882 Log: Use better wording: change there to the and define to defines. Also fix a run-a-way macro invocation of Dv. Noticed by: matteo@ Modified: head/share/man/man7/arch.

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Ed Maste
On 15 November 2017 at 13:47, Rodney W. Grimes wrote: >> Author: emaste >> Date: Wed Nov 15 18:40:40 2017 >> New Revision: 325860 >> URL: https://svnweb.freebsd.org/changeset/base/325860 >> >> Log: >> newfs: warn if newer than kernel >> >> Creating a UFS filesystem with a newfs newer than the

Re: svn commit: r325765 - head/lib/libc/string

2017-11-15 Thread Mark Millard
Bruce Evans brde at optusnet.com.au wrote on Tue Nov 14 12:41:50 UTC 2017 : > - memcpy.3. It was already documented in the BUGS section that memcpy() is >implemented as bcopy() and therefore the "strings" "may overlap" [then >portability considerations due to this]. This is buggier than

svn commit: r325881 - head/share/man/man7

2017-11-15 Thread Warner Losh
Author: imp Date: Wed Nov 15 23:51:17 2017 New Revision: 325881 URL: https://svnweb.freebsd.org/changeset/base/325881 Log: Fix some formatting issues, bump .Dd to today's date, don't use contractions, and make igor almost happy with this (two issues are false positives, and I'm not sure a sy

svn commit: r325880 - in head: share/man/man4 sys/dev/cxgbe

2017-11-15 Thread Navdeep Parhar
Author: np Date: Wed Nov 15 23:48:02 2017 New Revision: 325880 URL: https://svnweb.freebsd.org/changeset/base/325880 Log: cxgbe(4): Combine all _10g and _1g tunables and drop the suffix from their names. The finer-grained knobs weren't practically useful. Sponsored by: Chelsio Communica

svn commit: r325872 - head/sys/netipsec

2017-11-15 Thread Conrad Meyer
Author: cem Date: Wed Nov 15 22:42:20 2017 New Revision: 325872 URL: https://svnweb.freebsd.org/changeset/base/325872 Log: ipsec: Use the same keysize values for HMAC as prior to r324017 The HMAC construction natively permits any key size between 0 and the input block length. Before r3240

svn commit: r325865 - in head/sys: compat/freebsd32 kern

2017-11-15 Thread Gordon Tetlow
Author: gordon Date: Wed Nov 15 22:30:21 2017 New Revision: 325865 URL: https://svnweb.freebsd.org/changeset/base/325865 Log: Properly bzero kldstat structure to prevent kernel information leak. Submitted by: kib Reported by: TJ Corley Security: CVE-2017-1088 Modified: head/sys/

svn commit: r325864 - head/sys/netinet

2017-11-15 Thread Michael Tuexen
Author: tuexen Date: Wed Nov 15 22:13:10 2017 New Revision: 325864 URL: https://svnweb.freebsd.org/changeset/base/325864 Log: Fix the handling of ERROR chunks which a lot of error causes. While there, clean up the code. Thanks to Felix Weinrank who found the bug by using fuzz-testing the S

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Conrad Meyer
On Wed, Nov 15, 2017 at 1:23 PM, Warner Losh wrote: > On Nov 15, 2017 2:13 PM, "Rodney W. Grimes" > wrote: > Oh, and can you please get a mail client that does > proper quoting? > > > It's just gmail. And there's really no alternative :( > > Warner Hi, Gmail does quoting just fine. I'm using i

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Warner Losh
On Nov 15, 2017 2:13 PM, "Rodney W. Grimes" wrote: [ Charset UTF-8 unsupported, converting... ] > On Nov 15, 2017 1:51 PM, "Rodney W. Grimes" > wrote: > > [ Charset UTF-8 unsupported, converting... ] > > On Nov 15, 2017 11:47 AM, "Rodney W. Grimes" net> > > wrote: > > > > > Author: emaste > > >

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Nov 15, 2017 1:51 PM, "Rodney W. Grimes" > wrote: > > [ Charset UTF-8 unsupported, converting... ] > > On Nov 15, 2017 11:47 AM, "Rodney W. Grimes" net> > > wrote: > > > > > Author: emaste > > > Date: Wed Nov 15 18:40:40 2017 > > > New Revision:

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Warner Losh
On Nov 15, 2017 1:51 PM, "Rodney W. Grimes" wrote: [ Charset UTF-8 unsupported, converting... ] > On Nov 15, 2017 11:47 AM, "Rodney W. Grimes" > wrote: > > > Author: emaste > > Date: Wed Nov 15 18:40:40 2017 > > New Revision: 325860 > > URL: https://svnweb.freebsd.org/changeset/base/325860 > > >

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > On Nov 15, 2017 11:47 AM, "Rodney W. Grimes" > wrote: > > > Author: emaste > > Date: Wed Nov 15 18:40:40 2017 > > New Revision: 325860 > > URL: https://svnweb.freebsd.org/changeset/base/325860 > > > > Log: > > newfs: warn if newer than kernel > > >

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Warner Losh
On Nov 15, 2017 11:47 AM, "Rodney W. Grimes" wrote: > Author: emaste > Date: Wed Nov 15 18:40:40 2017 > New Revision: 325860 > URL: https://svnweb.freebsd.org/changeset/base/325860 > > Log: > newfs: warn if newer than kernel > > Creating a UFS filesystem with a newfs newer than the running ke

RE: svn commit: r325828 - head/usr.bin/fortune/datfiles

2017-11-15 Thread Cy Schubert
Tips become stale and can be themselves contentious. Just consider our bike sheds. Besides, people should read the handbook anyway. Let's simply remove fortune altogether. --- Sent using a tiny phone keyboard. Apologies for any typos and autocorrect. Cy Schubert or --- -Original Message

svn commit: r325863 - head/release

2017-11-15 Thread Glen Barber
Author: gjb Date: Wed Nov 15 19:14:44 2017 New Revision: 325863 URL: https://svnweb.freebsd.org/changeset/base/325863 Log: Only copy /etc/resolv.conf to ${CHROOTDIR} if /etc/resolv.conf does not already exist within ${CHROOTDIR}. This allows re-using a build chroot with CHROOTBUILD_SKIP set

svn commit: r325862 - head/release/arm

2017-11-15 Thread Emmanuel Vadot
Author: manu Date: Wed Nov 15 19:04:23 2017 New Revision: 325862 URL: https://svnweb.freebsd.org/changeset/base/325862 Log: release: Update u-boot and firmware file for RPI2 target The u-boot port for RPI-2 was updated to use u-boot-master, this cause an update in u-boot version to v2017.

svn commit: r325861 - head/release/arm

2017-11-15 Thread Emmanuel Vadot
Author: manu Date: Wed Nov 15 19:03:06 2017 New Revision: 325861 URL: https://svnweb.freebsd.org/changeset/base/325861 Log: release: Update u-boot and firmware file for RPI-B target THe u-boot port for RPI-B was updated to use u-boot-master, this cause an update in u-boot version to v2017

Re: svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Rodney W. Grimes
> Author: emaste > Date: Wed Nov 15 18:40:40 2017 > New Revision: 325860 > URL: https://svnweb.freebsd.org/changeset/base/325860 > > Log: > newfs: warn if newer than kernel > > Creating a UFS filesystem with a newfs newer than the running kernel, > and then mounting that filesystem, can l

svn commit: r325860 - head/sbin/newfs

2017-11-15 Thread Ed Maste
Author: emaste Date: Wed Nov 15 18:40:40 2017 New Revision: 325860 URL: https://svnweb.freebsd.org/changeset/base/325860 Log: newfs: warn if newer than kernel Creating a UFS filesystem with a newfs newer than the running kernel, and then mounting that filesystem, can lead to interesting f

svn commit: r325859 - head

2017-11-15 Thread Ed Maste
Author: emaste Date: Wed Nov 15 18:03:31 2017 New Revision: 325859 URL: https://svnweb.freebsd.org/changeset/base/325859 Log: Sort pkgbase mtree metadata, for reproducible builds Packaged base packages are created by running the stageworld and stagekernel targets with -DNO_ROOT, and conve

Re: svn commit: r325828 - head/usr.bin/fortune/datfiles

2017-11-15 Thread Benno Rice
> On Nov 15, 2017, at 06:54, Jeremie Le Hen wrote: > > Hi Benno, > > On Tue, Nov 14, 2017 at 10:18 PM, Benno Rice > wrote: >> Author: benno >> Date: Tue Nov 14 21:18:30 2017 >> New Revision: 325828 >> URL: https://svnweb.freebsd.org/changeset/base/325828 >> >> Log:

svn commit: r325857 - head/sys/cam

2017-11-15 Thread Alan Somers
Author: asomers Date: Wed Nov 15 15:52:06 2017 New Revision: 325857 URL: https://svnweb.freebsd.org/changeset/base/325857 Log: Remove a double free(9) in xpt_bus_register In xpt_bus_register(), remove superfluous call to free(). This was mostly benign since free(9) checks for NULL before

svn commit: r325855 - head/share/man/man7

2017-11-15 Thread Warner Losh
Author: imp Date: Wed Nov 15 15:02:45 2017 New Revision: 325855 URL: https://svnweb.freebsd.org/changeset/base/325855 Log: Replace Fx's with 'the' since expanding FreeBSD here didn't seem quite right. Sponsored by: Netflix Modified: head/share/man/man7/arch.7 Modified: head/share/man/

svn commit: r325854 - head/share/man/man7

2017-11-15 Thread Warner Losh
Author: imp Date: Wed Nov 15 15:00:02 2017 New Revision: 325854 URL: https://svnweb.freebsd.org/changeset/base/325854 Log: Reword a bit for clarity. Sponsored by: Netflix Modified: head/share/man/man7/arch.7 Modified: head/share/man/man7/arch.7 ==

Re: svn commit: r325828 - head/usr.bin/fortune/datfiles

2017-11-15 Thread Jeremie Le Hen
Hi Benno, On Tue, Nov 14, 2017 at 10:18 PM, Benno Rice wrote: > Author: benno > Date: Tue Nov 14 21:18:30 2017 > New Revision: 325828 > URL: https://svnweb.freebsd.org/changeset/base/325828 > > Log: > Remove all fortune datfiles except freebsd-tips. > > Humour is a funny thing. What is funny

svn commit: r325852 - in head/sys: sys vm

2017-11-15 Thread Konstantin Belousov
Author: kib Date: Wed Nov 15 13:41:03 2017 New Revision: 325852 URL: https://svnweb.freebsd.org/changeset/base/325852 Log: vmtotal: extend memory counters to accomodate for current and future hardware sizes. 32bit counters already overflow on approachable virtual memory page counts, and

svn commit: r325851 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-11-15 Thread Baptiste Daroussin
Author: bapt Date: Wed Nov 15 12:48:36 2017 New Revision: 325851 URL: https://svnweb.freebsd.org/changeset/base/325851 Log: remove the poor emulation of the IllumOS needfree global variable to prevent the ARC reclaim thread running longer than needed. Update the arc::needfree dtrace probe

svn commit: r325850 - head/sbin/pfctl

2017-11-15 Thread Kristof Provost
Author: kp Date: Wed Nov 15 12:27:02 2017 New Revision: 325850 URL: https://svnweb.freebsd.org/changeset/base/325850 Log: pfctl: teach route-to to deal with interfaces with multiple addresses The route_host parsing code set the interface name, but only for the first node_host in the list.

svn commit: r325841 - in head/sys: conf dev/mlx4 dev/mlx4/mlx4_core dev/mlx4/mlx4_en dev/mlx4/mlx4_ib modules/mlx4

2017-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Wed Nov 15 11:14:39 2017 New Revision: 325841 URL: https://svnweb.freebsd.org/changeset/base/325841 Log: Update the mlx4 core and mlx4en(4) modules towards Linux v4.9. Background: The coming ibcore update forces an update of mlx4ib(4) which in turn requires an upd

Re: svn commit: r325825 - head/sys/kern

2017-11-15 Thread Bruce Evans
On Tue, 14 Nov 2017, Ed Maste wrote: Log: disallow clock_settime too far in the future to avoid panic clock_ts_to_ct has a KASSERT that the converted year fits into four digits. By default (sysctl debug.allow_insane_settime is 0) the kernel disallows a time too far in the future, using a v