svn commit: r272978 - in head: sys/cam/ctl usr.sbin/ctladm

2014-10-12 Thread Alexander Motin
Author: mav Date: Sun Oct 12 06:55:34 2014 New Revision: 272978 URL: https://svnweb.freebsd.org/changeset/base/272978 Log: Improve and document `ctladm portlist` subcommand. Make this subcommand less FC-specific, reporting target and port addresses in more generic way. Also make it

svn commit: r272979 - in head/contrib/netbsd-tests/lib/libc: tls tls/dso tls_dso

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 10:04:59 2014 New Revision: 272979 URL: https://svnweb.freebsd.org/changeset/base/272979 Log: Only #include sys/tls.h on NetBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/tls/dso/h_tls_dlopen.c

svn commit: r272980 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 10:07:26 2014 New Revision: 272980 URL: https://svnweb.freebsd.org/changeset/base/272980 Log: #include libutil.h for fparseln on FreeBSD Sponsored by: EMC / Isilon Storage Division Modified: head/contrib/netbsd-tests/lib/libc/stdlib/h_getopt_long.c

svn commit: r272983 - in head/bin/sh: . tests/builtins

2014-10-12 Thread Jilles Tjoelker
Author: jilles Date: Sun Oct 12 13:12:06 2014 New Revision: 272983 URL: https://svnweb.freebsd.org/changeset/base/272983 Log: sh: Fix break/continue/return in multiline eval. Example: eval $'return\necho bad' Added: head/bin/sh/tests/builtins/eval7.0 (contents, props changed)

Re: svn commit: r272952 - in head/sys: fs/ext2fs fs/msdosfs ufs/ffs

2014-10-12 Thread Bruce Evans
On Sat, 11 Oct 2014, Konstantin Belousov wrote: Log: Do not set IN_ACCESS flag for read-only mounts. The IN_ACCESS survives remount in rw, also it is set for vnodes on rootfs before noatime can be set or clock is adjusted. All conditions result in wrong atime for accessed vnodes.

Re: svn commit: r272952 - in head/sys: fs/ext2fs fs/msdosfs ufs/ffs

