Re: svn commit: r336525 - in head: contrib/ntp/ntpd etc etc/mtree share/man/man4 sys/conf sys/modules sys/modules/mac_ntpd sys/security/mac_ntpd usr.sbin/ntp

2018-07-22 Thread O. Hartmann
On Thu, 19 Jul 2018 23:55:29 + (UTC) Ian Lepore wrote: > Author: ian > Date: Thu Jul 19 23:55:29 2018 > New Revision: 336525 > URL: https://svnweb.freebsd.org/changeset/base/336525 > > Log: > Make it possible to run ntpd as a non-root user, add ntpd uid and gid. > > Code analysis and

Re: svn commit: r336619 - head/lib/libc/gen

2018-07-22 Thread Cy Schubert
In message <20180734.w6mmykpn030...@repo.freebsd.org>, Ian Lepore writes: > Author: ian > Date: Sun Jul 22 22:34:20 2018 > New Revision: 336619 > URL: https://svnweb.freebsd.org/changeset/base/336619 > > Log: > Set the pw_class field to NULL when scanning the non-master passwd file. >

svn commit: r336625 - head/usr.sbin/pw

2018-07-22 Thread Ian Lepore
Author: ian Date: Sun Jul 22 23:41:40 2018 New Revision: 336625 URL: https://svnweb.freebsd.org/changeset/base/336625 Log: Make pw(8) showuser work the same with or without -R for non-root users. Without -R, pw(8) uses getpwnam(3), which will open master.passwd for the root user or passwd

svn commit: r336624 - head/release

2018-07-22 Thread Matt Macy
Author: mmacy Date: Sun Jul 22 23:33:48 2018 New Revision: 336624 URL: https://svnweb.freebsd.org/changeset/base/336624 Log: fix use of empty in Makefile.ec2 empty() takes a variable name - not the expanded value Reported by: sjg Modified: head/release/Makefile.ec2 Modified:

svn commit: r336623 - head/sys/dev/uart

2018-07-22 Thread Matt Macy
Author: mmacy Date: Sun Jul 22 23:32:21 2018 New Revision: 336623 URL: https://svnweb.freebsd.org/changeset/base/336623 Log: Add busy detect quirk to list of console options This change allows one to set the busy_detect flag required by the synopsys UART at the loader prompt. This is

svn commit: r336622 - head/release

2018-07-22 Thread Matt Macy
Author: mmacy Date: Sun Jul 22 23:20:24 2018 New Revision: 336622 URL: https://svnweb.freebsd.org/changeset/base/336622 Log: Correctly reference SRCTOP, avoid multiple invocations of svn Reported by: sjg Modified: head/release/Makefile.ec2 Modified: head/release/Makefile.ec2

svn commit: r336621 - head/release

2018-07-22 Thread Matt Macy
Author: mmacy Date: Sun Jul 22 22:57:52 2018 New Revision: 336621 URL: https://svnweb.freebsd.org/changeset/base/336621 Log: fix build non-svn checkouts post r336593 The change made in r336593 assumes that the build is happening in a svn checkout resulting in misleading debug output.

Re: svn commit: r336593 - head/release

2018-07-22 Thread Matthew Macy
That would only fix it if svn weren't installed. On Sun, Jul 22, 2018 at 9:31 AM, Colin Percival wrote: > On 07/22/18 08:04, Rodney W. Grimes wrote: >>> Build still works, but you're assuming that developers only use svn. >> >> No, he correctly assumed that RELEASE engineering only uses

svn commit: r336620 - head/contrib/ofed/include

2018-07-22 Thread Li-Wen Hsu
Author: lwhsu (ports committer) Date: Sun Jul 22 22:35:17 2018 New Revision: 336620 URL: https://svnweb.freebsd.org/changeset/base/336620 Log: Add udma_barrier definitions for RISC-V Reviewed by: kib Sponsored by: The FreeBSD Foundation Modified:

svn commit: r336619 - head/lib/libc/gen

2018-07-22 Thread Ian Lepore
Author: ian Date: Sun Jul 22 22:34:20 2018 New Revision: 336619 URL: https://svnweb.freebsd.org/changeset/base/336619 Log: Set the pw_class field to NULL when scanning the non-master passwd file. This avoids a null pointer deref in pw_dup(), which assumes that all pointers are either NULL

svn commit: r336617 - head/tests/sys/acl

2018-07-22 Thread Alan Somers
Author: asomers Date: Sun Jul 22 21:00:11 2018 New Revision: 336617 URL: https://svnweb.freebsd.org/changeset/base/336617 Log: Temporarily disable the sys/acl/00 and sys/acl/02 tests These tests are failing due to PR 229930. Unfortunately, TAP tests can't be marked as expected failures.

svn commit: r336616 - head/sys/netinet

2018-07-22 Thread Matt Macy
Author: mmacy Date: Sun Jul 22 20:02:14 2018 New Revision: 336616 URL: https://svnweb.freebsd.org/changeset/base/336616 Log: Fix a potential use after free in getsockopt() access to inp_options Discussed with: jhb Reviewed by: sbruno, transport MFC after:2 weeks Sponsored by:

