svn commit: r336806 - in head/sys: arm/arm arm/include conf

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 07:54:21 2018 New Revision: 336806 URL: https://svnweb.freebsd.org/changeset/base/336806 Log: Only support INTRNG in the SMP code on arm. We already require INTRNG on anything that could be multicore on arm. Modified: head/sys/arm/arm/mp_machdep.c head/sys/

svn commit: r336807 - head/sys/arm/ralink

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 10:48:41 2018 New Revision: 336807 URL: https://svnweb.freebsd.org/changeset/base/336807 Log: The RT1310 is an ARM926EJ-S, fix the config to mark it as such. Modified: head/sys/arm/ralink/std.ralink Modified: head/sys/arm/ralink/std.ralink

svn commit: r336813 - in head/sys: arm/arm arm/conf conf

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 11:00:45 2018 New Revision: 336813 URL: https://svnweb.freebsd.org/changeset/base/336813 Log: Remove now the cow unused CPU_ARM9 and CPU_FA526 options. These are for ARMv4 CPUs that are no longer supported. Deleted: head/sys/arm/arm/cpufunc_asm_fa526.S head

Re: svn commit: r336813 - in head/sys: arm/arm arm/conf conf

2018-07-28 Thread Andrew Turner
> On 28 Jul 2018, at 12:00, Andrew Turner wrote: > > Author: andrew > Date: Sat Jul 28 11:00:45 2018 > New Revision: 336813 > URL: https://svnweb.freebsd.org/changeset/base/336813 > > Log: > Remove now the cow unused CPU_ARM9 and CPU_FA526 options. These are for > ARMv4 CPUs that are no lon

svn commit: r336825 - head/sys/arm/arm

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 11:58:43 2018 New Revision: 336825 URL: https://svnweb.freebsd.org/changeset/base/336825 Log: Remove the old CPU_ values from the arm kernel trampoline. These options are gone so we can remove them from the code. Modified: head/sys/arm/arm/elf_trampoline.c M

svn commit: r336826 - in head/sys/arm: arm include

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 12:00:32 2018 New Revision: 336826 URL: https://svnweb.freebsd.org/changeset/base/336826 Log: Remove old CPU_ values from the arm cpufunc code. These have been removed. Modified: head/sys/arm/arm/cpufunc.c head/sys/arm/arm/cpufunc_asm_arm9.S head/sys/arm/in

svn commit: r336827 - head/sys/arm/arm

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 12:16:57 2018 New Revision: 336827 URL: https://svnweb.freebsd.org/changeset/base/336827 Log: Remove an unneeded check for CPU_XSCALE_81342 Modified: head/sys/arm/arm/identcpu-v4.c Modified: head/sys/arm/arm/identcpu-v4.c ==

svn commit: r336828 - in head/sys/arm: arm include

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 12:20:42 2018 New Revision: 336828 URL: https://svnweb.freebsd.org/changeset/base/336828 Log: Make the arm cpu setup functions static. Any other place that needs these functions will use the function pointer we create for them. Modified: head/sys/arm/arm/cpuf

svn commit: r336829 - in head/sys: arm/arm conf

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 12:50:09 2018 New Revision: 336829 URL: https://svnweb.freebsd.org/changeset/base/336829 Log: Only build the cache handling code we need when building the arm ELF trampoline. Modified: head/sys/arm/arm/cpufunc_asm_armv5_ec.S head/sys/arm/arm/cpufunc_asm_she

svn commit: r336830 - head/sys/arm/arm

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 12:52:03 2018 New Revision: 336830 URL: https://svnweb.freebsd.org/changeset/base/336830 Log: Remove an unused function from the arm ELF trampoline. It tries to find properties about the CPU caches, however we never use these values. Modified: head/sys/arm/ar

svn commit: r336831 - head/sys/arm/arm

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 12:53:10 2018 New Revision: 336831 URL: https://svnweb.freebsd.org/changeset/base/336831 Log: Remove some write only global values from the arm cpufunc code. Modified: head/sys/arm/arm/cpufunc.c Modified: head/sys/arm/arm/cpufunc.c

svn commit: r336832 - head/sys/sparc64/include

