svn commit: r340276 - in head: contrib/netbsd-tests/lib/libc/locale lib/libc/locale

2018-11-08 Thread Yuri Pankov
Author: yuripv Date: Fri Nov 9 03:32:53 2018 New Revision: 340276 URL: https://svnweb.freebsd.org/changeset/base/340276 Log: Reset persistent mbstates when rune locale encoding changes. This was shown to be a problem by side effect of now-enabled test case, which was going through C,

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

2018-11-08 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 00:46:50 2018 New Revision: 340275 URL: https://svnweb.freebsd.org/changeset/base/340275 Log: Regen after r340274: Make freebsd32_utmx_op follow the freebsd32_foo convention. Modified: head/sys/compat/freebsd32/freebsd32_proto.h

svn commit: r340274 - in head/sys: compat/freebsd32 kern

2018-11-08 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 00:46:10 2018 New Revision: 340274 URL: https://svnweb.freebsd.org/changeset/base/340274 Log: Make freebsd32_umtx_op follow the freebsd32_foo convention. Sponsored by: DARPA, AFRL Modified: head/sys/compat/freebsd32/syscalls.master

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

2018-11-08 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 00:22:45 2018 New Revision: 340273 URL: https://svnweb.freebsd.org/changeset/base/340273 Log: Regen after 340272: Make __sysctl follow the freebsd32_foo convention Sponsored by: DARPA, AFRL Modified: head/sys/compat/freebsd32/freebsd32_proto.h

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

2018-11-08 Thread Brooks Davis
Author: brooks Date: Fri Nov 9 00:21:58 2018 New Revision: 340272 URL: https://svnweb.freebsd.org/changeset/base/340272 Log: Make __sysctl follow the freebsd32_foo convention. Sponsored by: DARPA, AFRL Modified: head/sys/compat/freebsd32/freebsd32_misc.c

Re: svn commit: r340231 - head/sys/kern

2018-11-08 Thread Konstantin Belousov
On Thu, Nov 08, 2018 at 02:35:50PM -0800, John Baldwin wrote: > On 11/8/18 12:12 PM, Konstantin Belousov wrote: > >> Regardless, for the purposes of this sysctl, is there any reason we can't > >> just define it to 1 always now? It is only honored if the architecture > >> is using a shared page to

Re: svn commit: r340231 - head/sys/kern

2018-11-08 Thread John Baldwin
On 11/8/18 12:12 PM, Konstantin Belousov wrote: > On Thu, Nov 08, 2018 at 11:49:28AM -0800, John Baldwin wrote: >> On 11/7/18 3:08 PM, Konstantin Belousov wrote: >>> On Wed, Nov 07, 2018 at 01:35:57PM -0800, John Baldwin wrote: On 11/7/18 1:01 PM, Ed Schouten wrote: > Op wo 7 nov. 2018 om

svn commit: r340265 - head/sys/netpfil/pf

2018-11-08 Thread Kristof Provost
Author: kp Date: Thu Nov 8 21:54:40 2018 New Revision: 340265 URL: https://svnweb.freebsd.org/changeset/base/340265 Log: pf: Prevent tables referenced by rules in anchors from getting disabled. PR: 183198 Obtained from:OpenBSD MFC after:2 weeks Modified:

svn commit: r340266 - head/tests/sys/netpfil/pf

2018-11-08 Thread Kristof Provost
Author: kp Date: Thu Nov 8 21:56:06 2018 New Revision: 340266 URL: https://svnweb.freebsd.org/changeset/base/340266 Log: pf tests: Test PR 183198 Create a table which is only used inside an anchor, ensure that the table exists. PR: 183198 MFC after:2 weeks Added:

svn commit: r340264 - head/sbin/pfctl

2018-11-08 Thread Kristof Provost
Author: kp Date: Thu Nov 8 21:53:09 2018 New Revision: 340264 URL: https://svnweb.freebsd.org/changeset/base/340264 Log: pfctl: Populate ifname in ifa_lookup() pfctl_adjust_skip_ifaces() relies on this name. MFC after:2 weeks Modified: head/sbin/pfctl/pfctl_parser.c Modified:

svn commit: r340262 - head/sys/powerpc/powerpc

2018-11-08 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 8 20:48:44 2018 New Revision: 340262 URL: https://svnweb.freebsd.org/changeset/base/340262 Log: powerpc64: Fix "show spr" command on ELFv2 kernels Summary: When compiling for ELFv2, it is necessary to adjust the offset to get_spr and factor in the function

svn commit: r340261 - head/sys/powerpc/powernv

