svn commit: r268206 - in stable/10/sys/dev/usb: net serial

2014-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 3 06:44:55 2014 New Revision: 268206 URL: http://svnweb.freebsd.org/changeset/base/268206 Log: MFC r268078 and r268080: Fix for memory use after free() and mtx_destroy(). Modified: stable/10/sys/dev/usb/net/uhso.c stable/10/sys/dev/usb/serial/usb_serial.c

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

2014-07-03 Thread Justin Hibbits
Author: jhibbits Date: Thu Jul 3 06:52:26 2014 New Revision: 268207 URL: http://svnweb.freebsd.org/changeset/base/268207 Log: Fix a bug in hwpmc(4) callchain retrieval, for both user and kernel. The array index for the callchain is getting double-incremented -- both in the loop and the

svn commit: r268208 - in stable/9/sys/dev/usb: net serial

2014-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 3 08:07:37 2014 New Revision: 268208 URL: http://svnweb.freebsd.org/changeset/base/268208 Log: MFC r268078 and r268080: Fix for memory use after free() and mtx_destroy(). Modified: stable/9/sys/dev/usb/net/uhso.c stable/9/sys/dev/usb/serial/usb_serial.c

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

2014-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 3 10:49:46 2014 New Revision: 268209 URL: http://svnweb.freebsd.org/changeset/base/268209 Log: - Disable hardware checksumming until it is properly tested. - Don't discard frames if the dropped or error flag is set. - Don't remove the last 4-bytes of every

svn commit: r268210 - stable/10/sys/dev/glxiic

2014-07-03 Thread Daichi GOTO
Author: daichi (ports committer) Date: Thu Jul 3 10:59:42 2014 New Revision: 268210 URL: http://svnweb.freebsd.org/changeset/base/268210 Log: MFC: r267852 Fixed an IIC timing issue between the glxiic master and a slave of peripheral devices. When transmitting (rx) from slave to master,

svn commit: r268211 - head/sys/kern

2014-07-03 Thread Konstantin Belousov
Author: kib Date: Thu Jul 3 11:06:27 2014 New Revision: 268211 URL: http://svnweb.freebsd.org/changeset/base/268211 Log: Micro-manage clang to get the expected inlining for cpu_search(). Mark cpu_search_lowest/cpu_search_highest/cpu_search_both as noinline, while cpu_search() gets

svn commit: r268212 - head/lib/libc/sys

2014-07-03 Thread Konstantin Belousov
Author: kib Date: Thu Jul 3 11:19:16 2014 New Revision: 268212 URL: http://svnweb.freebsd.org/changeset/base/268212 Log: Note that most errors are possible for all syscalls from utimes(2) family. Minor wording corrections. Based on the suggestions by bde. Sponsored by: The FreeBSD

svn commit: r268213 - releng/9.3

2014-07-03 Thread Glen Barber
Author: gjb Date: Thu Jul 3 13:21:00 2014 New Revision: 268213 URL: http://svnweb.freebsd.org/changeset/base/268213 Log: Revert mergeinfo to the root of releng/9.3/ introduced in r267841. Approved by: re (glebius) Sponsored by: The FreeBSD Foundation Modified: Directory Properties:

svn commit: r268214 - in releng/9.3/sys/dev/usb: net serial

2014-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 3 13:49:43 2014 New Revision: 268214 URL: http://svnweb.freebsd.org/changeset/base/268214 Log: MFC r268078 and r268080: Fix for memory use after free() and mtx_destroy(). Approved by: re, glebius @ Modified: releng/9.3/sys/dev/usb/net/uhso.c

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

2014-07-03 Thread Ed Maste
Author: emaste Date: Thu Jul 3 13:51:10 2014 New Revision: 268215 URL: http://svnweb.freebsd.org/changeset/base/268215 Log: Describe kern.vty sc/vt tunable in syscons(4) Reviewed by: wblock Modified: head/share/man/man4/syscons.4 Modified: head/share/man/man4/syscons.4

svn commit: r268216 - stable/10/lib/libc/net