2018-07-28 Thread Marius Strobl
Author: marius Date: Sat Jul 28 15:42:57 2018 New Revision: 336832 URL: https://svnweb.freebsd.org/changeset/base/336832 Log: Implement atomic_swap_{32,64,int,long,ptr}(9). Modified: head/sys/sparc64/include/atomic.h Modified: head/sys/sparc64/include/atomic.h ===

svn commit: r336833 - head/sys/arm/arm

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 16:56:46 2018 New Revision: 336833 URL: https://svnweb.freebsd.org/changeset/base/336833 Log: Remove an unneeded cpu_ident() prototype. Modified: head/sys/arm/arm/elf_trampoline.c Modified: head/sys/arm/arm/elf_trampoline.c

svn commit: r336834 - in head/sys/arm: arm include mv/armadaxp ti

2018-07-28 Thread Andrew Turner
Author: andrew Date: Sat Jul 28 17:21:34 2018 New Revision: 336834 URL: https://svnweb.freebsd.org/changeset/base/336834 Log: Use the cp15 functions to read cp15 registers rather than using assembly functions. The former are static inline functions so will compile to a single instruction. M

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

2018-07-28 Thread Conrad Meyer
Author: cem Date: Sat Jul 28 19:08:00 2018 New Revision: 336835 URL: https://svnweb.freebsd.org/changeset/base/336835 Log: Clean up execl*(3) manual page prototype formatting Rendering of execle was missing a comma between the NULL argument and envp. For unclear reasons, POSIX' definit

svn commit: r336836 - head/release/tools

2018-07-28 Thread Conrad Meyer
Author: cem Date: Sat Jul 28 19:35:49 2018 New Revision: 336836 URL: https://svnweb.freebsd.org/changeset/base/336836 Log: Remove insecure ciphers from GCE sshd configuration They were added for unclear reasons in r277263. The current OpenSSH defaults (7.5+) are reasonable, and do not in

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

2018-07-28 Thread Warner Losh
Author: imp Date: Sat Jul 28 19:44:20 2018 New Revision: 336837 URL: https://svnweb.freebsd.org/changeset/base/336837 Log: Be more conservative about setting hw.uart.console Note when we've found a 8250 PNP node. Only try to set hw.uart.console if we see one (otherwise ignore serial hints

svn commit: r336838 - in head/lib: libauditd libbsm

2018-07-28 Thread Alan Somers
Author: asomers Date: Sat Jul 28 20:04:39 2018 New Revision: 336838 URL: https://svnweb.freebsd.org/changeset/base/336838 Log: Disable -Wcast-align in libbsm and libauditd Along with some pending upstream changes, this will allow raising the WARNS level. Reviewed by: cem, aniketp

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

2018-07-28 Thread Konstantin Belousov
On Sat, Jul 28, 2018 at 07:08:00PM +, Conrad Meyer wrote: > For unclear reasons, POSIX' definition of these routines spells NULL as > "(char *)0." This is needlessly unclear. One guess might be that POSIX > targets more exotic computer architectures than FreeBSD does. Fortunately, >

svn commit: r336839 - in head/sys/fs: nfs nfsserver

2018-07-28 Thread Rick Macklem
Author: rmacklem Date: Sat Jul 28 20:21:04 2018 New Revision: 336839 URL: https://svnweb.freebsd.org/changeset/base/336839 Log: Modify the NFSv4.1 server so that it allows ReclaimComplete as done by ESXi 6.7. I believe that a ReclaimComplete with rca_one_fs == TRUE is only to be used aft

svn commit: r336840 - in head: etc lib/libc/gen

2018-07-28 Thread Brad Davis
Author: brd Date: Sat Jul 28 20:21:23 2018 New Revision: 336840 URL: https://svnweb.freebsd.org/changeset/base/336840 Log: Move etc/shells to lib/libc/gen with getusershell(3). Approved by: will (mentor) Differential Revision:https://reviews.freebsd.org/D16467 Added: head/lib/

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

2018-07-28 Thread Conrad Meyer
On Sat, Jul 28, 2018 at 1:06 PM, Konstantin Belousov wrote: > On Sat, Jul 28, 2018 at 07:08:00PM +, Conrad Meyer wrote: >> For unclear reasons, POSIX' definition of these routines spells NULL as >> "(char *)0." This is needlessly unclear. One guess might be that POSIX >> targets more e

svn commit: r336841 - head/share/mk