svn commit: r336615 - head/sys/dev/ocs_fc

2018-07-22 Thread Mark Johnston
Author: markj Date: Sun Jul 22 18:31:15 2018 New Revision: 336615 URL: https://svnweb.freebsd.org/changeset/base/336615 Log: Use the right buffer size when calling snprintf(). PR: 229952 Modified: head/sys/dev/ocs_fc/ocs_ioctl.c Modified: head/sys/dev/ocs_fc/ocs_ioctl.c

Re: svn commit: r336313 - in head/sys: dev/bnxt dev/e1000 dev/ixgbe dev/ixl net sys

2018-07-22 Thread Marius Strobl
On Wed, Jul 18, 2018 at 10:33:13PM +0200, Alexander Leidinger wrote: > Quoting Marius Strobl (from Sun, 15 Jul 2018 > 19:04:23 + (UTC)): > > > Author: marius > > Date: Sun Jul 15 19:04:23 2018 > > New Revision: 336313 > > URL: https://svnweb.freebsd.org/changeset/base/336313 > > > > Log: >

svn commit: r336613 - head/contrib/openbsm/libauditd

2018-07-22 Thread Alan Somers
Author: asomers Date: Sun Jul 22 18:06:42 2018 New Revision: 336613 URL: https://svnweb.freebsd.org/changeset/base/336613 Log: auditd(8): Log a better error when no hostname is set in audit_control Cherry-pick from https://github.com/openbsm/openbsm/commit/01ba03b Reviewed by: cem

svn commit: r336614 - head/tests/sys/kern

2018-07-22 Thread Mark Johnston
Author: markj Date: Sun Jul 22 18:07:08 2018 New Revision: 336614 URL: https://svnweb.freebsd.org/changeset/base/336614 Log: Add a regression test for PR 131876. PR: 131876 MFC after:1 week Modified: head/tests/sys/kern/unix_passfd_test.c Modified:

svn commit: r336612 - head/sys/net

2018-07-22 Thread Marius Strobl
Author: marius Date: Sun Jul 22 17:51:11 2018 New Revision: 336612 URL: https://svnweb.freebsd.org/changeset/base/336612 Log: Use the maximum of isc_tx_{nsegments,tso_segments_max} for MAX_TX_DESC. Since r336313, TSO support for LEM-class devices is removed again as it was before the

svn commit: r336611 - head/sys/net

2018-07-22 Thread Marius Strobl
Author: marius Date: Sun Jul 22 17:45:44 2018 New Revision: 336611 URL: https://svnweb.freebsd.org/changeset/base/336611 Log: - Given that the controlling expression of the receive loop in iflib_rxeof() tests for avail > 0, avail can never be 0 within that loop. Thus, move decrementing

svn commit: r336610 - head/sys/dev/e1000

2018-07-22 Thread Marius Strobl
Author: marius Date: Sun Jul 22 17:40:13 2018 New Revision: 336610 URL: https://svnweb.freebsd.org/changeset/base/336610 Log: o In em_if_update_admin_status(): - Don't bother calling if_setbaudrate(9) as iflib_link_state_change(9) takes care of that, - correctly check for

svn commit: r336609 - in head: libexec/tftpd usr.bin/tftp

2018-07-22 Thread Alan Somers
Author: asomers Date: Sun Jul 22 17:10:12 2018 New Revision: 336609 URL: https://svnweb.freebsd.org/changeset/base/336609 Log: Fix several Coverity warnings in tftp Some of the changes are in the libexec/tftpd directory, but to functions that are only used by tftp(1) (they share some

svn commit: r336608 - head

2018-07-22 Thread Ian Lepore
Author: ian Date: Sun Jul 22 16:51:11 2018 New Revision: 336608 URL: https://svnweb.freebsd.org/changeset/base/336608 Log: Alpha-sort the list of user/group IDs to check at install time. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r336607 - head

2018-07-22 Thread Ian Lepore
Author: ian Date: Sun Jul 22 16:42:22 2018 New Revision: 336607 URL: https://svnweb.freebsd.org/changeset/base/336607 Log: Remove the .if ${MK_FOO} wrappers around the user/group ID checks. These names are referenced in mtree files without any conditional logic, so the users/groups must

Re: svn commit: r336593 - head/release

2018-07-22 Thread Colin Percival
On 07/22/18 08:04, Rodney W. Grimes wrote: >> Build still works, but you're assuming that developers only use svn. > > No, he correctly assumed that RELEASE engineering only uses svn/svnlite > for building release images. This Makefile is for production of > official AMIs, official stuff always

svn commit: r336606 - head/etc

2018-07-22 Thread Ian Lepore
Author: ian Date: Sun Jul 22 16:17:45 2018 New Revision: 336606 URL: https://svnweb.freebsd.org/changeset/base/336606 Log: Add ntpd to the list of users not allowed to log into ftp. Modified: head/etc/ftpusers Modified: head/etc/ftpusers

svn commit: r336605 - head/libexec/tftpd