2018-11-08 Thread Justin Hibbits
Author: jhibbits Date: Thu Nov 8 20:31:12 2018 New Revision: 340261 URL: https://svnweb.freebsd.org/changeset/base/340261 Log: powerpc/powernv: Restrict the busdma tag to only POWER8 It seems this tag is causing problems on POWER9 systems. Since no POWER9 user has encountered the

Re: svn commit: r340187 - head/sys/geom

2018-11-08 Thread Mark Linimon
On Wed, Nov 07, 2018 at 08:59:24AM -0800, Rodney W. Grimes wrote: > freebsd-geom is also probably a pretty short list. IMHO it's one of our mailing lists that became obsolete once the initial work was done. The bugbusters still assign to these lists, however. ISTM that some of these assignee

svn commit: r340260 - head/sys/netinet

2018-11-08 Thread Ed Maste
Author: emaste Date: Thu Nov 8 20:17:36 2018 New Revision: 340260 URL: https://svnweb.freebsd.org/changeset/base/340260 Log: Avoid buffer underwrite in icmp_error icmp_error allocates either an mbuf (with pkthdr) or a cluster depending on the size of data to be quoted in the ICMP reply,

Re: svn commit: r340231 - head/sys/kern

2018-11-08 Thread Konstantin Belousov
On Thu, Nov 08, 2018 at 11:49:28AM -0800, John Baldwin wrote: > On 11/7/18 3:08 PM, Konstantin Belousov wrote: > > On Wed, Nov 07, 2018 at 01:35:57PM -0800, John Baldwin wrote: > >> On 11/7/18 1:01 PM, Ed Schouten wrote: > >>> Op wo 7 nov. 2018 om 19:32 schreef John Baldwin : > Modified:

svn commit: r340257 - head/sys/netinet6

2018-11-08 Thread Eric van Gyzen
Author: vangyzen Date: Thu Nov 8 19:50:23 2018 New Revision: 340257 URL: https://svnweb.freebsd.org/changeset/base/340257 Log: in6_ifattach_linklocal: handle immediate removal of the new LLA If another thread immediately removes the link-local address added by in6_update_ifa(),

Re: svn commit: r340231 - head/sys/kern

2018-11-08 Thread John Baldwin
On 11/7/18 3:08 PM, Konstantin Belousov wrote: > On Wed, Nov 07, 2018 at 01:35:57PM -0800, John Baldwin wrote: >> On 11/7/18 1:01 PM, Ed Schouten wrote: >>> Op wo 7 nov. 2018 om 19:32 schreef John Baldwin : Modified: head/sys/kern/imgact_elf.c

Re: svn commit: r340242 - head

2018-11-08 Thread John Baldwin
On 11/7/18 4:35 PM, Brooks Davis wrote: > Author: brooks > Date: Thu Nov 8 00:35:00 2018 > New Revision: 340242 > URL: https://svnweb.freebsd.org/changeset/base/340242 > > Log: > Add a top-level make target to rebuild all sysent files. > > The sysent target is useful when changing

svn commit: r340256 - head/sys/dev/ixl

2018-11-08 Thread Eric Joyner
Author: erj Date: Thu Nov 8 19:10:43 2018 New Revision: 340256 URL: https://svnweb.freebsd.org/changeset/base/340256 Log: ixl/iavf(4): Fix TSO offloads when TXCSUM is disabled From Jake: The iflib stack does not disable TSO automatically when TXCSUM is disabled, instead assuming that

svn commit: r340255 - head/sys/conf

2018-11-08 Thread Mark Johnston
Author: markj Date: Thu Nov 8 17:20:00 2018 New Revision: 340255 URL: https://svnweb.freebsd.org/changeset/base/340255 Log: Use --work-tree instead of specifying an absolute path. Otherwise the diff command being run from outside the checkout resulted in warnings. Discussed with:

svn commit: r340254 - head/usr.sbin/newsyslog/newsyslog.conf.d

2018-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 17:00:05 2018 New Revision: 340254 URL: https://svnweb.freebsd.org/changeset/base/340254 Log: Put a size limit on the opensm.log and use bzip2(1). Discussed with: markj@ Sponsored by: Mellanox Technologies Modified:

Re: svn commit: r340246 - head/usr.sbin/newsyslog

2018-11-08 Thread Mark Johnston
On Thu, Nov 08, 2018 at 05:24:49PM +0100, Hans Petter Selasky wrote: > On 11/8/18 5:14 PM, Mark Johnston wrote: > > On Thu, Nov 08, 2018 at 12:43:14PM +, Hans Petter Selasky wrote: > >> Author: hselasky > >> Date: Thu Nov 8 12:43:13 2018 > >> New Revision: 340246 > >> URL:

Re: svn commit: r340242 - head

