Re: svn commit: r335278 - head/bin/pwd

2018-06-16 Thread Bruce Evans
On Sun, 17 Jun 2018, Eitan Adler wrote: Log: pwd: mark usage as dead Modified: head/bin/pwd/pwd.c Modified: head/bin/pwd/pwd.c == --- head/bin/pwd/pwd.c Sun Jun 17 03:33:29 2018(r335277) +++ head/bin/pwd/pwd

svn commit: r335281 - head/usr.sbin/bsdconfig/share

2018-06-16 Thread Devin Teske
Author: dteske Date: Sun Jun 17 06:25:32 2018 New Revision: 335281 URL: https://svnweb.freebsd.org/changeset/base/335281 Log: sysrc.subr: Fix display when value is "-n" PR: bin/226406 Reported by: Marius Halden MFC after:1 week X-MFC-to: stable/11 Sponsored by: S

svn commit: r335280 - head/usr.sbin/bsdconfig/share

2018-06-16 Thread Devin Teske
Author: dteske Date: Sun Jun 17 06:03:48 2018 New Revision: 335280 URL: https://svnweb.freebsd.org/changeset/base/335280 Log: sysrc.subr: Fix handling of files with missing newline at EOF PR: bin/203435 Reported by: Andreas Sommer MFC after:1 week X-MFC-to: stable/

svn commit: r335279 - head/tools/boot

2018-06-16 Thread Allan Jude
Author: allanjude Date: Sun Jun 17 05:55:31 2018 New Revision: 335279 URL: https://svnweb.freebsd.org/changeset/base/335279 Log: rootgen.sh: complete all profiles except GELI+MBR (not supported) This extends the test suite to generate images for every combination of: amd64: mbr/gpt geli/n

svn commit: r335278 - head/bin/pwd

2018-06-16 Thread Eitan Adler
Author: eadler Date: Sun Jun 17 05:14:50 2018 New Revision: 335278 URL: https://svnweb.freebsd.org/changeset/base/335278 Log: pwd: mark usage as dead Modified: head/bin/pwd/pwd.c Modified: head/bin/pwd/pwd.c == --- h

Re: svn commit: r335041 - head/lib/libc/stdlib

2018-06-16 Thread Bruce Evans
On Wed, 13 Jun 2018, Jilles Tjoelker wrote: On Wed, Jun 13, 2018 at 08:03:13PM +1000, Bruce Evans wrote: On Wed, 13 Jun 2018, Eitan Adler wrote: Log: libc: remove explicit cast NULL in atoi There isn't any reason to cast NULL so just remove it. Noticed when cleaning up top. There ar

Re: svn commit: r335270 - head/lib/liby

2018-06-16 Thread Rodney W. Grimes
> On 16 June 2018 at 20:06, Rodney W. Grimes > wrote: > > > > On 16 June 2018 at 19:43, Rodney W. Grimes > net> > > > wrote: > > > > > > > > On 16 June 2018 at 18:10, Rodney W. Grimes > > > > > wrote: > > > > > > [ Charset UTF-8 unsupported, converting... ] > > > > > >> Author: eadler > > > > >

Re: svn commit: r335260 - head/tests/sys/audit

2018-06-16 Thread Alan Somers
Correction: these are tests for SysV message queues. POSIX message queues are TODO. On Sat, Jun 16, 2018 at 12:22 PM, Alan Somers wrote: > Author: asomers > Date: Sat Jun 16 18:22:35 2018 > New Revision: 335260 > URL: https://svnweb.freebsd.org/changeset/base/335260 > > Log: > audit(4): add t

svn commit: r335277 - head/usr.sbin/sysrc

2018-06-16 Thread Devin Teske
Author: dteske Date: Sun Jun 17 03:33:29 2018 New Revision: 335277 URL: https://svnweb.freebsd.org/changeset/base/335277 Log: sysrc(8): Exit with failure on API error Fix exit status when f_sysrc_set() fails. Errors in the underlying API provided by bsdconfig(8) -- /usr/share/bsdconfig/sy

svn commit: r335276 - in head/stand/i386: gptboot zfsboot

2018-06-16 Thread Allan Jude
Author: allanjude Date: Sun Jun 17 03:18:56 2018 New Revision: 335276 URL: https://svnweb.freebsd.org/changeset/base/335276 Log: gptboot, zfsboot, gptzfsboot: Enable the video and serial consoles early Normally the serial console is not enabled until /boot.config is read and we know how t

