Re: svn commit: r318262 - head/usr.sbin/mountd

2017-05-13 Thread Bruce Evans
On Sun, 14 May 2017, Rick Macklem wrote: Log: Change the default uid/gid values for nobody/nogroup to 65534/65533. The default values found in /etc/passwd and /etc/group are 65534, 65533. In mountd.c, the defaults were -2, which was 65534 back when uid_t was 16bits. Without this patch, a fi

svn commit: r318262 - head/usr.sbin/mountd

2017-05-13 Thread Rick Macklem
Author: rmacklem Date: Sun May 14 00:38:41 2017 New Revision: 318262 URL: https://svnweb.freebsd.org/changeset/base/318262 Log: Change the default uid/gid values for nobody/nogroup to 65534/65533. The default values found in /etc/passwd and /etc/group are 65534, 65533. In mountd.c, the de

svn commit: r318261 - stable/10/sys/fs/nfsclient

2017-05-13 Thread Rick Macklem
Author: rmacklem Date: Sun May 14 00:23:27 2017 New Revision: 318261 URL: https://svnweb.freebsd.org/changeset/base/318261 Log: MFC: r317576 Modify the NFSv4.1/pNFS client to ask for a maximum length of layout. The code specified the length of a layout as INT64_MAX instead of UINT64_MAX

svn commit: r318260 - stable/11/sys/fs/nfsclient

2017-05-13 Thread Rick Macklem
Author: rmacklem Date: Sun May 14 00:12:29 2017 New Revision: 318260 URL: https://svnweb.freebsd.org/changeset/base/318260 Log: MFC: r317576 Modify the NFSv4.1/pNFS client to ask for a maximum length of layout. The code specified the length of a layout as INT64_MAX instead of UINT64_MAX

svn commit: r318259 - head/lib/msun/src

2017-05-13 Thread Dimitry Andric
Author: dim Date: Sat May 13 22:36:54 2017 New Revision: 318259 URL: https://svnweb.freebsd.org/changeset/base/318259 Log: Silence a -Wunused warning about the junk variable being used to raise an inexact floating point exception. The variable cannot be eliminated, unfortunately, otherwise

svn commit: r318258 - head/bin/sh/tests/builtins

2017-05-13 Thread Jilles Tjoelker
Author: jilles Date: Sat May 13 20:28:32 2017 New Revision: 318258 URL: https://svnweb.freebsd.org/changeset/base/318258 Log: sh: Add test for arithmetic expansion in [x-y] pattern range. It does not make much sense to generate the '-' in a pattern bracket expression using arithmetic expa

svn commit: r318257 - head/usr.bin/localedef

2017-05-13 Thread Ngie Cooper
Author: ngie Date: Sat May 13 19:59:03 2017 New Revision: 318257 URL: https://svnweb.freebsd.org/changeset/base/318257 Log: style(9): sort headers MFC after:3 weeks Sponsored by: Dell EMC Isilon Modified: head/usr.bin/localedef/localedef.h Modified: head/usr.bin/localedef/localede

svn commit: r318256 - head/libexec/rtld-elf

2017-05-13 Thread Konstantin Belousov
Author: kib Date: Sat May 13 18:59:27 2017 New Revision: 318256 URL: https://svnweb.freebsd.org/changeset/base/318256 Log: In _rtld(), reorder local declarations to compact the block and partially sort them by style(9). Move locals declarations from nested blocks into the block at function

svn commit: r318255 - in head/sys: netinet netinet6

2017-05-13 Thread Ngie Cooper
Author: ngie Date: Sat May 13 18:41:24 2017 New Revision: 318255 URL: https://svnweb.freebsd.org/changeset/base/318255 Log: Add missing braces around MCAST_EXCLUDE check when KTR support is compiled into the kernel This ensures that .iss_asm (the number of ASM listeners) isn't incorrectly

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Nikolai Lifanov
On 05/13/2017 13:21, Ngie Cooper (yaneurabeya) wrote: > Even ansible/chef/puppet would have to bake the configuration removal logic > into its template files, which seems like a pain for folks (and the same > logic would need to be implemented multiple times instead of once). Having to template

svn commit: r318254 - head/lib/libthr/thread