2014-07-03 Thread Hajimu UMEMOTO
Author: ume Date: Thu Jul 3 15:56:30 2014 New Revision: 268216 URL: http://svnweb.freebsd.org/changeset/base/268216 Log: MFC r267912, r267915: - Exclude loopback address rather than loopback interface. - style(9) Spotted by: melifaro Modified: stable/10/lib/libc/net/getaddrinfo.c

svn commit: r268217 - stable/9/sys/kern

2014-07-03 Thread Don Lewis
Author: truckman Date: Thu Jul 3 16:00:57 2014 New Revision: 268217 URL: http://svnweb.freebsd.org/changeset/base/268217 Log: MFC r266814 Initialize r_flags the same way in all cases using a sanitized copy of flags that has several bits cleared. The RF_WANTED and RF_FIRSTSHARE bits

svn commit: r268218 - stable/9/lib/libc/net

2014-07-03 Thread Hajimu UMEMOTO
Author: ume Date: Thu Jul 3 16:01:30 2014 New Revision: 268218 URL: http://svnweb.freebsd.org/changeset/base/268218 Log: MFC r267912, r267915: - Exclude loopback address rather than loopback interface. - style(9) Spotted by: melifaro Modified: stable/9/lib/libc/net/getaddrinfo.c

svn commit: r268219 - stable/10/sys/dev/usb/net

2014-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 3 16:13:44 2014 New Revision: 268219 URL: http://svnweb.freebsd.org/changeset/base/268219 Log: MFC r267955 and r268209: - Add proper rangechecks in axge_rx_frame() function and fix receive loop header parsing. - Disable hardware checksumming until it is

Re: svn commit: r268210 - stable/10/sys/dev/glxiic

2014-07-03 Thread Bruce Simpson
Daichi-san, Just FYI: I could not get IIC to work with the glxiic(4) driver in tree on my PC Engines ALIX 6D2, although this driver [1] appears to work. Tested with a Dallas Semiconductor DS1337 RTC module some time ago. Bruce [1] http://www.phisch.org/website/glxiic/

svn commit: r268221 - in stable/9/sys/dev: firewire my nfe siba sis sk tx usb/net

2014-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 3 16:29:21 2014 New Revision: 268221 URL: http://svnweb.freebsd.org/changeset/base/268221 Log: MFC r266270: Remove some unused variables. Modified: stable/9/sys/dev/firewire/sbp.c stable/9/sys/dev/my/if_my.c stable/9/sys/dev/nfe/if_nfe.c

svn commit: r268222 - in stable/9/sys/dev/usb: . net

2014-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 3 16:34:01 2014 New Revision: 268222 URL: http://svnweb.freebsd.org/changeset/base/268222 Log: MFC r266490, r266738, r267955, and r268209: - Improve performance by fixing incorrect Rx/Tx handling - Rename definition of AXGE_* to reflect reality - Add new

svn commit: r268220 - releng/9.3/lib/libc/net

2014-07-03 Thread Hajimu UMEMOTO
Author: ume Date: Thu Jul 3 16:26:37 2014 New Revision: 268220 URL: http://svnweb.freebsd.org/changeset/base/268220 Log: MFS r268218 (MFC r267912, r267915): - Exclude loopback address rather than loopback interface. - style(9) Spotted by: melifaro Approved by: re (gjb) Modified:

svn commit: r268223 - stable/10/lib/libc/sys

2014-07-03 Thread Sergey Kandaurov
Author: pluknet Date: Thu Jul 3 17:35:01 2014 New Revision: 268223 URL: http://svnweb.freebsd.org/changeset/base/268223 Log: MFC r267909: Document EINVAL. PR: 191382 Modified: stable/10/lib/libc/sys/bind.2 stable/10/lib/libc/sys/connect.2 Directory Properties: stable/10/

svn commit: r268224 - in head/sys/cddl/contrib/opensolaris/uts/common: dtrace sys