Re: svn commit: r335270 - head/lib/liby

2018-06-16 Thread Juli Mallett
On 16 June 2018 at 20:06, Rodney W. Grimes wrote: > > On 16 June 2018 at 19:43, Rodney W. Grimes net> > > wrote: > > > > > > On 16 June 2018 at 18:10, Rodney W. Grimes > > > > wrote: > > > > > [ Charset UTF-8 unsupported, converting... ] > > > > >> Author: eadler > > > > >> Date: Sat Jun 16 23:

Re: svn commit: r335270 - head/lib/liby

2018-06-16 Thread Rodney W. Grimes
> On 16 June 2018 at 19:43, Rodney W. Grimes > wrote: > > > > On 16 June 2018 at 18:10, Rodney W. Grimes > > > wrote: > > > > [ Charset UTF-8 unsupported, converting... ] > > > >> Author: eadler > > > >> Date: Sat Jun 16 23:50:34 2018 > > > >> New Revision: 335270 > > > >> URL: https://svnweb.fr

svn commit: r335275 - head/tests/sys/audit

2018-06-16 Thread Alan Somers
Author: asomers Date: Sun Jun 17 03:10:25 2018 New Revision: 335275 URL: https://svnweb.freebsd.org/changeset/base/335275 Log: audit(4): add tests for chflags and friends chflags, fchflags, and lchflags (but not chflagsat) are included. Submitted by: aniketp MFC after:2 weeks S

Re: svn commit: r335270 - head/lib/liby

2018-06-16 Thread Juli Mallett
On 16 June 2018 at 19:43, Rodney W. Grimes wrote: > > On 16 June 2018 at 18:10, Rodney W. Grimes > > wrote: > > > [ Charset UTF-8 unsupported, converting... ] > > >> Author: eadler > > >> Date: Sat Jun 16 23:50:34 2018 > > >> New Revision: 335270 > > >> URL: https://svnweb.freebsd.org/changeset/

Re: svn commit: r335270 - head/lib/liby

2018-06-16 Thread Rodney W. Grimes
> On 16 June 2018 at 18:10, Rodney W. Grimes > wrote: > > [ Charset UTF-8 unsupported, converting... ] > >> Author: eadler > >> Date: Sat Jun 16 23:50:34 2018 > >> New Revision: 335270 > >> URL: https://svnweb.freebsd.org/changeset/base/335270 > >> > >> Log: > >> liby: build with WARNS=6 > >> >

svn commit: r335274 - head/tools/boot

2018-06-16 Thread Warner Losh
Author: imp Date: Sun Jun 17 02:49:42 2018 New Revision: 335274 URL: https://svnweb.freebsd.org/changeset/base/335274 Log: FreeBSD/amd64 requires 256MiB to boot UEFI, 128MB simply doesn't work. 128MiB still works for Legacy booting, however. Go ahead and do 256MiB for all amd64 boxes, since

svn commit: r335273 - head/sbin/gvinum

2018-06-16 Thread Eitan Adler
Author: eadler Date: Sun Jun 17 01:39:22 2018 New Revision: 335273 URL: https://svnweb.freebsd.org/changeset/base/335273 Log: gvinum: revert WARNS change in Makefile Architectures that passed on a local build universe, failed on tinderbox. Revert the number change for now while I investig

svn commit: r335272 - head/stand/efi/loader

2018-06-16 Thread Warner Losh
Author: imp Date: Sun Jun 17 01:26:57 2018 New Revision: 335272 URL: https://svnweb.freebsd.org/changeset/base/335272 Log: Many netboot scenarios don't have /boot/defaults/loader.conf. As a fallback, also check /boot/kernel/kernel existing as well, since that's the fallback behavior of the l

Re: svn commit: r334046 - head/tools/tools/intel-ucode-split

2018-06-16 Thread Eitan Adler
On 13 June 2018 at 07:07, Mark Johnston wrote: > On Wed, Jun 13, 2018 at 01:46:34AM +0200, Oliver Pinter wrote: >> On Wednesday, June 13, 2018, Ed Maste wrote: >> >> > On Tue, 12 Jun 2018 at 18:17, Sean Bruno wrote: >> > > >> > > On 06/12/18 16:05, Oliver Pinter wrote: >> > > > On 5/22/18, Ed Ma

Re: svn commit: r335270 - head/lib/liby