2018-11-08 Thread Brooks Davis
On Thu, Nov 08, 2018 at 06:23:55AM +, Bjoern A. Zeeb wrote: > On 8 Nov 2018, at 0:35, Brooks Davis wrote: > > > Author: brooks > > Date: Thu Nov 8 00:35:00 2018 > > New Revision: 340242 > > URL: https://svnweb.freebsd.org/changeset/base/340242 > > > > Log: > > Add a top-level make target

Re: svn commit: r340246 - head/usr.sbin/newsyslog

2018-11-08 Thread Hans Petter Selasky
On 11/8/18 5:14 PM, Mark Johnston wrote: On Thu, Nov 08, 2018 at 12:43:14PM +, Hans Petter Selasky wrote: Author: hselasky Date: Thu Nov 8 12:43:13 2018 New Revision: 340246 URL: https://svnweb.freebsd.org/changeset/base/340246 Log: Add /var/log/opensm.log to list of rotating log

svn commit: r340253 - head/usr.sbin/newsyslog

2018-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 16:23:09 2018 New Revision: 340253 URL: https://svnweb.freebsd.org/changeset/base/340253 Log: Revert r340246. Sponsored by: Mellanox Technologies Modified: head/usr.sbin/newsyslog/newsyslog.conf Modified: head/usr.sbin/newsyslog/newsyslog.conf

Re: svn commit: r340246 - head/usr.sbin/newsyslog

2018-11-08 Thread Mark Johnston
On Thu, Nov 08, 2018 at 12:43:14PM +, Hans Petter Selasky wrote: > Author: hselasky > Date: Thu Nov 8 12:43:13 2018 > New Revision: 340246 > URL: https://svnweb.freebsd.org/changeset/base/340246 > > Log: > Add /var/log/opensm.log to list of rotating log files. > > MFC after:

svn commit: r340252 - head/sys/amd64/amd64

2018-11-08 Thread Mateusz Guzik
Author: mjg Date: Thu Nov 8 15:12:36 2018 New Revision: 340252 URL: https://svnweb.freebsd.org/changeset/base/340252 Log: amd64: align memset buffers to 16 bytes before using rep stos Both Intel manual and Agner Fog's docs suggest aligning to 16. See the review for benchmark results.

Re: svn commit: r340241 - head/sys/vm

2018-11-08 Thread Jonathan T. Looney
Nice find! Jonathan On Wed, Nov 7, 2018 at 6:28 PM Mark Johnston wrote: > Author: markj > Date: Wed Nov 7 23:28:11 2018 > New Revision: 340241 > URL: https://svnweb.freebsd.org/changeset/base/340241 > > Log: > Fix a use-after-free in swp_pager_meta_free(). > > This was introduced in

svn commit: r340251 - head/share/man/man4

2018-11-08 Thread Bjoern A. Zeeb
Author: bz Date: Thu Nov 8 14:46:21 2018 New Revision: 340251 URL: https://svnweb.freebsd.org/changeset/base/340251 Log: Update rum(4) and run(4) man pages to reflect that newer versions of TP-LINK TL-WN321G are run(4) and not rum(4) anymore. Reported by: J (tech-lists zyxst.net) MFC

svn commit: r340249 - head/sbin/ipfw

2018-11-08 Thread Eugene Grosbein
Author: eugen Date: Thu Nov 8 13:17:38 2018 New Revision: 340249 URL: https://svnweb.freebsd.org/changeset/base/340249 Log: ipfw.8: fix small syntax error in an example MFC after:3 days Modified: head/sbin/ipfw/ipfw.8 Modified: head/sbin/ipfw/ipfw.8

svn commit: r340248 - head/sys/dev/sound/usb

2018-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 12:46:47 2018 New Revision: 340248 URL: https://svnweb.freebsd.org/changeset/base/340248 Log: Don't read the USB audio sync endpoint when we don't use it to save isochronous bandwidth. MFC after:3 days Sponsored by: Mellanox

svn commit: r340246 - head/usr.sbin/newsyslog

2018-11-08 Thread Hans Petter Selasky
Author: hselasky Date: Thu Nov 8 12:43:13 2018 New Revision: 340246 URL: https://svnweb.freebsd.org/changeset/base/340246 Log: Add /var/log/opensm.log to list of rotating log files. MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r340245 - head/sbin/ping

2018-11-08 Thread Eugene Grosbein
Author: eugen Date: Thu Nov 8 09:45:13 2018 New Revision: 340245 URL: https://svnweb.freebsd.org/changeset/base/340245 Log: ping(8): improve diagnostics in case of wrong arguments. For example, in case of super-user: $ sudo ping -s -64 127.0.0.1 PING 127.0.0.1 (127.0.0.1): -64 data