svn commit: r281970 - head/usr.bin/kdump

2015-04-24 Thread Maxim Sobolev
Author: sobomax Date: Sat Apr 25 04:58:08 2015 New Revision: 281970 URL: https://svnweb.freebsd.org/changeset/base/281970 Log: o Properly init prevtime, so that we don't print bogus value in the first entry reported by the relative mode (-R). o Properly print negative offsets, which I gue

svn commit: r281967 - head/lib/libc/tests/db

2015-04-24 Thread Garrett Cooper
Author: ngie Date: Sat Apr 25 04:35:43 2015 New Revision: 281967 URL: https://svnweb.freebsd.org/changeset/base/281967 Log: Assuming a system has /bin/csh on it is a bad idea (especially it being optional on FreeBSD). Look for /bin/cat instead MFC after: 3 days Modified: head/lib/libc/

svn commit: r281966 - head/contrib/netbsd-tests/lib/libpthread

2015-04-24 Thread Garrett Cooper
Author: ngie Date: Sat Apr 25 04:30:01 2015 New Revision: 281966 URL: https://svnweb.freebsd.org/changeset/base/281966 Log: Add #include sys/types.h for register_t for mips MFC after: 3 days Modified: head/contrib/netbsd-tests/lib/libpthread/t_swapcontext.c Modified: head/contrib/netbsd

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

2015-04-24 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 25 00:58:24 2015 New Revision: 281962 URL: https://svnweb.freebsd.org/changeset/base/281962 Log: Fix the NFS server's handling of a bogus NFSv2 ROOT RPC. The ROOT RPC is deprecated in the NFSv2 RFC, RFC-1094 and should never be used by a client. Tested by:

svn commit: r281959 - head/usr.bin/whois

2015-04-24 Thread Xin LI
Author: delphij Date: Sat Apr 25 00:51:44 2015 New Revision: 281959 URL: https://svnweb.freebsd.org/changeset/base/281959 Log: Try alternate addresses more agressively. Attempt to connect to alternate addresses if the connect doesn't succeed in 180ms, and cut wait time between connection

svn commit: r281960 - in head/sys: fs/nfs fs/nfsclient kern sys

2015-04-24 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 25 00:52:01 2015 New Revision: 281960 URL: https://svnweb.freebsd.org/changeset/base/281960 Log: MAXBSIZE defines both the largest UFS block size and the largest size for a buffer in the buffer cache. This patch defines a new constant MAXBCACHEBUF, which is the

svn commit: r281956 - in head/sys/ufs: ffs ufs

2015-04-24 Thread Kirk McKusick
Author: mckusick Date: Fri Apr 24 23:27:50 2015 New Revision: 281956 URL: https://svnweb.freebsd.org/changeset/base/281956 Log: Limit the number of cylinder groups that will be searched when trying to build a cluster. The limit is tunable using the sysctl vfs.ffs.maxclustersearch. The curren

svn commit: r281952 - head/share/mk

2015-04-24 Thread Ed Maste
Author: emaste Date: Fri Apr 24 22:04:59 2015 New Revision: 281952 URL: https://svnweb.freebsd.org/changeset/base/281952 Log: Add LLDB to BROKEN_OPTIONS for arm prior to armv6 LLVM lacks support on FreeBSD for ARMv4/ARMv5 64-bit atomic operations. Sponsored by: The FreeBSD Foundation

svn commit: r281953 - head/sys/kern

2015-04-24 Thread Konstantin Belousov
Author: kib Date: Fri Apr 24 22:05:12 2015 New Revision: 281953 URL: https://svnweb.freebsd.org/changeset/base/281953 Log: Use correct length for sparse uiomove(). It must be the clipped to the page size, len is the total transfer length, which may be larger than zero_region. Reported

svn commit: r281950 - head/sys/netinet

2015-04-24 Thread Andrey V. Elsukov
Author: ae Date: Fri Apr 24 21:05:29 2015 New Revision: 281950 URL: https://svnweb.freebsd.org/changeset/base/281950 Log: Fix possible reference leak. Sponsored by: Yandex LLC Modified: head/sys/netinet/tcp_subr.c Modified: head/sys/netinet/tcp_subr.c ===

Re: svn commit: r281932 - head/sys/modules/oce

