svn commit: r326562 - head/libexec/ftpd

2017-12-04 Thread Xin LI
Author: delphij Date: Tue Dec 5 07:21:47 2017 New Revision: 326562 URL: https://svnweb.freebsd.org/changeset/base/326562 Log: Use strlcpy(). MFC after:2 weeks Modified: head/libexec/ftpd/ftpd.c Modified: head/libexec/ftpd/ftpd.c

Re: svn commit: r326554 - in head: . usr.bin/sponge usr.bin/sponge/tests usr.bin/tee

2017-12-04 Thread Xin Li
On 12/4/17 19:55, Eitan Adler wrote: > Added: head/usr.bin/sponge/sponge.1 > == > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/usr.bin/sponge/sponge.1 Tue Dec 5 03:55:10 2017

svn commit: r326561 - head/usr.bin/su

2017-12-04 Thread Xin LI
Author: delphij Date: Tue Dec 5 07:11:56 2017 New Revision: 326561 URL: https://svnweb.freebsd.org/changeset/base/326561 Log: Use strlcpy(). MFC after:2 weeks Modified: head/usr.bin/su/su.c Modified: head/usr.bin/su/su.c

svn commit: r326560 - head/usr.bin/gzip

2017-12-04 Thread Xin LI
Author: delphij Date: Tue Dec 5 07:01:10 2017 New Revision: 326560 URL: https://svnweb.freebsd.org/changeset/base/326560 Log: Create links for xzdiff. MFC after:2 weeks Modified: head/usr.bin/gzip/Makefile Modified: head/usr.bin/gzip/Makefile

svn commit: r326558 - in head: . usr.sbin/fdformat

2017-12-04 Thread Cy Schubert
== --- head/ObsoleteFiles.inc Tue Dec 5 04:43:39 2017(r326557) +++ head/ObsoleteFiles.inc Tue Dec 5 05:02:46 2017(r326558) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20171204

svn commit: r326557 - in head: etc/mtree usr.bin usr.bin/sponge/tests

2017-12-04 Thread Eitan Adler
Author: eadler Date: Tue Dec 5 04:43:39 2017 New Revision: 326557 URL: https://svnweb.freebsd.org/changeset/base/326557 Log: sponge(1): fix my tests Reviewed by: kevans Modified: head/etc/mtree/BSD.tests.dist head/usr.bin/Makefile head/usr.bin/sponge/tests/Makefile

Re: svn commit: r326554 - in head: . usr.bin/sponge usr.bin/sponge/tests usr.bin/tee

2017-12-04 Thread Conrad Meyer
On Mon, Dec 4, 2017 at 8:30 PM, Conrad Meyer wrote: > On Mon, Dec 4, 2017 at 7:55 PM, Eitan Adler wrote: >> Author: eadler >> Date: Tue Dec 5 03:55:10 2017 >> New Revision: 326554 >> URL: https://svnweb.freebsd.org/changeset/base/326554 >> >> Log: >>

Re: svn commit: r326554 - in head: . usr.bin/sponge usr.bin/sponge/tests usr.bin/tee

2017-12-04 Thread Conrad Meyer
On Mon, Dec 4, 2017 at 7:55 PM, Eitan Adler wrote: > Author: eadler > Date: Tue Dec 5 03:55:10 2017 > New Revision: 326554 > URL: https://svnweb.freebsd.org/changeset/base/326554 > > Log: > sponge(1): initial commit > > sponge(1) is a utility that reads input until >

svn commit: r326556 - in head: etc/mtree usr.bin/dc usr.bin/dc/tests

2017-12-04 Thread Alan Somers
Author: asomers Date: Tue Dec 5 04:22:35 2017 New Revision: 326556 URL: https://svnweb.freebsd.org/changeset/base/326556 Log: dc(1): fix input of non-decimal fractional numbers Inputting fractional non-decimal numbers has never worked correctly in our OpenBSD-derived dc(1). It truncates

svn commit: r326555 - head/usr.bin/sponge

2017-12-04 Thread Eitan Adler
Author: eadler Date: Tue Dec 5 03:57:51 2017 New Revision: 326555 URL: https://svnweb.freebsd.org/changeset/base/326555 Log: sponge(1) Minor commit for commit log Differential Revision:https://reviews.freebsd.org/D12900 RelNotes: yes Modified:

Re: svn commit: r326554 - in head: . usr.bin/sponge usr.bin/sponge/tests usr.bin/tee

2017-12-04 Thread Eitan Adler
On 4 December 2017 at 19:55, Eitan Adler wrote: > Author: eadler > Date: Tue Dec 5 03:55:10 2017 > New Revision: 326554 > URL: https://svnweb.freebsd.org/changeset/base/326554 Differential Revision: https://reviews.freebsd.org/D12900 Release Notes: yes bah! -- Eitan

svn commit: r326554 - in head: . usr.bin/sponge usr.bin/sponge/tests usr.bin/tee

2017-12-04 Thread Eitan Adler
Author: eadler Date: Tue Dec 5 03:55:10 2017 New Revision: 326554 URL: https://svnweb.freebsd.org/changeset/base/326554 Log: sponge(1): initial commit sponge(1) is a utility that reads input until complete, then opens the output file, then writes to it. This makes it useful in

svn commit: r326553 - head

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:36 2017 New Revision: 326553 URL: https://svnweb.freebsd.org/changeset/base/326553 Log: native-xtools: Fix build without META_MODE for GCC archs. The initial kernel-toolchain is built with TARGET=MACHINE but we want GCC to have files generated for

svn commit: r326552 - head/share/mk

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:33 2017 New Revision: 326552 URL: https://svnweb.freebsd.org/changeset/base/326552 Log: Fix DPSRCS not getting .depend.* files. Reported by: jhb MFC after:2 weeks Sponsored by: Dell EMC Modified: head/share/mk/bsd.dep.mk Modified:

svn commit: r326551 - head/share/mk

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:30 2017 New Revision: 326551 URL: https://svnweb.freebsd.org/changeset/base/326551 Log: Allow Makefiles to append to DEPENDSRCS. Sponsored by: Dell EMC Modified: head/share/mk/bsd.dep.mk Modified: head/share/mk/bsd.dep.mk

svn commit: r326549 - head/sys/conf

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:23 2017 New Revision: 326549 URL: https://svnweb.freebsd.org/changeset/base/326549 Log: Rename DEPENDFILES_OBJS to DEPENDFILES. This is to be consistent with bsd.dep.mk using DEPENDFILES after r325677. Sponsored by: Dell EMC Modified:

svn commit: r326550 - head/sys/conf

2017-12-04 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 5 02:23:27 2017 New Revision: 326550 URL: https://svnweb.freebsd.org/changeset/base/326550 Log: DEPENDSRCS not used here. Sponsored by: Dell EMC Modified: head/sys/conf/kern.post.mk Modified: head/sys/conf/kern.post.mk

svn commit: r326547 - head/contrib/llvm/tools/lld/ELF

2017-12-04 Thread Ed Maste
Author: emaste Date: Tue Dec 5 01:47:41 2017 New Revision: 326547 URL: https://svnweb.freebsd.org/changeset/base/326547 Log: lld: make -v behave similarly to GNU ld.bfd Previously, lld exited with an error status if the only option given to the command was -v. GNU linkers gracefully

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

2017-12-04 Thread Rick Macklem
Author: rmacklem Date: Mon Dec 4 21:50:27 2017 New Revision: 326544 URL: https://svnweb.freebsd.org/changeset/base/326544 Log: Avoid the overhead of acquiring a lock in nfsrv_checkgetattr() when there are no write delegations issued. manu@ reported on the freebsd-current@ mailing list

svn commit: r326542 - head/sys/arm/allwinner/clkng

2017-12-04 Thread Emmanuel Vadot
Author: manu Date: Mon Dec 4 20:45:15 2017 New Revision: 326542 URL: https://svnweb.freebsd.org/changeset/base/326542 Log: Allwinner: Add H5 compatible to aw_ccu Recent DTS (from Linux 4.14) specify a compatible "allwinner,sun50i-h5-ccu" for H5 SoC. Since we get the DTB from u-boot this

Re: svn commit: r326347 - in head/sys: kern sys vm

2017-12-04 Thread Emmanuel Vadot
On Tue, 28 Nov 2017 23:40:55 + (UTC) Jeff Roberson wrote: > Author: jeff Hi Jeff, > Date: Tue Nov 28 23:40:54 2017 > New Revision: 326347 > URL: https://svnweb.freebsd.org/changeset/base/326347 > > Log: > Eliminate kmem_arena and kmem_object in preparation for further

