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

2015-10-24 Thread Baptiste Daroussin
On Sat, Oct 24, 2015 at 08:31:06AM -0700, Bryan Drewery wrote: > On 10/24/15 6:55 AM, Baptiste Daroussin wrote: > > +static int > > +parse_signal(const char *str) > > Maybe this and the timeout(1) version should move to libc or libutil. We > do have strsignal(3) and psignal(3) too. > I was

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

2015-10-24 Thread Baptiste Daroussin
Author: bapt Date: Sat Oct 24 13:55:12 2015 New Revision: 289879 URL: https://svnweb.freebsd.org/changeset/base/289879 Log: newsyslog.conf: allow to configure the signal using the signal name. Submitted by: Alexandre Perrin MFC after:1 week Relnotes: yes

svn commit: r289877 - head/sys/dev/isp

2015-10-24 Thread Alexander Motin
Author: mav Date: Sat Oct 24 13:45:45 2015 New Revision: 289877 URL: https://svnweb.freebsd.org/changeset/base/289877 Log: Remove ISP_INTERNAL_TARGET code. We have CTL now, which is real and much more functional then this joke. Modified: head/sys/dev/isp/isp_freebsd.c

svn commit: r289878 - head/usr.bin/timeout

2015-10-24 Thread Baptiste Daroussin
Author: bapt Date: Sat Oct 24 13:47:03 2015 New Revision: 289878 URL: https://svnweb.freebsd.org/changeset/base/289878 Log: timeout(1): fix the acceptable range values for parse_signal() Before both 0 and sys_nsig would be successfully returned by parse_signal() although being invalid

svn commit: r289876 - head/usr.bin/sort

2015-10-24 Thread Baptiste Daroussin
Author: bapt Date: Sat Oct 24 13:43:10 2015 New Revision: 289876 URL: https://svnweb.freebsd.org/changeset/base/289876 Log: Fix some mdoc(7) issues Obtained from:DragonflyBSD Modified: head/usr.bin/sort/sort.1.in Modified: head/usr.bin/sort/sort.1.in

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

2015-10-24 Thread Jilles Tjoelker
On Sat, Oct 24, 2015 at 05:39:47PM +0200, Baptiste Daroussin wrote: > On Sat, Oct 24, 2015 at 08:31:06AM -0700, Bryan Drewery wrote: > > On 10/24/15 6:55 AM, Baptiste Daroussin wrote: > > > +static int > > > +parse_signal(const char *str) > > Maybe this and the timeout(1) version should move to

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

2015-10-24 Thread Bryan Drewery
On 10/24/15 6:55 AM, Baptiste Daroussin wrote: > +static int > +parse_signal(const char *str) Maybe this and the timeout(1) version should move to libc or libutil. We do have strsignal(3) and psignal(3) too. -- Regards, Bryan Drewery ___

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

2015-10-24 Thread Alexander Motin
Author: mav Date: Sat Oct 24 17:24:19 2015 New Revision: 289881 URL: https://svnweb.freebsd.org/changeset/base/289881 Log: Give CTL support for PIM_EXTLUNS when talking to CAM. CTL itself still lives in flat LUN space, but it can generate extended numbers if CAM SIM reports such

svn commit: r289882 - head/sys/dev/isp

2015-10-24 Thread Alexander Motin
Author: mav Date: Sat Oct 24 17:34:40 2015 New Revision: 289882 URL: https://svnweb.freebsd.org/changeset/base/289882 Log: Add PIM_EXTLUNS support to isp(4) driver. Now 24xx and above chips support full 8-byte LUN address space. Older FC chips may support up to 16K LUNs when firmware

svn commit: r289886 - head/sys/dev/isp

2015-10-24 Thread Alexander Motin
Author: mav Date: Sat Oct 24 19:38:06 2015 New Revision: 289886 URL: https://svnweb.freebsd.org/changeset/base/289886 Log: Add new field to Abort IOCB. Modified: head/sys/dev/isp/isp_library.c head/sys/dev/isp/ispmbox.h Modified: head/sys/dev/isp/isp_library.c