2018-07-28 Thread Brad Davis
Author: brd Date: Sat Jul 28 20:26:25 2018 New Revision: 336841 URL: https://svnweb.freebsd.org/changeset/base/336841 Log: Fix `make distribute' installing some configs which means CONFS was broken with etcupdate and mergemaster. Approved by: bapt (mentor) Differential Revision:

svn commit: r336843 - head/share/mk

2018-07-28 Thread Brad Davis
Author: brd Date: Sat Jul 28 20:31:03 2018 New Revision: 336843 URL: https://svnweb.freebsd.org/changeset/base/336843 Log: Whitespace only change, no functional change intended. The padding makes it much easier to read, but occasionally means that commits like this one have to be done to

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

2018-07-28 Thread Konstantin Belousov
On Sat, Jul 28, 2018 at 01:16:45PM -0700, Conrad Meyer wrote: > On Sat, Jul 28, 2018 at 1:06 PM, Konstantin Belousov > wrote: > > On Sat, Jul 28, 2018 at 07:08:00PM +, Conrad Meyer wrote: > >> For unclear reasons, POSIX' definition of these routines spells NULL as > >> "(char *)0." This i

svn commit: r336844 - head

2018-07-28 Thread Emmanuel Vadot
Author: manu Date: Sat Jul 28 20:33:08 2018 New Revision: 336844 URL: https://svnweb.freebsd.org/changeset/base/336844 Log: UPDATING: Add note about efifb support and serial output Modified: head/UPDATING Modified: head/UPDATING ===

svn commit: r336845 - in head: etc etc/defaults etc/rc.d sbin/init sbin/init/rc.d

2018-07-28 Thread Brad Davis
Author: brd Date: Sat Jul 28 20:36:23 2018 New Revision: 336845 URL: https://svnweb.freebsd.org/changeset/base/336845 Log: Move rc startup scripts from etc/ to sbin/init/ This keeps most startup scripts as CONFS per discussion on src-committers from back during BSDCan. Approved by:

svn commit: r336847 - in head: etc etc/defaults sbin/init

2018-07-28 Thread Brad Davis
Author: brd Date: Sat Jul 28 20:41:33 2018 New Revision: 336847 URL: https://svnweb.freebsd.org/changeset/base/336847 Log: Opps, I missed moving a couple of files in r336845. Approved by: will (mentor) Differential Revision:https://reviews.freebsd.org/D16466 Added: head/sbin/i

svn commit: r336848 - head/release/arm

2018-07-28 Thread Emmanuel Vadot
Author: manu Date: Sat Jul 28 20:45:36 2018 New Revision: 336848 URL: https://svnweb.freebsd.org/changeset/base/336848 Log: release: arm: Add a GENERIC sdcard image This produce a generic sdcard image using armv7 GENERIC kernel that just need some u-boot (or none if the board have u-boot

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

2018-07-28 Thread Conrad Meyer
On Sat, Jul 28, 2018 at 1:32 PM, Konstantin Belousov wrote: > Our existing practice is to not provide an advise in the man pages > for the userspace code which would harm the portability or the standard > conformance. Perhaps, but you do not have to look beyond this manual page to find that such

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

2018-07-28 Thread Konstantin Belousov
On Sat, Jul 28, 2018 at 01:59:16PM -0700, Conrad Meyer wrote: > On Sat, Jul 28, 2018 at 1:32 PM, Konstantin Belousov > wrote: > > Our existing practice is to not provide an advise in the man pages > > for the userspace code which would harm the portability or the standard > > conformance. > > Per

svn commit: r336849 - head/sbin/init

2018-07-28 Thread Brad Davis
Author: brd Date: Sat Jul 28 23:02:10 2018 New Revision: 336849 URL: https://svnweb.freebsd.org/changeset/base/336849 Log: Switch these to CONFS as well so they work with etcupdate/mergemaster. Approved by: will (mentor) Modified: head/sbin/init/Makefile Modified: head/sbin/init/Makefi

svn commit: r336850 - in head: etc usr.sbin/nscd

2018-07-28 Thread Brad Davis
Author: brd Date: Sat Jul 28 23:29:36 2018 New Revision: 336850 URL: https://svnweb.freebsd.org/changeset/base/336850 Log: Move nscd.conf from etc/ to usr.sbin/nscd/ Approved by: will (mentor) Differential Revision:https://reviews.freebsd.org/D16490 Added: head/usr.sbin/nscd/n

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

