Re: svn commit: r274489 - in head/sys/amd64: amd64 include

2014-11-20 Thread Rui Paulo
On Nov 13, 2014, at 14:11, Scott Long wrote: > > Author: scottl > Date: Thu Nov 13 22:11:44 2014 > New Revision: 274489 > URL: https://svnweb.freebsd.org/changeset/base/274489 > > Log: > Extend earlier addition of stack frames to most of support.S. This makes > stack traces in KDB, HWPMC, and

svn commit: r274785 - head/sys/cam/ctl

2014-11-20 Thread Alexander Motin
Author: mav Date: Fri Nov 21 06:27:37 2014 New Revision: 274785 URL: https://svnweb.freebsd.org/changeset/base/274785 Log: Partially reconstruct Active/Standby clusting. In this mode one head is in Active state, supporting all commands, while another is in Standby state, supporting only m

svn commit: r274784 - head/sys/fs/smbfs

2014-11-20 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Nov 21 06:21:39 2014 New Revision: 274784 URL: https://svnweb.freebsd.org/changeset/base/274784 Log: Fix smbfs to not zero out statfs f_flags field. Previously, this made getmntinfo() return empty flags for smbfs filesystems when called with MNT_WAIT. It's not visible

Re: svn commit: r274167 - in head/sys: kern sys

2014-11-20 Thread Mateusz Guzik
On Thu, Nov 20, 2014 at 09:24:37PM -0800, Rui Paulo wrote: > On Nov 6, 2014, at 00:12, Mateusz Guzik wrote: > > > > Author: mjg > > Date: Thu Nov 6 08:12:34 2014 > > New Revision: 274167 > > URL: https://svnweb.freebsd.org/changeset/base/274167 > > > > Log: > > Add sysctl kern.proc.cwd > > >

Re: svn commit: r274167 - in head/sys: kern sys

2014-11-20 Thread Rui Paulo
On Nov 6, 2014, at 00:12, Mateusz Guzik wrote: > > Author: mjg > Date: Thu Nov 6 08:12:34 2014 > New Revision: 274167 > URL: https://svnweb.freebsd.org/changeset/base/274167 > > Log: > Add sysctl kern.proc.cwd > > It returns only current working directory of given process which saves a lot

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

2014-11-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Nov 21 02:45:39 2014 New Revision: 274776 URL: https://svnweb.freebsd.org/changeset/base/274776 Log: Fix the powerpc64 build. Pointy-hat to:me X-MFC-with: r274735 Modified: head/sys/powerpc/powerpc/db_trace.c Modified: head/sys/powerpc/powerpc/db_t

svn commit: r274772 - in head: lib/libc/gen lib/libc/include lib/libc/sys lib/libkiconv lib/libmd lib/libthr/thread lib/msun/src libexec/rtld-elf sys/amd64/include sys/arm/include sys/i386/include ...

2014-11-20 Thread Ed Maste
Author: emaste Date: Fri Nov 21 02:05:48 2014 New Revision: 274772 URL: https://svnweb.freebsd.org/changeset/base/274772 Log: Use canonical __PIC__ flag It is automatically set when -fPIC is passed to the compiler. Reviewed by: dim, kib Sponsored by: The FreeBSD Foundation Differe

svn commit: r274770 - head/sbin/fsck

2014-11-20 Thread Warner Losh
Author: imp Date: Fri Nov 21 01:43:55 2014 New Revision: 274770 URL: https://svnweb.freebsd.org/changeset/base/274770 Log: Recommit r274750. Modified: head/sbin/fsck/fsck.c Modified: head/sbin/fsck/fsck.c == --- head

svn commit: r274766 - head/sys/dev/hwpmc

2014-11-20 Thread Ed Maste
Author: emaste Date: Thu Nov 20 23:16:19 2014 New Revision: 274766 URL: https://svnweb.freebsd.org/changeset/base/274766 Log: Clamp too-large hwpmc callchaindepth to the maximum If the depth requested by the user is too large, it's better to provide the maximum than the smaller default.

Re: svn commit: r274745 - head/share/man/man9

2014-11-20 Thread Gleb Smirnoff
On Thu, Nov 20, 2014 at 09:56:34AM +, Craig Rodrigues wrote: C> Author: rodrigc C> Date: Thu Nov 20 09:56:34 2014 C> New Revision: 274745 C> URL: https://svnweb.freebsd.org/changeset/base/274745 C> C> Log: C> MFp4: @179066 C> C> Add page which describes VNET network stack virtualization

Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

2014-11-20 Thread Andrey V. Elsukov
On 21.11.2014 00:16, Warner Losh wrote: >>> I already committed it in r274750. GEOM_PART class can return >>> partition type via "PART::type" attribute. Now fsck uses it and >>> runs fsck_ffs or fsck_msdosfs depending from the partition type. >> >> Why did you even ask me and then commit? >> >> >

Re: svn commit: r274672 - in head/contrib/libxo: . libxo xolint

2014-11-20 Thread Marcel Moolenaar
> On Nov 20, 2014, at 1:10 PM, Craig Rodrigues wrote: > > > > On Wed, Nov 19, 2014 at 8:07 AM, Marcel Moolenaar wrote: > > Patches for netstat can be found here: > https://github.com/Juniper/libxo/blob/master/patches/netstat.patch > > Let me know if it contains the answer to your question.

svn commit: r274761 - head/sbin/fsck

2014-11-20 Thread Warner Losh
Author: imp Date: Thu Nov 20 21:18:19 2014 New Revision: 274761 URL: https://svnweb.freebsd.org/changeset/base/274761 Log: Back our r274750 until discussions on proper fix are over. Modified: head/sbin/fsck/fsck.c Modified: head/sbin/fsck/fsck.c ==

Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

2014-11-20 Thread Warner Losh
On Nov 20, 2014, at 2:14 PM, Warner Losh wrote: > > On Nov 20, 2014, at 10:43 AM, Andrey V. Elsukov wrote: > >> On 20.11.2014 20:23, Warner Losh wrote: since there are some reports about strange behavior of old utilities after this commit, maybe we won't repair them by this way? >>>

Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

2014-11-20 Thread Warner Losh
On Nov 20, 2014, at 10:43 AM, Andrey V. Elsukov wrote: > On 20.11.2014 20:23, Warner Losh wrote: >>> since there are some reports about strange behavior of old utilities >>> after this commit, maybe we won't repair them by this way? >>> What you think about this path? >> >> It doesn’t thrill me

Re: svn commit: r274672 - in head/contrib/libxo: . libxo xolint

2014-11-20 Thread Craig Rodrigues
On Wed, Nov 19, 2014 at 8:07 AM, Marcel Moolenaar wrote: > > Patches for netstat can be found here: > https://github.com/Juniper/libxo/blob/master/patches/netstat.patch > > Let me know if it contains the answer to your question. > > I should be able to commit netstat shortly. > Will you be commi

svn commit: r274760 - in head/sys: cam/scsi dev/ct dev/ncv dev/nsp dev/stg

2014-11-20 Thread John Baldwin
Author: jhb Date: Thu Nov 20 20:50:05 2014 New Revision: 274760 URL: https://svnweb.freebsd.org/changeset/base/274760 Log: Lock the scsi_low code and the drivers which use it along with other related cleanups: - Require each driver to initalize a mutex in the scsi_low_softc that is share

svn commit: r274759 - head/sys/i386/isa

2014-11-20 Thread John Baldwin
Author: jhb Date: Thu Nov 20 20:24:30 2014 New Revision: 274759 URL: https://svnweb.freebsd.org/changeset/base/274759 Log: Lock spic(4) and mark it MPSAFE: - Add a per-softc mutex as a driver lock. - Use callout(9) instead of timeout(9). - Set softc pointer in si_drv1 of cdev instead of lo

svn commit: r274758 - head/sys/dev/wl

2014-11-20 Thread John Baldwin
Author: jhb Date: Thu Nov 20 20:09:18 2014 New Revision: 274758 URL: https://svnweb.freebsd.org/changeset/base/274758 Log: Various fixes for wl(4): - Don't recurse driver mutex. - Don't hold driver mutex across fubyte/subyte. - Replace fubyte/subyte loops with copyin/copyout calls. - Use

svn commit: r274756 - head/sys/cam/scsi

2014-11-20 Thread Alexander Motin
Author: mav Date: Thu Nov 20 19:28:42 2014 New Revision: 274756 URL: https://svnweb.freebsd.org/changeset/base/274756 Log: Remove residual xpt_release_device() call left after r272406 cleanup. Excessive release here could trigger use-after-free condition and kernel panic on LUN 0 disconne

Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

2014-11-20 Thread Andrey V. Elsukov
On 20.11.2014 20:23, Warner Losh wrote: >> since there are some reports about strange behavior of old utilities >> after this commit, maybe we won't repair them by this way? >> What you think about this path? > > It doesn’t thrill me. What’s it trying to do? And localizing it to fsck is > useless

svn commit: r274753 - head/sys/geom/part

