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

2014-06-27 Thread Alexander Motin
Author: mav Date: Fri Jun 27 06:52:37 2014 New Revision: 267952 URL: http://svnweb.freebsd.org/changeset/base/267952 Log: Fix typo in r267481. MFC after:3 days Modified: head/sys/cam/ctl/ctl_frontend_iscsi.c Modified: head/sys/cam/ctl/ctl_frontend_iscsi.c

svn commit: r267955 - head/sys/dev/usb/net

2014-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 27 10:24:36 2014 New Revision: 267955 URL: http://svnweb.freebsd.org/changeset/base/267955 Log: Add proper rangechecks in axge_rx_frame() function and fix receive loop header parsing. MFC after:3 days PR: 191432 Modified:

Re: svn commit: r266490 - head/sys/dev/usb/net

2014-06-27 Thread Hans Petter Selasky
Hi Kevin, axge_rx_frame() looked a bit broken. I've tried to fix it: http://svnweb.freebsd.org/changeset/base/267955 and https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191432 Please verify! Thank you! --HPS ___ svn-src-head@freebsd.org mailing

svn commit: r267959 - in head/usr.sbin: bhyve bhyveload

2014-06-27 Thread John Baldwin
Author: jhb Date: Fri Jun 27 15:20:34 2014 New Revision: 267959 URL: http://svnweb.freebsd.org/changeset/base/267959 Log: Sort command flags in usage output and the manpages. Modified: head/usr.sbin/bhyve/bhyve.8 head/usr.sbin/bhyve/bhyverun.c head/usr.sbin/bhyveload/bhyveload.8

svn commit: r267960 - head/sbin/sysctl

2014-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jun 27 15:23:12 2014 New Revision: 267960 URL: http://svnweb.freebsd.org/changeset/base/267960 Log: Don't hide zero-length strings when doing sysctl listings. MFC after:1 week Modified: head/sbin/sysctl/sysctl.c Modified: head/sbin/sysctl/sysctl.c

svn commit: r267963 - head/share/examples/bhyve

2014-06-27 Thread Neel Natu
Author: neel Date: Fri Jun 27 17:18:54 2014 New Revision: 267963 URL: http://svnweb.freebsd.org/changeset/base/267963 Log: After r267897 brought in a new version of file/libmagic, a filesystem image is identified as DOS/MBR boot sector as opposed to x86 boot sector. This trips up

svn commit: r267965 - in head: share/man/man4 sys/dev/syscons sys/dev/vt sys/kern sys/sys

2014-06-27 Thread Ed Maste
Author: emaste Date: Fri Jun 27 17:50:33 2014 New Revision: 267965 URL: http://svnweb.freebsd.org/changeset/base/267965 Log: Use a common tunable to choose between vt(4)/sc(4) With this change and previous work from ray@ it will be possible to put both in GENERIC, and have one enabled by

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

2014-06-27 Thread Neel Natu
Author: neel Date: Fri Jun 27 18:00:38 2014 New Revision: 267966 URL: http://svnweb.freebsd.org/changeset/base/267966 Log: Add post-mortem debugging for EPT Misconfiguration VM-exit. This error is hard to reproduce so try to collect all the breadcrumbs when it happens. Reviewed by:

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

2014-06-27 Thread Marius Strobl
Author: marius Date: Fri Jun 27 18:24:20 2014 New Revision: 267967 URL: http://svnweb.freebsd.org/changeset/base/267967 Log: - SC_NO_SYSMOUSE isn't currently supported by vt(4), so nuke it from vt.4. - vt_vga(4) is a driver rather than a function so reference it accordingly. - Uncomment

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

2014-06-27 Thread Joel Dahl
Author: joel (doc committer) Date: Fri Jun 27 18:32:20 2014 New Revision: 267968 URL: http://svnweb.freebsd.org/changeset/base/267968 Log: Minor mdoc fix. Modified: head/share/man/man4/vt.4 Modified: head/share/man/man4/vt.4

svn commit: r267969 - head/usr.sbin/bsnmpd/modules/snmp_lm75

2014-06-27 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jun 27 18:40:14 2014 New Revision: 267969 URL: http://svnweb.freebsd.org/changeset/base/267969 Log: Correct the buffer length check to avoid overflows. Found with: Coverity Scan CID: 1222502, 1222503 Modified:

svn commit: r267970 - head/usr.sbin/pw

2014-06-27 Thread Mateusz Guzik
Author: mjg Date: Fri Jun 27 18:51:19 2014 New Revision: 267970 URL: http://svnweb.freebsd.org/changeset/base/267970 Log: pw: fix up deletion of users from groups Previuosly given 'foo,bar' members, removing 'foo' would result in an infinite loop. PR: 191427 Submitted

svn commit: r267971 - head/usr.sbin/bsnmpd/modules/snmp_lm75