2018-06-16 Thread Eitan Adler
On 16 June 2018 at 18:10, Rodney W. Grimes wrote: > [ Charset UTF-8 unsupported, converting... ] >> Author: eadler >> Date: Sat Jun 16 23:50:34 2018 >> New Revision: 335270 >> URL: https://svnweb.freebsd.org/changeset/base/335270 >> >> Log: >> liby: build with WARNS=6 >> >> Tested with amd64,

Re: svn commit: r335270 - head/lib/liby

2018-06-16 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: eadler > Date: Sat Jun 16 23:50:34 2018 > New Revision: 335270 > URL: https://svnweb.freebsd.org/changeset/base/335270 > > Log: > liby: build with WARNS=6 > > Tested with amd64, arm64, i386, mips > > Added: > head/lib/liby/yyerror.h

svn commit: r335271 - head/sbin/ddb

2018-06-16 Thread Eitan Adler
Author: eadler Date: Sun Jun 17 00:00:24 2018 New Revision: 335271 URL: https://svnweb.freebsd.org/changeset/base/335271 Log: ddb: unbreak ppc usr/src/powerpc.powerpcspe/tmp/usr/include/strings.h:62: warning: shadowed declaration is here Modified: head/sbin/ddb/ddb_capture.c Modified:

svn commit: r335270 - head/lib/liby

2018-06-16 Thread Eitan Adler
Author: eadler Date: Sat Jun 16 23:50:34 2018 New Revision: 335270 URL: https://svnweb.freebsd.org/changeset/base/335270 Log: liby: build with WARNS=6 Tested with amd64, arm64, i386, mips Added: head/lib/liby/yyerror.h (contents, props changed) Modified: head/lib/liby/Makefile head

svn commit: r335269 - head/tools/tools/netrate/http

2018-06-16 Thread Eitan Adler
Author: eadler Date: Sat Jun 16 23:49:22 2018 New Revision: 335269 URL: https://svnweb.freebsd.org/changeset/base/335269 Log: netrate: build with WARNS=6 Tested with amd64, i386 Modified: head/tools/tools/netrate/http/Makefile head/tools/tools/netrate/http/http.c Modified: head/tools/

svn commit: r335268 - head/sbin/quotacheck

2018-06-16 Thread Eitan Adler
Author: eadler Date: Sat Jun 16 23:47:59 2018 New Revision: 335268 URL: https://svnweb.freebsd.org/changeset/base/335268 Log: quotacheck: build with WARNS=3 WARNS++ Tested with amd64, arm64, i386, mips Modified: head/sbin/quotacheck/Makefile head/sbin/quotacheck/quotacheck.c Modi

svn commit: r335266 - head/sbin/ddb

2018-06-16 Thread Eitan Adler
Author: eadler Date: Sat Jun 16 23:44:18 2018 New Revision: 335266 URL: https://svnweb.freebsd.org/changeset/base/335266 Log: ddb: build with WARNS=6 Tested with amd64, arm64, i386, mips Modified: head/sbin/ddb/Makefile head/sbin/ddb/ddb_script.c Modified: head/sbin/ddb/Makefile =

svn commit: r335267 - head/sbin/gvinum

2018-06-16 Thread Eitan Adler
Author: eadler Date: Sat Jun 16 23:45:59 2018 New Revision: 335267 URL: https://svnweb.freebsd.org/changeset/base/335267 Log: gvinum: build with WARNS=6 This also removes an unused and uninitialized variable. Tested with amd64, arm64, i386, mips Modified: head/sbin/gvinum/Makefile

Re: svn commit: r334947 - head/sys/modules

2018-06-16 Thread Dimitry Andric
On 16 Jun 2018, at 16:57, Kurt Lidl wrote: > > On 6/11/18 4:42 AM, Dimitry Andric wrote: >> Author: dim >> Date: Mon Jun 11 08:42:03 2018 >> New Revision: 334947 >> URL: https://svnweb.freebsd.org/changeset/base/334947 >> Log: >> Disable building aesni with base gcc >> Because base gcc doe

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

2018-06-16 Thread Eitan Adler
Author: eadler Date: Sat Jun 16 21:07:46 2018 New Revision: 335265 URL: https://svnweb.freebsd.org/changeset/base/335265 Log: units: fix some nits - prefer braces to abusing the `,` operator - mark dead function as dead - remove dead break Modified: head/usr.bin/units/units.c Modifi