2015-04-24 Thread John Baldwin
On Friday, April 24, 2015 01:29:32 PM Garrett Cooper wrote: > > > On Apr 24, 2015, at 07:47, John Baldwin wrote: > > > > Author: jhb > > Date: Fri Apr 24 14:47:53 2015 > > New Revision: 281932 > > URL: https://svnweb.freebsd.org/changeset/base/281932 > > > > Log: > > Rename the kld for oce(4)

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

2015-04-24 Thread Konstantin Belousov
On Thu, Apr 23, 2015 at 09:53:19PM +0200, Antoine Brodin wrote: > On Sat, Apr 11, 2015 at 8:51 PM, Will Andrews wrote: > > Author: will > > Date: Sat Apr 11 18:51:41 2015 > > New Revision: 281442 > > URL: https://svnweb.freebsd.org/changeset/base/281442 > > > > Log: > > uiomove_object_page(): Av

Re: svn commit: r281932 - head/sys/modules/oce

2015-04-24 Thread Garrett Cooper
> On Apr 24, 2015, at 07:47, John Baldwin wrote: > > Author: jhb > Date: Fri Apr 24 14:47:53 2015 > New Revision: 281932 > URL: https://svnweb.freebsd.org/changeset/base/281932 > > Log: > Rename the kld for oce(4) to if_oce.ko. ifconfig(8) has special knowledge > about kld filenames for netw

svn commit: r281946 - head/usr.sbin/bhyve

2015-04-24 Thread Neel Natu
Author: neel Date: Fri Apr 24 19:15:38 2015 New Revision: 281946 URL: https://svnweb.freebsd.org/changeset/base/281946 Log: Don't allow guest to modify readonly bits in the PCI config 'status' register. Reported by: Leon Dang (ld...@nahannisys.com) MFC after:2 weeks Modified: head

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

2015-04-24 Thread Bryan Drewery
On 4/24/2015 12:03 PM, Scott Long wrote: > Author: scottl > Date: Fri Apr 24 17:03:53 2015 > New Revision: 281942 > URL: https://svnweb.freebsd.org/changeset/base/281942 > > Log: > Revert r281451. It causes a panic/hang early in boot for a number of The diff confused me at first. It is more pr

svn commit: r281945 - head/sys/sys

2015-04-24 Thread Pedro F. Giffuni
Author: pfg Date: Fri Apr 24 18:07:34 2015 New Revision: 281945 URL: https://svnweb.freebsd.org/changeset/base/281945 Log: Add definition to support alloc_align attribute. gcc 4.9 added support for new alignment attribute alloc_align: The alloc_align attribute is used to tell the compi

svn commit: r281944 - head/sys/dev/vt

2015-04-24 Thread Ed Maste
Author: emaste Date: Fri Apr 24 17:36:26 2015 New Revision: 281944 URL: https://svnweb.freebsd.org/changeset/base/281944 Log: vt(4): Simplify mouse area detection vt_is_cursor_in_area needs to return true if any part of the mouse cursor is visible in the rectangle area. Replace the existi

svn commit: r281942 - head/sys/vm

2015-04-24 Thread Scott Long
Author: scottl Date: Fri Apr 24 17:03:53 2015 New Revision: 281942 URL: https://svnweb.freebsd.org/changeset/base/281942 Log: Revert r281451. It causes a panic/hang early in boot for a number of users, myself included. The original code is likely papering over a larger bug that needs to be

svn commit: r281941 - head/sys/dev/ipmi

2015-04-24 Thread John Baldwin
Author: jhb Date: Fri Apr 24 16:56:23 2015 New Revision: 281941 URL: https://svnweb.freebsd.org/changeset/base/281941 Log: Watchdog drivers need to support rearming the watchdog in contexts which are not permitted to sleep. Only use the IPMI watchdog with backends which poll driver-initiate

svn commit: r281940 - in head/sys: amd64/amd64 amd64/include conf i386/i386 i386/include i386/xen x86/x86

2015-04-24 Thread Konstantin Belousov
Author: kib Date: Fri Apr 24 16:20:56 2015 New Revision: 281940 URL: https://svnweb.freebsd.org/changeset/base/281940 Log: Move common code from sys/i386/i386/mp_machdep.c and sys/amd64/amd64/mp_machdep.c, to the new common x86 source sys/x86/x86/mp_x86.c. Proposed and reviewed by:

svn commit: r281938 - head/contrib/tcpdump