Re: svn commit: r326535 - head/tools/boot

2017-12-04 Thread Warner Losh
On Mon, Dec 4, 2017 at 10:14 AM, Rodney W. Grimes < free...@pdx.rh.cn85.dnsmgr.net> wrote: > [ Charset UTF-8 unsupported, converting... ] > > Author: imp > > Date: Mon Dec 4 16:38:20 2017 > > New Revision: 326535 > > URL: https://svnweb.freebsd.org/changeset/base/326535 > > > > Log: > > Just

Re: svn commit: r326535 - head/tools/boot

2017-12-04 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: imp > Date: Mon Dec 4 16:38:20 2017 > New Revision: 326535 > URL: https://svnweb.freebsd.org/changeset/base/326535 > > Log: > Just use the last line of the output from getting .OBJDIR. The > buildenv target prints other stuff too that

Re: svn commit: r326524 - head/sys/vm

2017-12-04 Thread Andrew Turner
> On 4 Dec 2017, at 11:16, Andrew Turner wrote: > > Author: andrew > Date: Mon Dec 4 11:16:51 2017 > New Revision: 326524 > URL: https://svnweb.freebsd.org/changeset/base/326524 > > Log: > Print the correct value when freelist is out of range. > > Security:: This

svn commit: r326539 - head/sys/amd64/vmm/amd

2017-12-04 Thread Andriy Gapon
Author: avg Date: Mon Dec 4 17:10:52 2017 New Revision: 326539 URL: https://svnweb.freebsd.org/changeset/base/326539 Log: amd-vi: set iommu msi configuration using pci_enable_msi method This is better than directly changing PCI configuration space of the device because it makes the PCI

svn commit: r326538 - head/sys/amd64/vmm/amd

2017-12-04 Thread Andriy Gapon
Author: avg Date: Mon Dec 4 17:08:03 2017 New Revision: 326538 URL: https://svnweb.freebsd.org/changeset/base/326538 Log: vmm/amd: add ivhd device with a higher order ivhd should attach after the root PCI bus and, thus, after the ACPI Host-PCI bridge off which the bus hangs. This is

svn commit: r326537 - head/sys/amd64/vmm/amd

2017-12-04 Thread Andriy Gapon
Author: avg Date: Mon Dec 4 17:02:53 2017 New Revision: 326537 URL: https://svnweb.freebsd.org/changeset/base/326537 Log: amd-vi: clear event interrupt and overflow bits upon handling the interrupt This ensures that we can receive further event interrupts. See the description of the

svn commit: r326535 - head/tools/boot

2017-12-04 Thread Warner Losh
Author: imp Date: Mon Dec 4 16:38:20 2017 New Revision: 326535 URL: https://svnweb.freebsd.org/changeset/base/326535 Log: Just use the last line of the output from getting .OBJDIR. The buildenv target prints other stuff too that needs to be ignored. Sponsored by: Netflix Modified:

svn commit: r326528 - head/sys/dts/arm

2017-12-04 Thread Emmanuel Vadot
Author: manu Date: Mon Dec 4 13:28:56 2017 New Revision: 326528 URL: https://svnweb.freebsd.org/changeset/base/326528 Log: dts: arm: Remove imx6 related dts Everything should work with dts from sys/gnu/dts Discussed with: ian Deleted: head/sys/dts/arm/apalis-imx6.dts

svn commit: r326527 - head/usr.bin/man

2017-12-04 Thread Baptiste Daroussin
Author: bapt Date: Mon Dec 4 12:51:05 2017 New Revision: 326527 URL: https://svnweb.freebsd.org/changeset/base/326527 Log: Only skip looking for manpages if both man directory and cat directory are not existing. This allows man(1) to read catpages when no man directories are available

Re: svn commit: r326518 - head/contrib/mdocml

2017-12-04 Thread Yuri Pankov
On Mon, Dec 4, 2017 at 10:53:35AM +0100, Ed Schouten wrote: 2017-12-04 10:48 GMT+01:00 Baptiste Daroussin : Log: Add Posix 2013 référence for manpages I'm not sure that's correct. As far as I know, it's called "IEEE Std 1003.1-2008, 2013 Edition". The top of this page

svn commit: r326526 - head/usr.bin/man