2018-07-28 Thread Conrad Meyer
Author: cem Date: Sat Jul 28 23:55:18 2018 New Revision: 336852 URL: https://svnweb.freebsd.org/changeset/base/336852 Log: exec.3: Add BUGS section and document non-FreeBSD portability Requested by: kib (in part) Modified: head/lib/libc/gen/exec.3 Modified: head/lib/libc/gen/exec.3

svn commit: r336853 - head/usr.sbin/wpa/wpa_supplicant

2018-07-28 Thread Conrad Meyer
Author: cem Date: Sat Jul 28 23:59:36 2018 New Revision: 336853 URL: https://svnweb.freebsd.org/changeset/base/336853 Log: wpa_supplicant.8: Remove removed option Our base version of wpa_supplicant does not support the -u option, so remove it. PR: 230102 Submitted by: D G

svn commit: r336854 - in head: contrib/libarchive/cat contrib/libarchive/cpio contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar contrib/libarchive/tar/test con...

2018-07-28 Thread Martin Matuska
Author: mm Date: Sun Jul 29 00:12:16 2018 New Revision: 336854 URL: https://svnweb.freebsd.org/changeset/base/336854 Log: MFV r336851: Update vendor/libarchive/dist to git 2c8c83b9731ff822fad6cc8c670ea5519c366a14 Important vendor changes: PR #993: Chdir to -C directory for metalog

svn commit: r336855 - head/sys/kern

2018-07-28 Thread Don Lewis
Author: truckman Date: Sun Jul 29 00:30:06 2018 New Revision: 336855 URL: https://svnweb.freebsd.org/changeset/base/336855 Log: Fix the long term ULE load balancer so that it actually works. The initial call to sched_balance() during startup is meant to initialize balance_ticks, but does no

Re: svn commit: r336526 - head