2014-07-03 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jul 3 17:36:59 2014 New Revision: 268224 URL: http://svnweb.freebsd.org/changeset/base/268224 Log: Merge from OpenSolaris (20-Apr-2008): 6822482 DOF validation needs to handle loadable sections flagged as unloadable MFC after:1 week Modified:

svn commit: r268225 - stable/9/lib/libc/sys

2014-07-03 Thread Sergey Kandaurov
Author: pluknet Date: Thu Jul 3 17:37:51 2014 New Revision: 268225 URL: http://svnweb.freebsd.org/changeset/base/268225 Log: MFC r267909: Document EINVAL. PR: 191382 Modified: stable/9/lib/libc/sys/bind.2 stable/9/lib/libc/sys/connect.2 Directory Properties:

svn commit: r268226 - in releng/9.3/sys/dev: firewire my nfe siba sis sk tx usb usb/net

2014-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jul 3 17:42:26 2014 New Revision: 268226 URL: http://svnweb.freebsd.org/changeset/base/268226 Log: MFC r268221 and r268222: - Remove some unused variables. - Add proper rangechecks in axge_rx_frame() function and fix receive loop header parsing. - Add new USB

svn commit: r268227 - head/sys/boot/amd64/efi

2014-07-03 Thread Ed Maste
Author: emaste Date: Thu Jul 3 17:53:28 2014 New Revision: 268227 URL: http://svnweb.freebsd.org/changeset/base/268227 Log: Display efi framebuffer dimensions on boot The EFI framebuffer produces corrupted output on certain systems. For now display the framebuffer parameters (address,

svn commit: r268228 - stable/8/sys/kern

2014-07-03 Thread Don Lewis
Author: truckman Date: Thu Jul 3 17:57:12 2014 New Revision: 268228 URL: http://svnweb.freebsd.org/changeset/base/268228 Log: MFC r266814 Initialize r_flags the same way in all cases using a sanitized copy of flags that has several bits cleared. The RF_WANTED and RF_FIRSTSHARE bits

svn commit: r268230 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-07-03 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jul 3 19:07:37 2014 New Revision: 268230 URL: http://svnweb.freebsd.org/changeset/base/268230 Log: Merge from OpenSolaris (22-Apr-2008): 6823388 DTrace ioctl handlers must validate all structure members MFC after:1 week Modified:

svn commit: r268231 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-07-03 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jul 3 19:25:24 2014 New Revision: 268231 URL: http://svnweb.freebsd.org/changeset/base/268231 Log: Merge from OpenSolaris (30-Jun-2009): 6851093 system drops to kmdb with anonymous dtrace probes + kmdb This has no effect on FreeBSD (code is ifdef'ed) but is

svn commit: r268232 - head/release/arm

2014-07-03 Thread Glen Barber
Author: gjb Date: Thu Jul 3 19:37:25 2014 New Revision: 268232 URL: http://svnweb.freebsd.org/changeset/base/268232 Log: The u-boot tarball needed for some boards, BEAGLEBONE for example, explicitly hard-code gcc(1) as the compiler. Partially revert r264703, which did a post-chroot

svn commit: r268233 - head/sys/dev/etherswitch/rtl8366

2014-07-03 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jul 3 19:50:50 2014 New Revision: 268233 URL: http://svnweb.freebsd.org/changeset/base/268233 Log: Initialize the switch vlan table at attachment. Update some comments on code, specifying the correct vlans used on switch setup. Advertise the proper switch

Re: svn commit: r268173 - head/sys/conf

2014-07-03 Thread Marius Strobl
On Wed, Jul 02, 2014 at 01:30:46PM -0700, Nathan Whitehorn wrote: On 07/02/14 13:28, Marius Strobl wrote: On Wed, Jul 02, 2014 at 01:04:48PM -0700, Nathan Whitehorn wrote: It worked at least on my Ultra 5 -- though probably because the ATI Mach64 FCode ROM there is substantially shared

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

2014-07-03 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jul 3 20:16:48 2014 New Revision: 268235 URL: http://svnweb.freebsd.org/changeset/base/268235 Log: Properly advertise that if_arge can handle long frames (if_arge is set to handle packets up to 1536 bytes) This fixes the need to frag that could happen when using

svn commit: r268236 - head/usr.bin/mkimg

2014-07-03 Thread Marcel Moolenaar
Author: marcel Date: Thu Jul 3 20:31:43 2014 New Revision: 268236 URL: http://svnweb.freebsd.org/changeset/base/268236 Log: Add VHD support to mkimg(1). VHD is used by Xen and Microsoft's Hyper-V among others. Add an undocumented option for unit testing (-y). When given, the image

Re: svn commit: r268236 - head/usr.bin/mkimg

2014-07-03 Thread Glen Barber
On Thu, Jul 03, 2014 at 08:31:43PM +, Marcel Moolenaar wrote: Author: marcel Date: Thu Jul 3 20:31:43 2014 New Revision: 268236 URL: http://svnweb.freebsd.org/changeset/base/268236 Log: Add VHD support to mkimg(1). VHD is used by Xen and Microsoft's Hyper-V among others.

svn commit: r268238 - head/usr.sbin/gstat

2014-07-03 Thread Xin LI
Author: delphij Date: Thu Jul 3 21:48:19 2014 New Revision: 268238 URL: http://svnweb.freebsd.org/changeset/base/268238 Log: Add an option, -p, which makes gstat(8) to only display physical providers (those with rank of 1). MFC after:2 weeks Modified: head/usr.sbin/gstat/gstat.8

Re: svn commit: r268173 - head/sys/conf

2014-07-03 Thread Nathan Whitehorn
On 07/03/14 12:52, Marius Strobl wrote: On Wed, Jul 02, 2014 at 01:30:46PM -0700, Nathan Whitehorn wrote: On 07/02/14 13:28, Marius Strobl wrote: On Wed, Jul 02, 2014 at 01:04:48PM -0700, Nathan Whitehorn wrote: It worked at least on my Ultra 5 -- though probably because the ATI Mach64 FCode

Re: svn commit: r268238 - head/usr.sbin/gstat

2014-07-03 Thread Steven Hartland
Great idea thanks for this very useful :) Regards Steve - Original Message - From: Xin LI delp...@freebsd.org To: src-committ...@freebsd.org; svn-src-all@freebsd.org; svn-src-h...@freebsd.org Sent: Thursday, July 03, 2014 10:48 PM Subject: svn commit: r268238 -

Re: svn commit: r268236 - head/usr.bin/mkimg

2014-07-03 Thread Eitan Adler
On 3 July 2014 13:31, Marcel Moolenaar mar...@freebsd.org wrote: Author: marcel Date: Thu Jul 3 20:31:43 2014 New Revision: 268236 URL: http://svnweb.freebsd.org/changeset/base/268236 Log: Add VHD support to mkimg(1). VHD is used by Xen and Microsoft's Hyper-V among others. Add an

svn commit: r268240 - in head: sbin/camcontrol sys/cam/scsi

2014-07-03 Thread Kenneth D. Merry
Author: ken Date: Thu Jul 3 23:09:44 2014 New Revision: 268240 URL: http://svnweb.freebsd.org/changeset/base/268240 Log: Add persistent reservation support to camcontrol(8). camcontrol(8) now supports a new 'persist' subcommand that allows users to issue SCSI PERSISTENT RESERVE IN / OUT

svn commit: r268241 - head/sys/netinet

2014-07-03 Thread Hiren Panchasara
Author: hiren Date: Thu Jul 3 23:12:43 2014 New Revision: 268241 URL: http://svnweb.freebsd.org/changeset/base/268241 Log: Fix a typo. Modified: head/sys/netinet/tcp_output.c Modified: head/sys/netinet/tcp_output.c

svn commit: r268242 - head/usr.bin/look

2014-07-03 Thread Eitan Adler
Author: eadler Date: Fri Jul 4 04:47:29 2014 New Revision: 268242 URL: http://svnweb.freebsd.org/changeset/base/268242 Log: look: implement long options gentoo has util-linux 2.24.1 with long options. Other distributions have similar. usage() is intentionally