2017-12-04 Thread Baptiste Daroussin
Author: bapt Date: Mon Dec 4 12:33:46 2017 New Revision: 326526 URL: https://svnweb.freebsd.org/changeset/base/326526 Log: In case man(1) found a catpage to display skip looking ".so" which is manpage only. In case we are trying to read a catpage, the manpage variable is not defined.

svn commit: r326525 - head/sys/arm64/arm64

2017-12-04 Thread Andrew Turner
Author: andrew Date: Mon Dec 4 11:25:34 2017 New Revision: 326525 URL: https://svnweb.freebsd.org/changeset/base/326525 Log: Use the module pointer to find the address we need to map to in the early arm64 boot sequence. This will be a virtual address in the kernel space after the kernel

svn commit: r326524 - head/sys/vm

2017-12-04 Thread Andrew Turner
Author: andrew Date: Mon Dec 4 11:16:51 2017 New Revision: 326524 URL: https://svnweb.freebsd.org/changeset/base/326524 Log: Print the correct value when freelist is out of range. Security: : Sponsored by: DARPA, AFRL Modified: head/sys/vm/vm_phys.c Modified:

Re: svn commit: r326518 - head/contrib/mdocml

2017-12-04 Thread Ed Schouten
2017-12-04 10:57 GMT+01:00 Baptiste Daroussin : > I just have one thing to say here: why? seriously why? :) It's just a branching thing. The 2013 and 2016 editions are the same as the 2008 standard, but have fixes for some of the errata. Think of the 2008 standard being "POSIX

svn commit: r326522 - head/contrib/mdocml

2017-12-04 Thread Baptiste Daroussin
Author: bapt Date: Mon Dec 4 09:58:38 2017 New Revision: 326522 URL: https://svnweb.freebsd.org/changeset/base/326522 Log: Properly name the 2013 edition Reported by: ed Modified: head/contrib/mdocml/st.in Modified: head/contrib/mdocml/st.in

Re: svn commit: r326518 - head/contrib/mdocml

2017-12-04 Thread Baptiste Daroussin
On Mon, Dec 04, 2017 at 10:53:35AM +0100, Ed Schouten wrote: > 2017-12-04 10:48 GMT+01:00 Baptiste Daroussin : > > Log: > > Add Posix 2013 référence for manpages > > I'm not sure that's correct. As far as I know, it's called "IEEE Std > 1003.1-2008, 2013 Edition". > > The top

Re: svn commit: r326518 - head/contrib/mdocml

2017-12-04 Thread Ed Schouten
2017-12-04 10:48 GMT+01:00 Baptiste Daroussin : > Log: > Add Posix 2013 référence for manpages I'm not sure that's correct. As far as I know, it's called "IEEE Std 1003.1-2008, 2013 Edition". The top of this page is a bit ambiguous about it:

svn commit: r326518 - head/contrib/mdocml

2017-12-04 Thread Baptiste Daroussin
Author: bapt Date: Mon Dec 4 09:48:55 2017 New Revision: 326518 URL: https://svnweb.freebsd.org/changeset/base/326518 Log: Add Posix 2013 référence for manpages PR: 223930 Reported by: Mateusz Piotrowski MFC after:2 days Modified:

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

2017-12-04 Thread Andrey V. Elsukov
Author: ae Date: Mon Dec 4 09:17:28 2017 New Revision: 326510 URL: https://svnweb.freebsd.org/changeset/base/326510 Log: Fix format string warning with enabled DEBUGGING. MFC after:1 week Modified: head/contrib/bsnmp/snmpd/config.c Modified: head/contrib/bsnmp/snmpd/config.c

svn commit: r326509 - head/stand/efi/libefi

2017-12-04 Thread Toomas Soome
Author: tsoome Date: Mon Dec 4 08:50:00 2017 New Revision: 326509 URL: https://svnweb.freebsd.org/changeset/base/326509 Log: loader.efi: add note about iPXE into the efipart.c Commant update. Modified: head/stand/efi/libefi/efipart.c Modified: head/stand/efi/libefi/efipart.c

svn commit: r326508 - head/sys/vm

2017-12-04 Thread Michael Zhilin
Author: mizhka Date: Mon Dec 4 08:08:55 2017 New Revision: 326508 URL: https://svnweb.freebsd.org/changeset/base/326508 Log: [mips] [vm] restore translation of freelist to flind for page allocation Commit r326346 moved domain iterators from physical layer to vm_page one, but it also