2018-07-28 Thread Will Andrews
Hi Ravi, Thanks for taking an initial stab, I applied your patch and quickly realized the problem is deeper than it looks. This is because installworld and the second stage of mergemaster/etcupdate require the "pre" phase to take effect in their view of the system (specifically, the "ntpd" user m

svn commit: r336856 - head/tools/build

2018-07-28 Thread Will Andrews
Author: will Date: Sun Jul 29 01:44:26 2018 New Revision: 336856 URL: https://svnweb.freebsd.org/changeset/base/336856 Log: beinstall: perform pre-installworld steps. Since all post-installkernel steps are assumed to operate in the updated installation, it's necessary to chroot all of the

Re: svn commit: r336757 - in head: share/man/man4 share/man/man7 share/misc sys/dev/firewire sys/dev/hwpmc sys/dev/sk sys/dev/sound/pci sys/dev/sound/pcm sys/fs/nfsclient

2018-07-28 Thread Sean Chittenden
> > This may intersect badly with our current policy of not shipping any CAs in > > base. > > I objected to the conversion of http -> https in base when it started. I saw > no good reason for it, and for the very reason you site, https is totally > useless in base until you have installed CA's. T

Re: r336845

2018-07-28 Thread Brad Davis
On Sat, Jul 28, 2018, at 8:21 PM, Don Lewis wrote: > I just upgraded a machine from r336438 to r336855. When I ran > mergemaster, it asked to delete a bunch of the /etc/rc.d scripts. > Answering yes results in the machine being unbootable. > > I think that the rc.d-related changes in r336845 are

r336845

2018-07-28 Thread Don Lewis
I just upgraded a machine from r336438 to r336855. When I ran mergemaster, it asked to delete a bunch of the /etc/rc.d scripts. Answering yes results in the machine being unbootable. I think that the rc.d-related changes in r336845 are the likely culprit. The following rc.d scripts are some of th

svn commit: r336857 - head/sbin/init/rc.d

2018-07-28 Thread Brad Davis
Author: brd Date: Sun Jul 29 03:20:05 2018 New Revision: 336857 URL: https://svnweb.freebsd.org/changeset/base/336857 Log: Fix a typo that prevented some rc scripts from being installed. Approved by: will (mentor) Differential Revision:https://reviews.freebsd.org/D16495 Modified

Re: r336845

2018-07-28 Thread Brad Davis
On Sat, Jul 28, 2018, at 9:10 PM, Brad Davis wrote: > On Sat, Jul 28, 2018, at 8:21 PM, Don Lewis wrote: > > I just upgraded a machine from r336438 to r336855. When I ran > > mergemaster, it asked to delete a bunch of the /etc/rc.d scripts. > > Answering yes results in the machine being unbootable

Re: svn commit: r336744 - in head: sbin/pfctl/tests/files share/mk

2018-07-28 Thread Mark Millard via svn-src-head
Brad Davis brd at FreeBSD.org wrote on Thu Jul 26 17:11:15 UTC 2018 : > On Thu, Jul 26, 2018, at 11:09 AM, Shawn Webb wrote: > . . . > > > -FILES= ${.CURDIR}/pf.in > > > -FILES+= ${.CURDIR}/pf.include > > > -FILES+= ${.CURDIR}/pf.ok > > > +FILES!= e

Re: svn commit: r336744 - in head: sbin/pfctl/tests/files share/mk

2018-07-28 Thread Brad Davis
On Sat, Jul 28, 2018, at 9:53 PM, Mark Millard wrote: > Brad Davis brd at FreeBSD.org wrote on > Thu Jul 26 17:11:15 UTC 2018 : > > > On Thu, Jul 26, 2018, at 11:09 AM, Shawn Webb wrote: > > . . . > > > > -FILES= ${.CURDIR}/pf.in > > > > -FILES+=${.CURDIR}/pf.includ

Re: r336845

2018-07-28 Thread Don Lewis
On 28 Jul, Brad Davis wrote: > On Sat, Jul 28, 2018, at 9:10 PM, Brad Davis wrote: >> On Sat, Jul 28, 2018, at 8:21 PM, Don Lewis wrote: >> > I just upgraded a machine from r336438 to r336855. When I ran >> > mergemaster, it asked to delete a bunch of the /etc/rc.d scripts. >> > Answering yes resu

Re: r336845

2018-07-28 Thread Don Lewis
On 28 Jul, Don Lewis wrote: > On 28 Jul, Brad Davis wrote: >> On Sat, Jul 28, 2018, at 9:10 PM, Brad Davis wrote: >>> On Sat, Jul 28, 2018, at 8:21 PM, Don Lewis wrote: >>> > I just upgraded a machine from r336438 to r336855. When I ran >>> > mergemaster, it asked to delete a bunch of the /etc/rc.

Re: r336845

2018-07-28 Thread Brad Davis
On Sat, Jul 28, 2018, at 10:56 PM, Don Lewis wrote: > On 28 Jul, Don Lewis wrote: > > On 28 Jul, Brad Davis wrote: > >> On Sat, Jul 28, 2018, at 9:10 PM, Brad Davis wrote: > >>> On Sat, Jul 28, 2018, at 8:21 PM, Don Lewis wrote: > >>> > I just upgraded a machine from r336438 to r336855. When I ran

svn commit: r336859 - head/sbin/init/rc.d

2018-07-28 Thread Don Lewis
Author: truckman Date: Sun Jul 29 05:42:07 2018 New Revision: 336859 URL: https://svnweb.freebsd.org/changeset/base/336859 Log: Fix a variable name typo in r336845 that prevented the rc.d scripts from being installed in the correct directory. Resurrect a few rc.d scripts that were prematu

Re: r336845

2018-07-28 Thread Don Lewis
On 28 Jul, Brad Davis wrote: > On Sat, Jul 28, 2018, at 10:56 PM, Don Lewis wrote: >> On 28 Jul, Don Lewis wrote: >> > On 28 Jul, Brad Davis wrote: >> >> On Sat, Jul 28, 2018, at 9:10 PM, Brad Davis wrote: >> >>> On Sat, Jul 28, 2018, at 8:21 PM, Don Lewis wrote: >> >>> > I just upgraded a machine

Re: r336845

2018-07-28 Thread Brad Davis
On Sat, Jul 28, 2018, at 11:42 PM, Don Lewis wrote: > On 28 Jul, Brad Davis wrote: > > On Sat, Jul 28, 2018, at 10:56 PM, Don Lewis wrote: > >> On 28 Jul, Don Lewis wrote: > >> > On 28 Jul, Brad Davis wrote: > >> >> On Sat, Jul 28, 2018, at 9:10 PM, Brad Davis wrote: > >> >>> On Sat, Jul 28, 2018,