Re: svn commit: r336465 - in head/sys/netinet: . tcp_stacks

2018-07-29 Thread Kurt Lidl
On 7/19/18 9:18 AM, Maxim Konovalov wrote: On Thu, 19 Jul 2018, 08:09-0400, Michael Tuexen wrote: On 19. Jul 2018, at 03:12, Maxim Konovalov wrote: Hi Randall, On Wed, 18 Jul 2018, 22:49-, Randall Stewart wrote: Author: rrs Date: Wed Jul 18 22:49:53 2018 New Revision: 336465 URL:

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

2018-07-29 Thread Alan Cox
Author: alc Date: Mon Jul 30 01:54:25 2018 New Revision: 336881 URL: https://svnweb.freebsd.org/changeset/base/336881 Log: Prepare for adding psind == 1 support to armv6's pmap_enter(). Precompute the new PTE before entering the critical section. Eliminate duplication of the pmap and

svn commit: r336880 - stable/11/contrib/llvm/tools/lld/ELF

2018-07-29 Thread Ed Maste
Author: emaste Date: Mon Jul 30 00:08:36 2018 New Revision: 336880 URL: https://svnweb.freebsd.org/changeset/base/336880 Log: MFC r336664: lld: fix addends with partial linking [ELF] Update addends in non-allocatable sections for REL targets when creating a relocatable output. LLVM

svn commit: r336879 - head

2018-07-29 Thread Ed Maste
Author: emaste Date: Mon Jul 30 00:04:42 2018 New Revision: 336879 URL: https://svnweb.freebsd.org/changeset/base/336879 Log: Correct typo and whitespace in UPDATING PR: 230124 Submitted by: Samy Mahmoudi Modified: head/UPDATING Modified: head/UPDATING

Re: svn commit: r336876 - in head/sys: amd64/amd64 amd64/ia32 amd64/include conf dev/hyperv/vmbus/amd64

2018-07-29 Thread Konstantin Belousov
On Mon, Jul 30, 2018 at 01:26:51AM +0200, Oliver Pinter wrote: > On 7/30/18, Konstantin Belousov wrote: > >> testq %r9,%r9 > >> jz 1f > >> subq%rdx,%r8 > >> movq%r8,(%r9) << Here you access user-space, with cleared > >> RFLAGS.AC from the fault

Re: svn commit: r336876 - in head/sys: amd64/amd64 amd64/ia32 amd64/include conf dev/hyperv/vmbus/amd64

2018-07-29 Thread Oliver Pinter
On 7/30/18, Konstantin Belousov wrote: > Please trim useless content. > Did I missed anything interesting in your mail ? > > On Sun, Jul 29, 2018 at 11:57:47PM +0200, Oliver Pinter wrote: >> On 7/29/18, Konstantin Belousov wrote: >> > +ENTRY(copyin_smap) >> > + PUSH_FRAME_POINTER >> > + movq

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

2018-07-29 Thread Don Lewis
On 29 Jul, Ian Lepore wrote: > On Sun, 2018-07-29 at 09:59 -0700, Don Lewis wrote: >> On 29 Jul, Ian Lepore wrote: >> > On Sun, 2018-07-29 at 05:42 +, Don Lewis wrote: >> >> Author: truckman >> >> Date: Sun Jul 29 05:42:07 2018 >> >> New Revision: 336859 >> >> URL:

Re: svn commit: r336876 - in head/sys: amd64/amd64 amd64/ia32 amd64/include conf dev/hyperv/vmbus/amd64

2018-07-29 Thread Konstantin Belousov
Please trim useless content. Did I missed anything interesting in your mail ? On Sun, Jul 29, 2018 at 11:57:47PM +0200, Oliver Pinter wrote: > On 7/29/18, Konstantin Belousov wrote: > > +ENTRY(copyin_smap) > > + PUSH_FRAME_POINTER > > + movqPCPU(CURPCB),%rax > > + movq

Re: svn commit: r336876 - in head/sys: amd64/amd64 amd64/ia32 amd64/include conf dev/hyperv/vmbus/amd64

2018-07-29 Thread Oliver Pinter
On 7/29/18, Konstantin Belousov wrote: > Author: kib > Date: Sun Jul 29 20:47:00 2018 > New Revision: 336876 > URL: https://svnweb.freebsd.org/changeset/base/336876 > > Log: > Use SMAP on amd64. > > Ifuncs selectors dispatch copyin(9) family to the suitable variant, to > set rflags.AC

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

2018-07-29 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 29 21:51:17 2018 New Revision: 336878 URL: https://svnweb.freebsd.org/changeset/base/336878 Log: Silence newer gcc warnings. Newer versions of gcc generate "set, but not used" warnings in the NFS server. Add __unused macros to silence these warnings.

svn commit: r336877 - head/sbin/devd