2015-04-24 Thread Brooks Davis
Author: brooks Date: Fri Apr 24 16:11:22 2015 New Revision: 281938 URL: https://svnweb.freebsd.org/changeset/base/281938 Log: Merge from CheriBSD: 1065cf515a7c2062598009c1318055aacbb39e80 Convert the pfsync dissector to use the netdissect framework. Differential Revision:https:

Re: svn commit: r281922 - head/usr.bin/nfsstat

2015-04-24 Thread Eric van Gyzen
On 04/24/2015 10:33, John Baldwin wrote: > On Friday, April 24, 2015 02:31:31 PM Sergey Kandaurov wrote: >> On 24 April 2015 at 10:58, Edward Tomasz Napierala wrote: >>> Author: trasz >>> Date: Fri Apr 24 07:57:59 2015 >>> New Revision: 281922 >>> URL: https://svnweb.freebsd.org/changeset/base/281

Re: svn commit: r281922 - head/usr.bin/nfsstat

2015-04-24 Thread John Baldwin
On Friday, April 24, 2015 02:31:31 PM Sergey Kandaurov wrote: > On 24 April 2015 at 10:58, Edward Tomasz Napierala wrote: > > Author: trasz > > Date: Fri Apr 24 07:57:59 2015 > > New Revision: 281922 > > URL: https://svnweb.freebsd.org/changeset/base/281922 > > > > Log: > > Make nfsstat(1) build

svn commit: r281932 - head/sys/modules/oce

2015-04-24 Thread John Baldwin
Author: jhb Date: Fri Apr 24 14:47:53 2015 New Revision: 281932 URL: https://svnweb.freebsd.org/changeset/base/281932 Log: Rename the kld for oce(4) to if_oce.ko. ifconfig(8) has special knowledge about kld filenames for network drivers that requires them to follow the pattern of if_. This

Re: svn commit: r281922 - head/usr.bin/nfsstat

2015-04-24 Thread Eitan Adler
On 24 April 2015 at 04:31, Sergey Kandaurov wrote: > Now that nfsstat no longer uses kvm to extract statistics, it could be > further trimmed. > - no longer link with kvm > - un-document -M/-N options but still kept (?) for backward compatibility If we are keeping flags, they should documented a

svn commit: r281931 - in head: sbin/camcontrol usr.sbin/iovctl usr.sbin/jail

2015-04-24 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Apr 24 14:36:06 2015 New Revision: 281931 URL: https://svnweb.freebsd.org/changeset/base/281931 Log: Fix minor mdoc issues. Modified: head/sbin/camcontrol/camcontrol.8 head/usr.sbin/iovctl/iovctl.conf.5 head/usr.sbin/jail/jail.8 Modified: head/sbin/

svn commit: r281930 - head/sys/sparc64/pci

2015-04-24 Thread John Baldwin
Author: jhb Date: Fri Apr 24 13:12:04 2015 New Revision: 281930 URL: https://svnweb.freebsd.org/changeset/base/281930 Log: Update this driver to not save copies of registers that are no longer used after r281874. While here, also update it to always write the parent's PCI bus number to the

svn commit: r281929 - head/sbin/growfs

2015-04-24 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Apr 24 12:48:48 2015 New Revision: 281929 URL: https://svnweb.freebsd.org/changeset/base/281929 Log: Fix growfs(8) build with debug enabled (make -DGFSDBG). PR: 199641 Submitted by: Willem Jan Withagen MFC after:1 month Sponsored by: The FreeBSD

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

2015-04-24 Thread Chris Torek
True, it's not actually odd, it's just surprising the first time one comes across it. Also, I goofed in the text: >> With the flexible array, (sizeof(struct uma_cache)) is going to be >> 32 bytes smaller than without it. It's `struct uma_zone` that shrinks by (potentially) more than one would ex

Re: svn commit: r281922 - head/usr.bin/nfsstat

2015-04-24 Thread Sergey Kandaurov
On 24 April 2015 at 15:03, Edward Tomasz Napierala wrote: > On 0424T1431, Sergey Kandaurov wrote: [..] >> @@ -159,17 +145,6 @@ >> argc -= optind; >> argv += optind; >> >> -#defineBACKWARD_COMPATIBILITY >> -#ifdef BACKWARD_COMPATIBILITY >> - if (*argv) { >> -