2014-11-20 Thread Warner Losh
Author: imp Date: Thu Nov 20 17:31:25 2014 New Revision: 274753 URL: https://svnweb.freebsd.org/changeset/base/274753 Log: Actually, that was a bad idea. Go back to MAXPARTITIONS. Submitted by: bruce Modified: head/sys/geom/part/g_part_bsd.c Modified: head/sys/geom/part/g_part_bsd.c ===

Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

2014-11-20 Thread Warner Losh
On Nov 20, 2014, at 8:28 AM, Andrey V. Elsukov wrote: > On 19.11.2014 21:49, Warner Losh wrote: >> >> On Nov 19, 2014, at 11:00 AM, Andrey V. Elsukov wrote: >> >>> On 19.11.2014 19:20, Warner Losh wrote: > Probably you need to use basetable->gpt_entries here instead of > MAXPARTITION

Re: svn commit: r274752 - in head/sys/mips: include mips

2014-11-20 Thread Adrian Chadd
W! -adrian On 20 November 2014 09:06, Ruslan Bukin wrote: > Author: br > Date: Thu Nov 20 17:06:41 2014 > New Revision: 274752 > URL: https://svnweb.freebsd.org/changeset/base/274752 > > Log: > Add L2-cache writeback/flush operations. Supported 32,128-byte line-size, > else ignor

svn commit: r274752 - in head/sys/mips: include mips

2014-11-20 Thread Ruslan Bukin
Author: br Date: Thu Nov 20 17:06:41 2014 New Revision: 274752 URL: https://svnweb.freebsd.org/changeset/base/274752 Log: Add L2-cache writeback/flush operations. Supported 32,128-byte line-size, else ignored. Cavium Networks also ignored as it has non-standard config registers. Obtaine

svn commit: r274751 - head/sys/dev/fdt

2014-11-20 Thread Andrew Turner
Author: andrew Date: Thu Nov 20 17:03:40 2014 New Revision: 274751 URL: https://svnweb.freebsd.org/changeset/base/274751 Log: The ranges parent bus address may just be a tag to the entry in the parent node. Take this in to account by searching until we find the range for the root node.

svn commit: r274750 - head/sbin/fsck

2014-11-20 Thread Andrey V. Elsukov
Author: ae Date: Thu Nov 20 16:31:31 2014 New Revision: 274750 URL: https://svnweb.freebsd.org/changeset/base/274750 Log: Use geom attribute "PART::type" to determine partition type and choose relevant fsck_xxx utility. MFC after:1 week Modified: head/sbin/fsck/fsck.c Modified: he

Re: svn commit: r274661 - in head/sys: conf geom/part modules/geom/geom_part/geom_part_bsd

2014-11-20 Thread Andrey V. Elsukov
On 19.11.2014 21:49, Warner Losh wrote: > > On Nov 19, 2014, at 11:00 AM, Andrey V. Elsukov wrote: > >> On 19.11.2014 19:20, Warner Losh wrote: Probably you need to use basetable->gpt_entries here instead of MAXPARTITIONS. >>> >>> I’m having trouble connecting the dots between GPT and

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

2014-11-20 Thread Ed Maste
Author: emaste Date: Thu Nov 20 14:18:07 2014 New Revision: 274749 URL: https://svnweb.freebsd.org/changeset/base/274749 Log: Spell out "Windows" - no need to censor it in a man page Modified: head/share/man/man4/splash.4 Modified: head/share/man/man4/splash.4 ===

Re: svn commit: r274721 - head/sys/geom/part

2014-11-20 Thread Andrey V. Elsukov
On 20.11.2014 07:38, Bruce Evans wrote: > On Wed, 19 Nov 2014, Warner Losh wrote: > >> Log: >> The number of BSD partitions is variable. Return the proper number >> (which is in basetable->gpt_entries). >> >> Submitted by: ae@ >> >> Modified: >> head/sys/geom/part/g_part_bsd.c >> >> Modified:

svn commit: r274745 - head/share/man/man9

2014-11-20 Thread Craig Rodrigues
Author: rodrigc Date: Thu Nov 20 09:56:34 2014 New Revision: 274745 URL: https://svnweb.freebsd.org/changeset/base/274745 Log: MFp4: @179066 Add page which describes VNET network stack virtualization infrastructure. Submitted by: bz Sponsored by: The FreeBSD Foundation Sponsored by

svn commit: r274744 - head/sys/contrib/ipfilter/netinet

2014-11-20 Thread Craig Rodrigues
Author: rodrigc Date: Thu Nov 20 08:11:54 2014 New Revision: 274744 URL: https://svnweb.freebsd.org/changeset/base/274744 Log: Set the current vnet inside the ioctl handler for ipfilter. Without this fix, the vnet was NULL and would crash. This fix is similar to what was done inside the i