svn commit: r289894 - in head/sys: amd64/amd64 i386/i386

2015-10-24 Thread Konstantin Belousov
Author: kib Date: Sat Oct 24 21:37:47 2015 New Revision: 289894 URL: https://svnweb.freebsd.org/changeset/base/289894 Log: Intel SDM before revision 56 described the CLFLUSH instruction as only ordered with the MFENCE instruction. Similar weak guarantees are also specified by the AMD APM

svn commit: r289897 - head/usr.sbin/makefs/tests

2015-10-24 Thread Garrett Cooper
Author: ngie Date: Sat Oct 24 22:12:23 2015 New Revision: 289897 URL: https://svnweb.freebsd.org/changeset/base/289897 Log: Add more cd9660/FFS makefs testcases General changes: - Parameterize out the mount command. - Use mtree to verify the contents of an image (check_image_contents)

Re: svn commit: r289897 - head/usr.sbin/makefs/tests

2015-10-24 Thread NGie Cooper
> On Oct 24, 2015, at 15:12, Garrett Cooper wrote: > > Author: ngie > Date: Sat Oct 24 22:12:23 2015 > New Revision: 289897 > URL: https://svnweb.freebsd.org/changeset/base/289897 > > Log: > Add more cd9660/FFS makefs testcases > > General changes: > - Parameterize out

Re: svn commit: r289867 - head/sys/sys

2015-10-24 Thread Mark Johnston
On Sat, Oct 24, 2015 at 12:05:49PM -0700, Conrad Meyer wrote: > This broke the build (xen_intr.c used BITSET_DEFINE() without a semi-colon). > > Fixed in and X-MFC-With: r289884. Thanks, and sorry for the breakage. > > Best, > Conrad > > On Fri, Oct 23, 2015 at 8:16 PM, Mark Johnston

svn commit: r289887 - in head/sys/arm: arm include

2015-10-24 Thread Ian Lepore
Author: ian Date: Sat Oct 24 19:39:41 2015 New Revision: 289887 URL: https://svnweb.freebsd.org/changeset/base/289887 Log: Rename dcache_dma_preread() to dcache_inv_poc_dma() to make it clear that it is a dcache invalidate to point of coherency just like dcache_inv_poc(), but a slightly

svn commit: r289889 - stable/7/sys/gnu/fs/reiserfs

2015-10-24 Thread Tai-hwa Liang
Author: avatar Date: Sat Oct 24 19:40:27 2015 New Revision: 289889 URL: https://svnweb.freebsd.org/changeset/base/289889 Log: MFC r238980: Just like the other file systems found in /sys/fs, g_vfs_open() should be paried with g_vfs_close(). Though g_vfs_close() is a wrapper around

svn commit: r289888 - head/sys/dev/sound/midi

2015-10-24 Thread Tai-hwa Liang
Author: avatar Date: Sat Oct 24 19:40:03 2015 New Revision: 289888 URL: https://svnweb.freebsd.org/changeset/base/289888 Log: - Plugging a memory leak when malloc() failed during initialisation; - Plugging another memory leak inside the destructor. Reviewed by: matk MFC after:3

svn commit: r289892 - head/sys/arm/include

2015-10-24 Thread Ian Lepore
Author: ian Date: Sat Oct 24 21:25:53 2015 New Revision: 289892 URL: https://svnweb.freebsd.org/changeset/base/289892 Log: Provide armv4/v5 implementations of several of the armv6 cache maintenance functions. This will make it possible to use the same busdma code for all arm platforms v4

svn commit: r289896 - head/sys/boot/common

2015-10-24 Thread Garrett Cooper
Author: ngie Date: Sat Oct 24 21:59:58 2015 New Revision: 289896 URL: https://svnweb.freebsd.org/changeset/base/289896 Log: Make vers.c creation atomic by using a temporary file, then moving the temporary file to vers.c at the end of the script The previous logic wrote out to vers.c