Re: svn commit: r281922 - head/usr.bin/nfsstat

2015-04-24 Thread Edward Tomasz Napierala
On 0424T1431, Sergey Kandaurov wrote: > On 24 April 2015 at 10:58, Edward Tomasz Napierala wrote: > > Author: trasz > > Date: Fri Apr 24 07:57:59 2015 > > New Revision: 281922 > > URL: https://svnweb.freebsd.org/changeset/base/281922 > > > > Log: > > Make nfsstat(1) build with WARNS=6. > > > >

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

2015-04-24 Thread Dimitry Andric
On 24 Apr 2015, at 13:01, Chris Torek wrote: > > The problem seems likely to be related to odd compiler handling of > alignment. Consider this code bit, which extracts the essentials: > > struct x { > int x; > } __attribute__((__aligned__(32))); > > struct s1 {

Re: svn commit: r281922 - head/usr.bin/nfsstat

2015-04-24 Thread Sergey Kandaurov
On 24 April 2015 at 10:58, Edward Tomasz Napierala wrote: > Author: trasz > Date: Fri Apr 24 07:57:59 2015 > New Revision: 281922 > URL: https://svnweb.freebsd.org/changeset/base/281922 > > Log: > Make nfsstat(1) build with WARNS=6. > > Sponsored by: The FreeBSD Foundation > > Modified: > he

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

2015-04-24 Thread Chris Torek
The problem seems likely to be related to odd compiler handling of alignment. Consider this code bit, which extracts the essentials: struct x { int x; } __attribute__((__aligned__(32))); struct s1 { int a; struct x b[1];

svn commit: r281928 - head/lib/libmd

2015-04-24 Thread Garrett Cooper
Author: ngie Date: Fri Apr 24 11:03:47 2015 New Revision: 281928 URL: https://svnweb.freebsd.org/changeset/base/281928 Log: Avoid an infinite loop by ensuring that the amount of bytes read is greater than 0 in MDXFileChunk when calculating the checksum This edgecase can be triggered if th

svn commit: r281927 - head/lib/libc/locale

2015-04-24 Thread David Chisnall
Author: theraven Date: Fri Apr 24 10:21:20 2015 New Revision: 281927 URL: https://svnweb.freebsd.org/changeset/base/281927 Log: __xlocale_C_ctype should not be const. It contains a reference count that is modified by newlocale / duplocale / freelocale. MFC after:1 week Modified: he

svn commit: r281925 - head/lib/libc/locale

2015-04-24 Thread David Chisnall
Author: theraven Date: Fri Apr 24 10:17:55 2015 New Revision: 281925 URL: https://svnweb.freebsd.org/changeset/base/281925 Log: Small changes to locale-related man pages. Fix a missing .h and change the recommended include for the POSIX2008 functions from xlocale.h to locale.h. Including xlo

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

2015-04-24 Thread Alexander Motin
Author: mav Date: Fri Apr 24 09:52:41 2015 New Revision: 281924 URL: https://svnweb.freebsd.org/changeset/base/281924 Log: Oops, add missing comma. MFC after:1 week Modified: head/share/man/man4/ada.4 Modified: head/share/man/man4/ada.4 ==

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

2015-04-24 Thread Alexander Motin
Author: mav Date: Fri Apr 24 09:47:10 2015 New Revision: 281923 URL: https://svnweb.freebsd.org/changeset/base/281923 Log: Add link to mvs(4). MFC after:1 week Modified: head/share/man/man4/ada.4 Modified: head/share/man/man4/ada.4 ===

svn commit: r281922 - head/usr.bin/nfsstat

2015-04-24 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Apr 24 07:57:59 2015 New Revision: 281922 URL: https://svnweb.freebsd.org/changeset/base/281922 Log: Make nfsstat(1) build with WARNS=6. Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/nfsstat/Makefile head/usr.bin/nfsstat/nfsstat.c Modified: head/u

svn commit: r281920 - head/sys/dev/ichsmb

2015-04-24 Thread Takanori Watanabe
Author: takawata Date: Fri Apr 24 07:24:31 2015 New Revision: 281920 URL: https://svnweb.freebsd.org/changeset/base/281920 Log: Add Lynx-Point LP smbus controller ID. Modified: head/sys/dev/ichsmb/ichsmb_pci.c Modified: head/sys/dev/ichsmb/ichsmb_pci.c ===