2014-06-27 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jun 27 18:58:22 2014 New Revision: 267971 URL: http://svnweb.freebsd.org/changeset/base/267971 Log: Simplify the code a little bit using the update_sensor_sysctl() routine to retrieve the sensor temperature. This also avoid the overflow that could happen on

svn commit: r267972 - head/sys/netinet

2014-06-27 Thread Adrian Chadd
Author: adrian Date: Fri Jun 27 19:07:00 2014 New Revision: 267972 URL: http://svnweb.freebsd.org/changeset/base/267972 Log: Add missing variable declarations when using RSS. Reported by: bryanv@ Modified: head/sys/netinet/ip_output.c Modified: head/sys/netinet/ip_output.c

svn commit: r267973 - head/sys/kern

2014-06-27 Thread Ed Maste
Author: emaste Date: Fri Jun 27 19:07:35 2014 New Revision: 267973 URL: http://svnweb.freebsd.org/changeset/base/267973 Log: Add CTLFLAG_NOFETCH flag; console vty code runs before tunable fetch Also remove redundant assignment for string in BSS. Submitted by: hselasky@ Modified:

Re: svn commit: r267961 - in head/sys: amd64/acpica amd64/amd64 amd64/pci amd64/vmm arm/arm arm/freescale/imx arm/xscale/ixp425 cam cam/ata cam/ctl cam/scsi cddl/compat/opensolaris/kern cddl/contrib/o

2014-06-27 Thread Ed Maste
On 27 June 2014 12:33, Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Fri Jun 27 16:33:43 2014 New Revision: 267961 URL: http://svnweb.freebsd.org/changeset/base/267961 At r267969 sysctl strings are broken for me: # uname -a uname: sysctl: Cannot allocate memory #

Re: svn commit: r254627 - in head: bin/chflags bin/ls lib/libc/gen lib/libc/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/msdosfs sys/fs/smbfs sys/sys sys/ufs/ufs

2014-06-27 Thread Xin LI
Hi, Craig have hit an interesting issue today, where he tried to 'mv' a file from ZFS dataset to a NFS mount, 'mv' bails out because chflags failed. I think it's probably sensible to have mv ignoring UF_ARCHIVE, and set the flag on the target unconditionally? i.e.: Index: mv.c

svn commit: r267977 - head/bin/mv

2014-06-27 Thread Xin LI
Author: delphij Date: Fri Jun 27 19:57:54 2014 New Revision: 267977 URL: http://svnweb.freebsd.org/changeset/base/267977 Log: Always set UF_ARCHIVE on target (because they are by definition new files and should be archived) and ignore error when we can't set it (e.g. NFS). Reviewed by:

svn commit: r267978 - in head: share/man/man4 sys/conf sys/dev/vt sys/kern sys/sys

2014-06-27 Thread Marius Strobl
Author: marius Date: Fri Jun 27 19:57:57 2014 New Revision: 267978 URL: http://svnweb.freebsd.org/changeset/base/267978 Log: In order to get vt(4) a bit closer to the feature set provided by sc(4), implement options TERMINAL_{KERN,NORM}_ATTR. These are aliased to SC_{KERNEL_CONS,NORM}_ATTR

Re: svn commit: r254627 - in head: bin/chflags bin/ls lib/libc/gen lib/libc/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/msdosfs sys/fs/smbfs sys/sys sys/ufs/ufs

2014-06-27 Thread Kenneth D. Merry
On Fri, Jun 27, 2014 at 12:48:29 -0700, Xin LI wrote: Hi, Craig have hit an interesting issue today, where he tried to 'mv' a file from ZFS dataset to a NFS mount, 'mv' bails out because chflags failed. I think it's probably sensible to have mv ignoring UF_ARCHIVE, and set the flag on the

Re: svn commit: r267961 - in head/sys: amd64/acpica amd64/amd64 amd64/pci amd64/vmm arm/arm arm/freescale/imx arm/xscale/ixp425 cam cam/ata cam/ctl cam/scsi cddl/compat/opensolaris/kern cddl/contrib/o

2014-06-27 Thread Mateusz Guzik
On Fri, Jun 27, 2014 at 03:27:30PM -0400, Ed Maste wrote: On 27 June 2014 12:33, Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Fri Jun 27 16:33:43 2014 New Revision: 267961 URL: http://svnweb.freebsd.org/changeset/base/267961 At r267969 sysctl strings are

svn commit: r267981 - head/contrib/llvm/lib/Target/PowerPC

2014-06-27 Thread Dimitry Andric
Author: dim Date: Fri Jun 27 20:41:12 2014 New Revision: 267981 URL: http://svnweb.freebsd.org/changeset/base/267981 Log: Pull in r211627 from upstream llvm trunk (by Bill Schmidt): [PPC64] Fix PR20071 (fctiduz generated for targets lacking that instruction) PR20071 identifies

svn commit: r267982 - head/contrib/llvm/patches

2014-06-27 Thread Dimitry Andric
Author: dim Date: Fri Jun 27 20:45:17 2014 New Revision: 267982 URL: http://svnweb.freebsd.org/changeset/base/267982 Log: Add the llvm patch for r267981. Added: head/contrib/llvm/patches/patch-r267981-llvm-r211435-fix-ppc-fctiduz.diff Added:

svn commit: r267984 - head/sys/dev/random

2014-06-27 Thread Xin LI
Author: delphij Date: Fri Jun 27 21:33:15 2014 New Revision: 267984 URL: http://svnweb.freebsd.org/changeset/base/267984 Log: Use Intel's official name (Secure Key) per IntelĀ® Digital Random Number Generator (DRNG) Software Implementation Guide. Reviewed by: kib Approved by: so MFC

Re: svn commit: r267977 - head/bin/mv

2014-06-27 Thread Jilles Tjoelker
On Fri, Jun 27, 2014 at 07:57:54PM +, Xin LI wrote: Author: delphij Date: Fri Jun 27 19:57:54 2014 New Revision: 267977 URL: http://svnweb.freebsd.org/changeset/base/267977 Log: Always set UF_ARCHIVE on target (because they are by definition new files and should be archived) and

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

2014-06-27 Thread Alexander Motin
Author: mav Date: Fri Jun 27 22:28:14 2014 New Revision: 267986 URL: http://svnweb.freebsd.org/changeset/base/267986 Log: Remove odd practice of inverting error codes. -EPERM is equal to ERESTART, returning which from ioctl() handler causes infinite syscall restart. MFC after:2

svn commit: r267987 - head/sys/modules/dtrace/dtrace

2014-06-27 Thread Rui Paulo
Author: rpaulo Date: Fri Jun 27 22:38:42 2014 New Revision: 267987 URL: http://svnweb.freebsd.org/changeset/base/267987 Log: Redefine SUNW based on SYSDIR in an attempt to fix a build problem. MFC after:2 weeks Modified: head/sys/modules/dtrace/dtrace/Makefile Modified:

svn commit: r267991 - head/tools/tools/sysbuild

2014-06-27 Thread Gavin Atkinson
Author: gavin Date: Sat Jun 28 00:01:18 2014 New Revision: 267991 URL: http://svnweb.freebsd.org/changeset/base/267991 Log: Minimal update for cvsup - svn change. Modified: head/tools/tools/sysbuild/README Modified: head/tools/tools/sysbuild/README

Re: svn commit: r254627 - in head: bin/chflags bin/ls lib/libc/gen lib/libc/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/msdosfs sys/fs/smbfs sys/sys sys/ufs/ufs

2014-06-27 Thread Matthew D. Fuller
On Fri, Jun 27, 2014 at 12:48:29PM -0700 I heard the voice of Xin LI, and lo! it spake thus: Craig have hit an interesting issue today, where he tried to 'mv' a file from ZFS dataset to a NFS mount, 'mv' bails out because chflags failed. I've been getting these for a while on my -CURRENT

svn commit: r267993 - head/sys/kern

2014-06-27 Thread Hans Petter Selasky
Author: hselasky Date: Sat Jun 28 03:59:04 2014 New Revision: 267993 URL: http://svnweb.freebsd.org/changeset/base/267993 Log: Fix regression issue after r267961. Handle special string case for SYSCTLs like previously. MFC after:2 weeks Reported by: several people Modified:

Re: svn commit: r267961 - in head/sys: amd64/acpica amd64/amd64 amd64/pci amd64/vmm arm/arm arm/freescale/imx arm/xscale/ixp425 cam cam/ata cam/ctl cam/scsi cddl/compat/opensolaris/kern cddl/contrib/o

2014-06-27 Thread Hans Petter Selasky
On 06/27/14 22:19, Mateusz Guzik wrote: On Fri, Jun 27, 2014 at 03:27:30PM -0400, Ed Maste wrote: On 27 June 2014 12:33, Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Fri Jun 27 16:33:43 2014 New Revision: 267961 URL: http://svnweb.freebsd.org/changeset/base/267961

Re: svn commit: r267986 - head/sys/cam/ctl

2014-06-27 Thread Kenneth D. Merry
On Fri, Jun 27, 2014 at 22:28:14 +, Alexander Motin wrote: Author: mav Date: Fri Jun 27 22:28:14 2014 New Revision: 267986 URL: http://svnweb.freebsd.org/changeset/base/267986 Log: Remove odd practice of inverting error codes. -EPERM is equal to ERESTART, returning which from

svn commit: r268001 - in head/sys: kern sys

2014-06-27 Thread Mateusz Guzik
Author: mjg Date: Sat Jun 28 05:41:53 2014 New Revision: 268001 URL: http://svnweb.freebsd.org/changeset/base/268001 Log: Make fdunshare accept only td parameter. Proc had to match the thread anyway and 2 parameters were inconsistent with the rest. MFC after:1 week Modified: