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: https

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 p

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 handle

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: https://svnweb.freebsd.org/ch

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$copyin_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/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 around

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. Re

Re: svn commit: r336867 - head/sbin/devd [This broke the gcc 4.2.1 based builds for ci.freebsd.org 's FreeBSD-head-*-build 's]

2018-07-29 Thread Eitan Adler
On Sun, 29 Jul 2018 at 13:13, Mark Millard wrote: > > For example: > > https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build/6718/consoleText Thanks! I had thought that nullptr is older than it actually is. Reverted. -- Eitan Adler Source, Ports, Doc committer Bugmeister, Ports Security team

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: h

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 ke

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

2018-07-29 Thread Mark Millard via svn-src-head
On 2018-Jul-28, at 8:59 PM, Brad Davis wrote: > 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 >>>

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: r336867 - head/sbin/devd [This broke the gcc 4.2.1 based builds for ci.freebsd.org 's FreeBSD-head-*-build 's]

2018-07-29 Thread Mark Millard via svn-src-head
For example: https://ci.freebsd.org/job/FreeBSD-head-powerpc64-build/6718/consoleText reports: --- all_subdir_sbin --- /usr/src/sbin/devd/devd.cc: In function 'int my_system(const char*)': /usr/src/sbin/devd/devd.cc:265: error: 'nullptr' was not declared in this scope The following also fail:

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, K

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 Re

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 proc

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 28

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 > > >> URL:

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: https://svnweb.free

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 script

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 scri

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 message

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 co

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 "bootstrap.memory_

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: 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: 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 ==

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