Re: svn commit: r334947 - head/sys/modules

2018-06-16 Thread Bruce Evans
On Sat, 16 Jun 2018, Kurt Lidl wrote: On 6/11/18 4:42 AM, Dimitry Andric wrote: /// Log: Disable building aesni with base gcc Because base gcc does not support the required intrinsics, do not attempt to compile the aesni module with it. ... Modified: head/sys/modules/Makefile ==

svn commit: r335264 - head/lib/libdpv

2018-06-16 Thread Devin Teske
Author: dteske Date: Sat Jun 16 20:00:41 2018 New Revision: 335264 URL: https://svnweb.freebsd.org/changeset/base/335264 Log: Fix comparison between pointer and char literal PR: misc/204252 Reported by: David Binderman MFC after:3 days X-MFC-to: stable/11, stable/1

svn commit: r335263 - head/sys/fs/nfs

2018-06-16 Thread Rick Macklem
Author: rmacklem Date: Sat Jun 16 19:45:06 2018 New Revision: 335263 URL: https://svnweb.freebsd.org/changeset/base/335263 Log: Fix NFSv4.1 client side handling of "soft,retrans=2" mounts. Normally "soft,retrans=2" cannot be safely used on NFSv4 mounts, since the RPC can fail and leave th

Re: svn commit: r334947 - head/sys/modules

2018-06-16 Thread Conrad Meyer
r255185 added _mm_aesenc(), etc, but not _mm_sha*(). That's probably where the report comes from. (If you feel it is worth your while adding sha intrinsics to a decade-old GCC, go ahead, but I think gcc 4.2 on x86 is pretty dead.) Best, Conrad On Sat, Jun 16, 2018 at 7:57 AM, Kurt Lidl wrote:

svn commit: r335262 - head/sys/net

2018-06-16 Thread Andrey V. Elsukov
Author: ae Date: Sat Jun 16 19:21:09 2018 New Revision: 335262 URL: https://svnweb.freebsd.org/changeset/base/335262 Log: Fix typo. Reported by: rpokala Modified: head/sys/net/radix.h Modified: head/sys/net/radix.h ===

svn commit: r335261 - head/tests/sys/audit

2018-06-16 Thread Alan Somers
Author: asomers Date: Sat Jun 16 18:29:24 2018 New Revision: 335261 URL: https://svnweb.freebsd.org/changeset/base/335261 Log: audit(4): add tests for pathconf(2) and friends pathconf, lpathconf, and fpathconf are included Submitted by: aniketp MFC after:2 weeks Sponsored by: G

svn commit: r335260 - head/tests/sys/audit

2018-06-16 Thread Alan Somers
Author: asomers Date: Sat Jun 16 18:22:35 2018 New Revision: 335260 URL: https://svnweb.freebsd.org/changeset/base/335260 Log: audit(4): add tests for POSIX message queues Submitted by: aniketp MFC after:2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision:

svn commit: r335259 - head/tools/boot

2018-06-16 Thread Allan Jude
Author: allanjude Date: Sat Jun 16 17:45:44 2018 New Revision: 335259 URL: https://svnweb.freebsd.org/changeset/base/335259 Log: rootgen.sh: Don't copy various bits of the bootcode from the running system We want to use the versions of the bootcode we just built, rather than ones from wha

svn commit: r335258 - head/lib/libthr/support

2018-06-16 Thread Konstantin Belousov
Author: kib Date: Sat Jun 16 17:11:23 2018 New Revision: 335258 URL: https://svnweb.freebsd.org/changeset/base/335258 Log: Remove unused file. The thr_new(2) syscall is called through libc stub. r154212 stopped generating it for libthr but did not cleaned the unused remnants. Sponso

svn commit: r335257 - in head: lib/libthr/arch/common sys/dev/cm sys/dev/pdq sys/modules/arcnet sys/modules/cm sys/modules/libmbpool sys/modules/vxge sys/ofed/drivers/infiniband/debug

2018-06-16 Thread Konstantin Belousov
Author: kib Date: Sat Jun 16 16:16:24 2018 New Revision: 335257 URL: https://svnweb.freebsd.org/changeset/base/335257 Log: Remove some empty directories Deleted: head/lib/libthr/arch/common/ head/sys/dev/cm/ head/sys/dev/pdq/ head/sys/modules/arcnet/ head/sys/modules/cm/ head/sys/mo

svn commit: r335256 - head/tests/sys/audit