2018-07-22 Thread Alan Somers
Author: asomers Date: Sun Jul 22 16:14:30 2018 New Revision: 336605 URL: https://svnweb.freebsd.org/changeset/base/336605 Log: Fix multiple Coverity warnings in tftpd(8) * Initialize uninitialized variable (CID 1006502) * strcpy => strlcpy (CID 1006792, 1006791, 1006790) * Check

Re: svn commit: r336593 - head/release

2018-07-22 Thread Rodney W. Grimes
> Build still works, but you're assuming that developers only use svn. No, he correctly assumed that RELEASE engineering only uses svn/svnlite for building release images. This Makefile is for production of official AMIs, official stuff always uses svn. > make[1]:

svn commit: r336604 - in head: sys/security/audit tests/sys/audit

2018-07-22 Thread Alan Somers
Author: asomers Date: Sun Jul 22 14:11:52 2018 New Revision: 336604 URL: https://svnweb.freebsd.org/changeset/base/336604 Log: Fix audit of chflagsat, lgetfh, and setfib These syscalls were always supposed to have been auditted, but due to oversights never were. PR: 228374

Re: svn commit: r336603 - head/sys/modules/dtb/allwinner

2018-07-22 Thread Ganbold Tsagaankhuu
On Sun, Jul 22, 2018 at 10:01 PM, Ganbold Tsagaankhuu wrote: > Author: ganbold > Date: Sun Jul 22 14:01:49 2018 > New Revision: 336603 > URL: https://svnweb.freebsd.org/changeset/base/336603 > > Log: > dtb/allwinner: Build sun8i-h2-plus-orangepi-r1.dts > We have a u-boot port for this board

svn commit: r336603 - head/sys/modules/dtb/allwinner

2018-07-22 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Sun Jul 22 14:01:49 2018 New Revision: 336603 URL: https://svnweb.freebsd.org/changeset/base/336603 Log: dtb/allwinner: Build sun8i-h2-plus-orangepi-r1.dts We have a u-boot port for this board so add the dtb to the build. Modified:

svn commit: r336602 - head/lib/geom/eli

2018-07-22 Thread Ben Woods
Author: woodsb02 (ports committer) Date: Sun Jul 22 13:40:52 2018 New Revision: 336602 URL: https://svnweb.freebsd.org/changeset/base/336602 Log: geli attach: Fix exit codes and errors not being printed after r335673 Now that multiple providers can be attached at once, exit codes and

svn commit: r336601 - head

2018-07-22 Thread Piotr Pawel Stefaniak
; # done +# 20180722: indent(1) option renamed, test files follow +OLD_FILES+=usr/bin/indent/tests/nsac.0 +OLD_FILES+=usr/bin/indent/tests/nsac.0.pro +OLD_FILES+=usr/bin/indent/tests/nsac.0.stdout +OLD_FILES+=usr/bin/indent/tests/sac.0 +OLD_FILES+=usr/bin/indent/tests/sac.0.pro +OLD_FILES+=usr/bin

Re: svn commit: r336598 - head/release/arm

2018-07-22 Thread Emmanuel Vadot
On Sun, 22 Jul 2018 12:02:07 + (UTC) Emmanuel Vadot wrote: > Author: manu > Date: Sun Jul 22 12:02:07 2018 > New Revision: 336598 > URL: https://svnweb.freebsd.org/changeset/base/336598 > > Log: > release: Uniform release arm image size > > Create a 50m fat16 for all boards. > >

svn commit: r336600 - head/release/arm

2018-07-22 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 22 12:04:21 2018 New Revision: 336600 URL: https://svnweb.freebsd.org/changeset/base/336600 Log: release: Add rpi firmware dtb and mmc overlays for RPI-B and RPI2 This is needed with new u-boot that uses the rpi-firmware dtbs. Reviewed by: gjb MFC after:

svn commit: r336598 - head/release/arm

2018-07-22 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 22 12:02:07 2018 New Revision: 336598 URL: https://svnweb.freebsd.org/changeset/base/336598 Log: release: Uniform release arm image size Create a 50m fat16 for all boards. Reviewed by: gjb Differential Revision:https://reviews.freebsd.org/D16238

svn commit: r336599 - in head/release: . arm arm64 tools

2018-07-22 Thread Emmanuel Vadot
Author: manu Date: Sun Jul 22 12:03:17 2018 New Revision: 336599 URL: https://svnweb.freebsd.org/changeset/base/336599 Log: release: Add arm_install_boot to install the commit boot bits This reduce the per-board arm_install_uboot to just install u-boot. While here remove the installation

svn commit: r336597 - in head/cddl: contrib/opensolaris/cmd/dtrace/test/tst/common/ip usr.sbin/dtrace/tests/tools

2018-07-22 Thread Michael Tuexen
Author: tuexen Date: Sun Jul 22 10:50:59 2018 New Revision: 336597 URL: https://svnweb.freebsd.org/changeset/base/336597 Log: Improve TCP related tests for dtrace. Ensure that the TCP connections are terminated gracefully as expected by the test. Use appropriate numbers for sent/received