svn commit: r289895 - head/sys/vm

2015-10-24 Thread Konstantin Belousov
Author: kib Date: Sat Oct 24 21:59:22 2015 New Revision: 289895 URL: https://svnweb.freebsd.org/changeset/base/289895 Log: Reduce the amount of calls to VOP_BMAP() made from the local vnode pager. It is enough to execute VOP_BMAP() once to obtain both the disk block address for the

svn commit: r289898 - head/sys/mips/atheros

2015-10-24 Thread Adrian Chadd
Author: adrian Date: Sat Oct 24 22:37:59 2015 New Revision: 289898 URL: https://svnweb.freebsd.org/changeset/base/289898 Log: arge(4): flip this on for AR9344 SoCs. I couldn't test arge0->arge1 bridging, only arge0 VLAN bridging. The DIR-825C1 only hooks up arge0 to the switch GMAC0 and

svn commit: r289912 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:46:32 2015 New Revision: 289912 URL: https://svnweb.freebsd.org/changeset/base/289912 Log: ioat: Actually bring the hardware back online after reset We need to reset the chancmp and chainaddr MMIO registers to bring the device back to a working state.

svn commit: r289900 - in head/contrib/jemalloc: . doc include/jemalloc include/jemalloc/internal src

2015-10-24 Thread Jason Evans
Author: jasone Date: Sat Oct 24 23:18:05 2015 New Revision: 289900 URL: https://svnweb.freebsd.org/changeset/base/289900 Log: Update jemalloc to version 4.0.4. Modified: head/contrib/jemalloc/ChangeLog head/contrib/jemalloc/FREEBSD-diffs head/contrib/jemalloc/VERSION

svn commit: r289899 - head/usr.sbin/makefs/cd9660

2015-10-24 Thread Garrett Cooper
Author: ngie Date: Sat Oct 24 23:16:13 2015 New Revision: 289899 URL: https://svnweb.freebsd.org/changeset/base/289899 Log: Import the fix from NetBSD kern/48852 (sic) to fix rockridge encoding of device nodes In particular, use st_rdev (the device type), not st_dev (the device inode),

svn commit: r289908 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:45:45 2015 New Revision: 289908 URL: https://svnweb.freebsd.org/changeset/base/289908 Log: ioat: Add sysctl to force hw reset To enable controlled testing. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat.c Modified:

svn commit: r289910 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:46:08 2015 New Revision: 289910 URL: https://svnweb.freebsd.org/changeset/base/289910 Log: ioat: Extract halted error-debugging to a function Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat.c Modified:

svn commit: r289909 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:45:56 2015 New Revision: 289909 URL: https://svnweb.freebsd.org/changeset/base/289909 Log: ioat: Always re-arm interrupts in process_events It doesn't hurt, even if there is nothing to do. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r289911 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:46:20 2015 New Revision: 289911 URL: https://svnweb.freebsd.org/changeset/base/289911 Log: ioat: Use bus_alloc_resource_any(9) Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat.c Modified: head/sys/dev/ioat/ioat.c

svn commit: r289907 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:45:33 2015 New Revision: 289907 URL: https://svnweb.freebsd.org/changeset/base/289907 Log: ioat: refcnt users so we can drain them at detach We only need to borrow a mutex for the drain sleep and the 0->1 transition, so just reuse an existing one for now.

svn commit: r289906 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:45:21 2015 New Revision: 289906 URL: https://svnweb.freebsd.org/changeset/base/289906 Log: ioat: When queueing operations, assert the submit lock Callers should have acquired this lock when they invoked ioat_acquire() before issuing operations. Assert it

svn commit: r289904 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:44:58 2015 New Revision: 289904 URL: https://svnweb.freebsd.org/changeset/base/289904 Log: ioat: Pull out timer callout delay into a constant Pull out the timer callout delay into IOAT_INTR_TIMO and shorten it considerably (5s -> 100ms). Single operations