2018-07-29 Thread Eitan Adler
Author: eadler Date: Sun Jul 29 21:00:18 2018 New Revision: 336877 URL: https://svnweb.freebsd.org/changeset/base/336877 Log: Revert "devd: use C++ style casts" It seems that nullptr is not yet supported by all compilers used by FreeBSD. :( Modified: head/sbin/devd/devd.cc Modified:

svn commit: r336876 - in head/sys: amd64/amd64 amd64/ia32 amd64/include conf dev/hyperv/vmbus/amd64

2018-07-29 Thread Konstantin Belousov
Author: kib Date: Sun Jul 29 20:47:00 2018 New Revision: 336876 URL: https://svnweb.freebsd.org/changeset/base/336876 Log: Use SMAP on amd64. Ifuncs selectors dispatch copyin(9) family to the suitable variant, to set rflags.AC around userspace access. Rflags.AC bit is cleared in all

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

2018-07-29 Thread Alan Somers
Author: asomers Date: Sun Jul 29 20:34:44 2018 New Revision: 336875 URL: https://svnweb.freebsd.org/changeset/base/336875 Log: audit(4): add tests for sysctl(3) and sysarch(2) Submitted by: aniketp MFC after:2 weeks Sponsored by: Google, Inc. (GSoC 2018) Differential Revision:

Re: svn commit: r336526 - head

2018-07-29 Thread Ravi Pokala
-Original Message- From: Will Andrews Date: 2018-07-28, Saturday at 18:44 To: Ravi Pokala Cc: Ian Lepore , "src-committ...@freebsd.org" , , Subject: Re: svn commit: r336526 - head > Hi Ravi, > Thanks for taking an initial stab, I applied your patch and quickly realized > the problem

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

2018-07-29 Thread Brad Davis
On Sun, Jul 29, 2018, at 12:33 PM, Konstantin Belousov wrote: > On Sun, Jul 29, 2018 at 11:51:32AM -0600, Brad Davis wrote: > > On Sun, Jul 29, 2018, at 11:44 AM, Konstantin Belousov wrote: > > > On Sun, Jul 29, 2018 at 11:01:27AM -0600, Brad Davis wrote: > > > > On Sun, Jul 29, 2018, at 9:42 AM,

svn commit: r336874 - head/sys/compat/freebsd32

2018-07-29 Thread Alan Somers
Author: asomers Date: Sun Jul 29 19:20:13 2018 New Revision: 336874 URL: https://svnweb.freebsd.org/changeset/base/336874 Log: freebsd32_getrusage(2): skip freebsd32_rusage_out on error PR: 230153 Reported by: kib MFC after:2 weeks X-MFC-With: 336871 Differential

svn commit: r336873 - stable/11/tests/sys/kern

2018-07-29 Thread Mark Johnston
Author: markj Date: Sun Jul 29 19:12:06 2018 New Revision: 336873 URL: https://svnweb.freebsd.org/changeset/base/336873 Log: MFC r336614: Add a regression test for PR 131876. PR: 131876 Modified: stable/11/tests/sys/kern/unix_passfd_test.c Directory Properties: stable/11/ (props

svn commit: r336872 - stable/11/lib/libproc/tests

2018-07-29 Thread Mark Johnston
Author: markj Date: Sun Jul 29 19:11:21 2018 New Revision: 336872 URL: https://svnweb.freebsd.org/changeset/base/336872 Log: MFC r336591: Disable optimization of the libproc test program. Modified: stable/11/lib/libproc/tests/Makefile Directory Properties: stable/11/ (props changed)

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

2018-07-29 Thread Konstantin Belousov
On Sun, Jul 29, 2018 at 11:51:32AM -0600, Brad Davis wrote: > On Sun, Jul 29, 2018, at 11:44 AM, Konstantin Belousov wrote: > > On Sun, Jul 29, 2018 at 11:01:27AM -0600, Brad Davis wrote: > > > On Sun, Jul 29, 2018, at 9:42 AM, Konstantin Belousov wrote: > > > > On Sat, Jul 28, 2018 at 08:36:23PM

svn commit: r336871 - head/sys/compat/freebsd32

2018-07-29 Thread Alan Somers
Author: asomers Date: Sun Jul 29 18:22:26 2018 New Revision: 336871 URL: https://svnweb.freebsd.org/changeset/base/336871 Log: getrusage(2): fix return value under 32-bit emulation According to the man page, getrusage(2) should return EFAULT if the rusage argument lies outside of the

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

2018-07-29 Thread Brad Davis
On Sun, Jul 29, 2018, at 11:44 AM, Konstantin Belousov wrote: > On Sun, Jul 29, 2018 at 11:01:27AM -0600, Brad Davis wrote: > > On Sun, Jul 29, 2018, at 9:42 AM, Konstantin Belousov wrote: > > > On Sat, Jul 28, 2018 at 08:36:23PM +, Brad Davis wrote: > > > > Author: brd > > > > Date: Sat Jul

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

2018-07-29 Thread Brad Davis
On Sun, Jul 29, 2018, at 11:35 AM, Ian Lepore wrote: > On Sun, 2018-07-29 at 09:59 -0700, Don Lewis wrote: > > On 29 Jul, Ian Lepore wrote: > > > On Sun, 2018-07-29 at 05:42 +, Don Lewis wrote: > > >> Author: truckman > > >> Date: Sun Jul 29 05:42:07 2018 > > >> New Revision: 336859 > > >>

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

2018-07-29 Thread Konstantin Belousov
On Sun, Jul 29, 2018 at 11:01:27AM -0600, Brad Davis wrote: > On Sun, Jul 29, 2018, at 9:42 AM, Konstantin Belousov wrote: > > On Sat, Jul 28, 2018 at 08:36:23PM +, Brad Davis wrote: > > > Author: brd > > > Date: Sat Jul 28 20:36:23 2018 > > > New Revision: 336845 > > > URL:

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

2018-07-29 Thread Ian Lepore
On Sun, 2018-07-29 at 09:59 -0700, Don Lewis wrote: > On 29 Jul, Ian Lepore wrote: > > On Sun, 2018-07-29 at 05:42 +, Don Lewis wrote: > >> Author: truckman > >> Date: Sun Jul 29 05:42:07 2018 > >> New Revision: 336859 > >> URL: https://svnweb.freebsd.org/changeset/base/336859 > >>  > >> Log:

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

2018-07-29 Thread Brad Davis
On Sun, Jul 29, 2018, at 9:42 AM, Konstantin Belousov wrote: > On Sat, Jul 28, 2018 at 08:36:23PM +, Brad Davis wrote: > > 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

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

2018-07-29 Thread Don Lewis
On 29 Jul, Ian Lepore wrote: > On Sun, 2018-07-29 at 05:42 +, Don Lewis wrote: >> 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

svn commit: r336869 - head/sys/dev/flash

2018-07-29 Thread Ian Lepore
Author: ian Date: Sun Jul 29 16:55:28 2018 New Revision: 336869 URL: https://svnweb.freebsd.org/changeset/base/336869 Log: The device ID tables are used only within the driver, make them static so that both of these drivers can exist in the same kernel. Modified: head/sys/dev/flash/mx25l.c

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

2018-07-29 Thread Konstantin Belousov
On Sat, Jul 28, 2018 at 08:36:23PM +, Brad Davis wrote: > 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/ Why all these moves are useful ? No commit

Re: svn commit: r336805 - in stable/11: share/man/man4 sys/dev/vt/hw/vga

2018-07-29 Thread Konstantin Belousov
On Sat, Jul 28, 2018 at 10:12:25PM -0700, Eitan Adler wrote: > On Sat, 28 Jul 2018 at 16:34, Konstantin Belousov wrote: > > > > On Sat, Jul 28, 2018 at 07:37:01AM +, Eitan Adler wrote: > > > Author: eadler > > > Date: Sat Jul 28 07:37:01 2018 > > > New Revision: 336805 > > > URL:

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

2018-07-29 Thread Ian Lepore
On Sun, 2018-07-29 at 05:42 +, Don Lewis wrote: > 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

svn commit: r336868 - in head: sys/kern sys/sys usr.sbin/jail

2018-07-29 Thread Antoine Brodin
Author: antoine Date: Sun Jul 29 12:41:56 2018 New Revision: 336868 URL: https://svnweb.freebsd.org/changeset/base/336868 Log: Add allow.mlock to jail parameters It allows locking or unlocking physical pages in memory within a jail This allows running elasticsearch with

svn commit: r336867 - head/sbin/devd

2018-07-29 Thread Eitan Adler
Author: eadler Date: Sun Jul 29 08:43:08 2018 New Revision: 336867 URL: https://svnweb.freebsd.org/changeset/base/336867 Log: devd: use C++ style casts Modified: head/sbin/devd/devd.cc Modified: head/sbin/devd/devd.cc

svn commit: r336866 - head/sbin/devd

2018-07-29 Thread Eitan Adler
Author: eadler Date: Sun Jul 29 08:43:05 2018 New Revision: 336866 URL: https://svnweb.freebsd.org/changeset/base/336866 Log: devd: use static where possible Modified: head/sbin/devd/devd.cc Modified: head/sbin/devd/devd.cc

svn commit: r336865 - head/usr.bin/truncate

2018-07-29 Thread Eitan Adler
Author: eadler Date: Sun Jul 29 07:51:42 2018 New Revision: 336865 URL: https://svnweb.freebsd.org/changeset/base/336865 Log: truncate: delintify Modified: head/usr.bin/truncate/truncate.c Modified: head/usr.bin/truncate/truncate.c

svn commit: r336864 - head/usr.bin/truncate

2018-07-29 Thread Eitan Adler
Author: eadler Date: Sun Jul 29 07:51:40 2018 New Revision: 336864 URL: https://svnweb.freebsd.org/changeset/base/336864 Log: truncate: use better type for 'round' Modified: head/usr.bin/truncate/truncate.c Modified: head/usr.bin/truncate/truncate.c