2017-05-13 Thread Jason Evans
Author: jasone Date: Sat May 13 17:49:53 2017 New Revision: 318254 URL: https://svnweb.freebsd.org/changeset/base/318254 Log: Fix __pthread_mutex_trylock() to call THR_CRITICAL_LEAVE() on failure rather than on success. This regression was introduced by r300043 (Add implementation of robus

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Ngie Cooper (yaneurabeya)
> On May 13, 2017, at 9:51 AM, Alexey Dokuchaev wrote: > > On Sat, May 13, 2017 at 10:24:20AM -0600, Ian Lepore wrote: >> ... >> The evolution for years has been away from monolithic config files >> containing a mashup of values for unrelated subsystems and towards >> .conf.d directories contain

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Ngie Cooper (yaneurabeya)
> On May 13, 2017, at 9:39 AM, Warner Losh wrote: > > On Sat, May 13, 2017 at 10:32 AM, Ngie Cooper > wrote: >> >>> On May 13, 2017, at 09:29, Ngie Cooper wrote: >>> >>> On May 13, 2017, at 08:37, Rodney W. Grimes >>> wrote: >>> > Author: ngie > Date:

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Alexey Dokuchaev
On Sat, May 13, 2017 at 10:24:20AM -0600, Ian Lepore wrote: > ... > The evolution for years has been away from monolithic config files > containing a mashup of values for unrelated subsystems and towards > .conf.d directories containing many single-subject files. This "evolution" had probably orig

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Warner Losh
On Sat, May 13, 2017 at 10:32 AM, Ngie Cooper wrote: > >> On May 13, 2017, at 09:29, Ngie Cooper wrote: >> >> On May 13, 2017, at 08:37, Rodney W. Grimes >> wrote: >> Author: ngie Date: Sat May 13 03:10:50 2017 New Revision: 318250 URL: https://svnweb.freebsd.org/changeset/b

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Ngie Cooper
> On May 13, 2017, at 09:29, Ngie Cooper wrote: > > On May 13, 2017, at 08:37, Rodney W. Grimes > wrote: > >>> Author: ngie >>> Date: Sat May 13 03:10:50 2017 >>> New Revision: 318250 >>> URL: https://svnweb.freebsd.org/changeset/base/318250 >>> >>> Log: >>> Handle the logfiles in newsyslog

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Ngie Cooper
On May 13, 2017, at 08:37, Rodney W. Grimes wrote: >> Author: ngie >> Date: Sat May 13 03:10:50 2017 >> New Revision: 318250 >> URL: https://svnweb.freebsd.org/changeset/base/318250 >> >> Log: >> Handle the logfiles in newsyslog and syslogd conditionally, based on >> src.conf(5) knobs >> >>

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Alexey Dokuchaev
On Sat, May 13, 2017 at 08:37:42AM -0700, Rodney W. Grimes wrote: > > New Revision: 318250 > > URL: https://svnweb.freebsd.org/changeset/base/318250 > > > > Log: > > Handle the logfiles in newsyslog and syslogd conditionally, based on > > src.conf(5) knobs > > > > This will allow consumer

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Ian Lepore
On Sat, 2017-05-13 at 08:37 -0700, Rodney W. Grimes wrote: > > > > Author: ngie > > Date: Sat May 13 03:10:50 2017 > > New Revision: 318250 > > URL: https://svnweb.freebsd.org/changeset/base/318250 > > > > Log: > >   Handle the logfiles in newsyslog and syslogd conditionally, based on > >   src.c

Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk

2017-05-13 Thread Rodney W. Grimes
> Author: ngie > Date: Sat May 13 03:10:50 2017 > New Revision: 318250 > URL: https://svnweb.freebsd.org/changeset/base/318250 > > Log: > Handle the logfiles in newsyslog and syslogd conditionally, based on > src.conf(5) knobs > > This will allow consumers of FreeBSD to use the unmodified

svn commit: r318253 - head/sys/arm64/include

2017-05-13 Thread Andrew Turner
Author: andrew Date: Sat May 13 13:03:20 2017 New Revision: 318253 URL: https://svnweb.freebsd.org/changeset/base/318253 Log: Allocate a cacheline when reading or writing to write through memory. The hardware will still write to memory, however following reads will be from the cache. MF

svn commit: r318252 - head/sys/arm64/include

2017-05-13 Thread Andrew Turner
Author: andrew Date: Sat May 13 13:01:15 2017 New Revision: 318252 URL: https://svnweb.freebsd.org/changeset/base/318252 Log: Add the VM_MEMATTR_WRITE_THROUGH memory type to arm64 and use it to support VM_MEMATTR_WRITE_COMBINING in the kernel. This fixes a bug where Xorg would use write back

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

2017-05-13 Thread Michal Meloun
Author: mmel Date: Sat May 13 10:00:24 2017 New Revision: 318251 URL: https://svnweb.freebsd.org/changeset/base/318251 Log: Clarify usage rules for pmap_remap_vm_attr(). Not a functional change. MFC with: r318021 MFC after:2 weeks Modified: head/sys/arm/arm/pmap-v6.c Modifie