2014-10-12 Thread Konstantin Belousov
On Mon, Oct 13, 2014 at 12:39:54AM +1100, Bruce Evans wrote: @@ -627,7 +627,7 @@ ffs_read(ap) } if ((error == 0 || uio-uio_resid != orig_resid) - (vp-v_mount-mnt_flag MNT_NOATIME) == 0 + (vp-v_mount-mnt_flag (MNT_NOATIME | MNT_RDONLY)) == 0 (ip-i_flag

svn commit: r272984 - in head/sys: netinet netinet6

2014-10-12 Thread Robert Watson
Author: rwatson Date: Sun Oct 12 15:49:52 2014 New Revision: 272984 URL: https://svnweb.freebsd.org/changeset/base/272984 Log: When deciding whether to call m_pullup() even though there is adequate data in an mbuf, use M_WRITABLE() instead of a direct test of M_EXT; the latter both

svn commit: r273003 - head/usr.sbin/bsdinstall/partedit

2014-10-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 12 17:50:25 2014 New Revision: 273003 URL: https://svnweb.freebsd.org/changeset/base/273003 Log: Centralize determination of boot firmware (UEFI vs. BIOS/CSM) into a function x86_bootmethod() and fix deviations from style(9). Modified:

svn commit: r273004 - head/sys/dev/uart

2014-10-12 Thread Ian Lepore
Author: ian Date: Sun Oct 12 17:56:02 2014 New Revision: 273004 URL: https://svnweb.freebsd.org/changeset/base/273004 Log: Use the FIFOs in the imx5/imx6 uart hardware instead of interrupting on each byte sent or received. Modified: head/sys/dev/uart/uart_dev_imx.c Modified:

svn commit: r273005 - head/usr.sbin/bsdinstall/partedit

2014-10-12 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Oct 12 17:59:31 2014 New Revision: 273005 URL: https://svnweb.freebsd.org/changeset/base/273005 Log: Only allow ZFS boot on GPT; the MBR ZFS bootblocks cannot be installed using gpart bootcode as /boot/zfsboot needs to be split into multiple pieces by hand and

svn commit: r273006 - head/sys/ddb

2014-10-12 Thread Pedro F. Giffuni
Author: pfg Date: Sun Oct 12 18:01:52 2014 New Revision: 273006 URL: https://svnweb.freebsd.org/changeset/base/273006 Log: ddb: ANSI-fy function declarations. MFC after:5 days Modified: head/sys/ddb/db_access.c head/sys/ddb/db_break.c head/sys/ddb/db_command.c

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

2014-10-12 Thread Alexander Motin
Author: mav Date: Sun Oct 12 18:57:22 2014 New Revision: 273008 URL: https://svnweb.freebsd.org/changeset/base/273008 Log: Remove stale comments. Modified: head/sys/cam/ctl/scsi_ctl.c Modified: head/sys/cam/ctl/scsi_ctl.c

svn commit: r273009 - in head: etc/devd sys/powerpc/powermac

2014-10-12 Thread Justin Hibbits
Author: jhibbits Date: Sun Oct 12 19:12:48 2014 New Revision: 273009 URL: https://svnweb.freebsd.org/changeset/base/273009 Log: Add an AC line monitor so power_profile can work Summary: Add a polling loop (1Hz) to monitor the battery and AC status, to notify devd like ACPI does for

Re: svn commit: r273009 - in head: etc/devd sys/powerpc/powermac

2014-10-12 Thread Justin Hibbits
On Sun, 12 Oct 2014 19:12:49 + (UTC) Justin Hibbits jhibb...@freebsd.org wrote: Author: jhibbits Date: Sun Oct 12 19:12:48 2014 New Revision: 273009 URL: https://svnweb.freebsd.org/changeset/base/273009 Log: Add an AC line monitor so power_profile can work Summary: Add a

svn commit: r273010 - head/contrib/netbsd-tests/lib/libc/regex

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 21:53:13 2014 New Revision: 273010 URL: https://svnweb.freebsd.org/changeset/base/273010 Log: Implement 64MB memory limit for test to ensure that it fails reliably in 600 seconds; it would previously fail inconsistently when run in some virtual machine

svn commit: r273011 - head/contrib/netbsd-tests/lib/libc/regex

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 21:54:55 2014 New Revision: 273011 URL: https://svnweb.freebsd.org/changeset/base/273011 Log: Fix compilation errors with missing wide-type headers and fix compilation warnings with -Wformat In collaboration with: pho Sponsored by: EMC / Isilon Storage

svn commit: r273012 - head/contrib/netbsd-tests/lib/libc/regex

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 21:59:23 2014 New Revision: 273012 URL: https://svnweb.freebsd.org/changeset/base/273012 Log: - Add libutil #include for fparseln - Change ATF_REQUIRE_EQ_MSG to ATF_CHECK_EQ_MSG to gather all failing results possible (currently 12 with leftassoc) - Mark

svn commit: r273013 - head/etc/rc.d

2014-10-12 Thread Hiroki Sato
Author: hrs Date: Sun Oct 12 22:11:28 2014 New Revision: 273013 URL: https://svnweb.freebsd.org/changeset/base/273013 Log: s/-/_/ in name. Modified: head/etc/rc.d/bgfsck Modified: head/etc/rc.d/bgfsck == ---

svn commit: r273014 - head/sys/netinet

2014-10-12 Thread Julien Charbon
Author: jch Date: Sun Oct 12 23:01:25 2014 New Revision: 273014 URL: https://svnweb.freebsd.org/changeset/base/273014 Log: A connection in TIME_WAIT state before calling close() actually did not received any RST packet. Do not set error to ECONNRESET in this case. Differential Revision:

svn commit: r273015 - head/contrib/netbsd-tests/lib/libc/gen

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Sun Oct 12 23:46:24 2014 New Revision: 273015 URL: https://svnweb.freebsd.org/changeset/base/273015 Log: Expect nice_err to fail on FreeBSD with unprivileged users PR: 189821 Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r273016 - head/sys/dev/iicbus

2014-10-12 Thread Justin Hibbits
Author: jhibbits Date: Sun Oct 12 23:48:55 2014 New Revision: 273016 URL: https://svnweb.freebsd.org/changeset/base/273016 Log: Check error return from reading integer part of temperature. There's a very remote, but possible, chance that the integer part read will fail, but the fraction

svn commit: r273018 - head/sys/dev/alc

2014-10-12 Thread Pyun YongHyeon
Author: yongari Date: Mon Oct 13 01:06:40 2014 New Revision: 273018 URL: https://svnweb.freebsd.org/changeset/base/273018 Log: Remove ALC_LOCK_ASSERT in alc_stop_queue(). This function is now called in device attach without holding a driver lock so it resulted in panic. Reported by:

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

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 01:14:01 2014 New Revision: 273019 URL: https://svnweb.freebsd.org/changeset/base/273019 Log: Do initial port of contrib/netbsd-tests/lib/libc/locale t_io: - Expect failures potentially related to implementation-specific knowledge of the zh_TW.Big5 locale

svn commit: r273020 - head/contrib/netbsd-tests/lib/libc/string

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 02:23:24 2014 New Revision: 273020 URL: https://svnweb.freebsd.org/changeset/base/273020 Log: memmem with NUL length needle (aka small) strings on FreeBSD/OSX returns NULL instead of the haystack value (aka big) Submitted by: pho Sponsored by: EMC / Isilon

svn commit: r273021 - head/contrib/netbsd-tests/lib/libc/string

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 02:27:59 2014 New Revision: 273021 URL: https://svnweb.freebsd.org/changeset/base/273021 Log: Use 1 as a random seed, as recommended in srandom(3). Adjust the random values accordingly Submitted by: pho Sponsored by: EMC / Isilon Storage Division

svn commit: r273023 - head/contrib/netbsd-tests/lib/libc/stdlib

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 02:32:37 2014 New Revision: 273023 URL: https://svnweb.freebsd.org/changeset/base/273023 Log: __isnanl is automatically picked according to data type in math.h. There isn't a need for the explicit __isnanl test Sponsored by: EMC / Isilon Storage Division

svn commit: r273024 - head/contrib/netbsd-tests/lib/libc/time

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 02:44:35 2014 New Revision: 273024 URL: https://svnweb.freebsd.org/changeset/base/273024 Log: Only test the return value in mktime_negyear Testing for the errno is an optional requirement according to POSIX, and FreeBSD doesn't document that errno would be

svn commit: r273025 - head/contrib/netbsd-tests/lib/libc/time

2014-10-12 Thread Garrett Cooper
Author: ngie Date: Mon Oct 13 03:55:47 2014 New Revision: 273025 URL: https://svnweb.freebsd.org/changeset/base/273025 Log: Change ATF_REQUIRE_MSG calls to ATF_CHECK_MSG to get as many errors as possible t_strptime:common.. - Expect the testcase body as a whole to fail. Multiple PRs

svn commit: r273026 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-10-12 Thread Xin LI
Author: delphij Date: Mon Oct 13 05:34:10 2014 New Revision: 273026 URL: https://svnweb.freebsd.org/changeset/base/273026 Log: Add a tunable for arc_shrink_shift (vfs.zfs.arc_shrink_shift) that controls how much fraction, 1/2^arc_shrink_shift, should be reclaimed when there is memory