svn commit: r289905 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:45:10 2015 New Revision: 289905 URL: https://svnweb.freebsd.org/changeset/base/289905 Log: ioat: Don't use sleeping allocation in lock path This is still the worst possible way to allocate memory if it will ever be under pressure, but at least it won't

svn commit: r289885 - stable/8/sys/gnu/fs/reiserfs

2015-10-24 Thread Tai-hwa Liang
Author: avatar Date: Sat Oct 24 19:05:19 2015 New Revision: 289885 URL: https://svnweb.freebsd.org/changeset/base/289885 Log: MFC r287698: Fixing a memory leak on module unloading. Modified: stable/8/sys/gnu/fs/reiserfs/reiserfs_vfsops.c Directory Properties: stable/8/sys/ (props

svn commit: r289884 - head/sys/x86/xen

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 19:04:55 2015 New Revision: 289884 URL: https://svnweb.freebsd.org/changeset/base/289884 Log: xen: Add missing semi-colon for BITSET_DEFINE() Broken when it was removed from the macro in r289867. Pointy-hat: markj Sponsored by: EMC / Isilon Storage

svn commit: r289891 - head/sys/dev/usb/wlan

2015-10-24 Thread Andriy Voskoboinyk
Author: avos Date: Sat Oct 24 19:59:15 2015 New Revision: 289891 URL: https://svnweb.freebsd.org/changeset/base/289891 Log: urtwn(4): fix mbuf leak in the TX path Reviewed by: kevlo Approved by: adrian (mentor) Differential Revision:https://reviews.freebsd.org/D3988

svn commit: r289903 - head/tools/build/mk

2015-10-24 Thread Garrett Cooper
Author: ngie Date: Sat Oct 24 23:25:43 2015 New Revision: 289903 URL: https://svnweb.freebsd.org/changeset/base/289903 Log: Add libvmmapi to OptionalObsoleteFiles.inc when MK_BHYVE == no MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r289890 - head/sys/dev/isp

2015-10-24 Thread Alexander Motin
Author: mav Date: Sat Oct 24 19:47:54 2015 New Revision: 289890 URL: https://svnweb.freebsd.org/changeset/base/289890 Log: Skip reserved IP Broadcast handle from using. Modified: head/sys/dev/isp/isp.c head/sys/dev/isp/ispvar.h Modified: head/sys/dev/isp/isp.c

Re: svn commit: r289867 - head/sys/sys

2015-10-24 Thread Conrad Meyer
This broke the build (xen_intr.c used BITSET_DEFINE() without a semi-colon). Fixed in and X-MFC-With: r289884. Best, Conrad On Fri, Oct 23, 2015 at 8:16 PM, Mark Johnston wrote: > Author: markj > Date: Sat Oct 24 03:16:40 2015 > New Revision: 289867 > URL:

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

2015-10-24 Thread Ian Lepore
Author: ian Date: Sat Oct 24 21:27:09 2015 New Revision: 289893 URL: https://svnweb.freebsd.org/changeset/base/289893 Log: Define a couple macros to access cacheline size/mask in an arch-dependent way. This code should now work for all arm versions v4 thru v7. Modified:

svn commit: r289902 - head/usr.sbin/makefs/tests

2015-10-24 Thread Garrett Cooper
Author: ngie Date: Sat Oct 24 23:21:08 2015 New Revision: 289902 URL: https://svnweb.freebsd.org/changeset/base/289902 Log: Add a regression test for r289899 to validate rockridge encoding of device types X-MFC with: r289899 MFC after: 2 weeks Sponsored by: EMC / Isilon Storage

svn commit: r289901 - head/usr.sbin/makefs/tests

2015-10-24 Thread Garrett Cooper
Author: ngie Date: Sat Oct 24 23:19:24 2015 New Revision: 289901 URL: https://svnweb.freebsd.org/changeset/base/289901 Log: Remove an ls -l I was using for debugging MFC after: 2 weeks X-MFC with: r289897 Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r289913 - head/share/misc