2018-06-16 Thread Alan Somers
Author: asomers Date: Sat Jun 16 15:38:59 2018 New Revision: 335256 URL: https://svnweb.freebsd.org/changeset/base/335256 Log: audit(4): add tests for chown(2) and friends Includes chown, fchown, lchown, and fchownat Submitted by: aniketp MFC after:2 weeks Sponsored by: Google,

Re: svn commit: r334979 - head/sbin/dump

2018-06-16 Thread Rodney W. Grimes
> Author: imp > Date: Mon Jun 11 20:38:26 2018 > New Revision: 334979 > URL: https://svnweb.freebsd.org/changeset/base/334979 > > Log: > Fix a bug in the counting of blks. > > We shouldn't count the bytes set in c_addr for TS_CLRI and TS_BITS > nodes. Those block overload c_count to commu

svn commit: r335255 - head/tests/sys/audit

2018-06-16 Thread Alan Somers
Author: asomers Date: Sat Jun 16 15:25:08 2018 New Revision: 335255 URL: https://svnweb.freebsd.org/changeset/base/335255 Log: audit(4): add tests for bind(2), bindat(2), and listen(2) Submitted by: aniketp MFC after:2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revi

svn commit: r335254 - in head/stand/i386: libi386 zfsboot

2018-06-16 Thread Allan Jude
Author: allanjude Date: Sat Jun 16 15:16:02 2018 New Revision: 335254 URL: https://svnweb.freebsd.org/changeset/base/335254 Log: Avoid reading past the end of the disk in zfsboot.c and biosdisk.c The GELI boot code rounds reads up to 4k, since the encrypted sectors are 4k, and must be dec

svn commit: r335253 - in head: . contrib/ofed contrib/ofed/include contrib/ofed/infiniband-diags/build contrib/ofed/libcxgb4 contrib/ofed/libibcm contrib/ofed/libibmad contrib/ofed/libibnetdisc con...

2018-06-16 Thread Konstantin Belousov
Author: kib Date: Sat Jun 16 15:05:05 2018 New Revision: 335253 URL: https://svnweb.freebsd.org/changeset/base/335253 Log: Rework ofed build. Aligns the build with the FreeBSD traditional approach to not build in contrib/, and to track inter-dependencies between libraries. With help

Re: svn commit: r334947 - head/sys/modules

2018-06-16 Thread Kurt Lidl
On 6/11/18 4:42 AM, Dimitry Andric wrote: Author: dim Date: Mon Jun 11 08:42:03 2018 New Revision: 334947 URL: https://svnweb.freebsd.org/changeset/base/334947 Log: Disable building aesni with base gcc Because base gcc does not support the required intrinsics, do not attempt to com

svn commit: r335252 - stable/10/sys/netpfil/pf

2018-06-16 Thread Kristof Provost
Author: kp Date: Sat Jun 16 11:42:27 2018 New Revision: 335252 URL: https://svnweb.freebsd.org/changeset/base/335252 Log: MFC r334876: pf: Fix deadlock with route-to If a locally generated packet is routed (with route-to/reply-to/dup-to) out of a different interface it's passed throu

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

2018-06-16 Thread Kristof Provost
Author: kp Date: Sat Jun 16 09:32:05 2018 New Revision: 335251 URL: https://svnweb.freebsd.org/changeset/base/335251 Log: MFC r334876: pf: Fix deadlock with route-to If a locally generated packet is routed (with route-to/reply-to/dup-to) out of a different interface it's passed throu

svn commit: r335250 - in head/sys: kern net netinet netinet6 netpfil/ipfw nfs

2018-06-16 Thread Andrey V. Elsukov
Author: ae Date: Sat Jun 16 08:26:23 2018 New Revision: 335250 URL: https://svnweb.freebsd.org/changeset/base/335250 Log: Switch RIB and RADIX_NODE_HEAD lock from rwlock(9) to rmlock(9). Using of rwlock with multiqueue NICs for IP forwarding on high pps produces high lock contention and i

svn commit: r335249 - head/sys/dev/extres/regulator

2018-06-16 Thread Michal Meloun
Author: mmel Date: Sat Jun 16 08:25:38 2018 New Revision: 335249 URL: https://svnweb.freebsd.org/changeset/base/335249 Log: Fix handling of enable counter for shared GPIO line in fixed regulator. For most regulators, the regulator_stop() method can be transformed to regulator disable. But