2015-10-24 Thread Garrett Cooper
Author: ngie Date: Sun Oct 25 03:16:08 2015 New Revision: 289913 URL: https://svnweb.freebsd.org/changeset/base/289913 Log: Use 't' (bits) not 'i' (bytes) for describing MRIE (aka "Method of Reporting Informational Exceptions") in the SCSI mode database as the field described in

svn commit: r289915 - head/share/misc

2015-10-24 Thread Garrett Cooper
Author: ngie Date: Sun Oct 25 04:04:25 2015 New Revision: 289915 URL: https://svnweb.freebsd.org/changeset/base/289915 Log: Use 't' (bit-field) not 'b' (bit-sized integral type) for describing MRIE (aka "Method of Reporting Informational Exceptions") in the SCSI mode database. T10/04-371

Re: svn commit: r282145 - head/etc/rc.d

2015-10-24 Thread NGie Cooper
> On Apr 28, 2015, at 06:13, Gleb Smirnoff wrote: > > Author: glebius > Date: Tue Apr 28 13:13:23 2015 > New Revision: 282145 > URL: https://svnweb.freebsd.org/changeset/base/282145 > > Log: > Require "ldconfig" for "devd". It is possible that user puts into > devd.conf

svn commit: r289914 - head/share/misc

2015-10-24 Thread Garrett Cooper
Author: ngie Date: Sun Oct 25 03:22:21 2015 New Revision: 289914 URL: https://svnweb.freebsd.org/changeset/base/289914 Log: Revert r289913 -- I botched up the commit message by accident Will redo the commit shortly Modified: head/share/misc/scsi_modes Modified:

svn commit: r289916 - head/sbin/camcontrol

2015-10-24 Thread Garrett Cooper
Author: ngie Date: Sun Oct 25 04:37:00 2015 New Revision: 289916 URL: https://svnweb.freebsd.org/changeset/base/289916 Log: Limit RESOLUTION_MAX to INT_MAX, not UINT_MAX (all spelled out) so the mode value isn't always clipped to -1 when (resolution * size) == 32, which would have been the

svn commit: r289874 - head/usr.bin/systat

2015-10-24 Thread Michael Tuexen
Author: tuexen Date: Sat Oct 24 09:41:43 2015 New Revision: 289874 URL: https://svnweb.freebsd.org/changeset/base/289874 Log: Bump date. Missed in r289873. MFC after:1 week X-MFC with: r289873 Modified: head/usr.bin/systat/systat.1 Modified: head/usr.bin/systat/systat.1

Re: svn commit: r289350 - head/sys/netinet

2015-10-24 Thread Bjoern A. Zeeb
> On 16 Oct 2015, at 12:31 , Gleb Smirnoff wrote: > > On Thu, Oct 15, 2015 at 01:44:32AM +, Bjoern A. Zeeb wrote: > B> Author: bz > B> Date: Thu Oct 15 01:44:32 2015 > B> New Revision: 289350 > B> URL: https://svnweb.freebsd.org/changeset/base/289350 > B> > B> Log: >

svn commit: r289873 - head/usr.bin/systat

2015-10-24 Thread Michael Tuexen
Author: tuexen Date: Sat Oct 24 09:34:40 2015 New Revision: 289873 URL: https://svnweb.freebsd.org/changeset/base/289873 Log: Add support to systat to display SCTP statistics. MFC after: 1 week Added: head/usr.bin/systat/sctp.c (contents, props changed) Modified:

svn commit: r289875 - head/sys/dev/isp

2015-10-24 Thread Alexander Motin
Author: mav Date: Sat Oct 24 10:01:04 2015 New Revision: 289875 URL: https://svnweb.freebsd.org/changeset/base/289875 Log: Decode few more response info codes. Though CAM still does not send any requests that would require those. Modified: head/sys/dev/isp/isp.c Modified: