svn commit: r246453 - head/sys/dev/ath

2013-02-06 Thread Adrian Chadd
Author: adrian Date: Thu Feb 7 07:50:16 2013 New Revision: 246453 URL: http://svnweb.freebsd.org/changeset/base/246453 Log: Create a new TX lock specifically for queuing frames. This now separates out the act of queuing frames from the act of running TX and TX completion. Modified: he

svn commit: r246452 - head/sys/kern

2013-02-06 Thread Neel Natu
Author: neel Date: Thu Feb 7 06:48:47 2013 New Revision: 246452 URL: http://svnweb.freebsd.org/changeset/base/246452 Log: If an interrupt event's assign_cpu method fails, then restore the original cpuset mask for the associated interrupt thread. The text used above is verbatim from r1952

svn commit: r246451 - stable/9/usr.sbin/gssd

2013-02-06 Thread Benjamin Kaduk
Author: bjk (doc committer) Date: Thu Feb 7 04:49:28 2013 New Revision: 246451 URL: http://svnweb.freebsd.org/changeset/base/246451 Log: MFC r245051: Grammar fixes and some wordsmithing Discussed with: rmacklem Approved by: hrs (mentor) Modified: stable/9/usr.sbin/g

svn commit: r246450 - head/sys/dev/ath

2013-02-06 Thread Adrian Chadd
Author: adrian Date: Thu Feb 7 02:15:25 2013 New Revision: 246450 URL: http://svnweb.freebsd.org/changeset/base/246450 Log: Methodize the process of adding the software TX queue to the taskqueue. Move it (for now) to the TX taskqueue. Modified: head/sys/dev/ath/if_ath.c head/sys/dev/a

svn commit: r246448 - head/sys/kern

2013-02-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 7 00:36:00 2013 New Revision: 246448 URL: http://svnweb.freebsd.org/changeset/base/246448 Log: Audit sockaddr argument for bind(2), connect(2), accept(2), sendto(2) and recvfrom(2) syscalls. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/uipc_sy

svn commit: r246447 - head/sys/kern

2013-02-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 7 00:27:11 2013 New Revision: 246447 URL: http://svnweb.freebsd.org/changeset/base/246447 Log: Minor style tweaks. Modified: head/sys/kern/uipc_syscalls.c Modified: head/sys/kern/uipc_syscalls.c ==

svn commit: r246446 - head/sys/security/audit

2013-02-06 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Feb 7 00:24:23 2013 New Revision: 246446 URL: http://svnweb.freebsd.org/changeset/base/246446 Log: Add AUDIT_ARG_SOCKADDR() macro so we can start using the audit_arg_sockaddr() function, which is currently unused. Sponsored by: The FreeBSD Foundation Modified: he

Re: svn commit: r246437 - in stable/9: share/examples/ses share/examples/ses/sesd share/examples/ses/srcs sys/cam/scsi sys/conf sys/fs/devfs sys/modules/cam usr.bin/kdump

2013-02-06 Thread Konstantin Belousov
On Wed, Feb 06, 2013 at 10:07:39PM +, Alexander Motin wrote: > stable/9/sys/fs/devfs/devfs_vnops.c Did you forgot to merge r235922 ? pgpva6SKzRG1e.pgp Description: PGP signature

Re: svn commit: r246437 - in stable/9: share/examples/ses share/examples/ses/sesd share/examples/ses/srcs sys/cam/scsi sys/conf sys/fs/devfs sys/modules/cam usr.bin/kdump

2013-02-06 Thread Konstantin Belousov
On Wed, Feb 06, 2013 at 10:07:39PM +, Alexander Motin wrote: > Author: mav > Date: Wed Feb 6 22:07:38 2013 > New Revision: 246437 > URL: http://svnweb.freebsd.org/changeset/base/246437 > > Log: > MFC r235911, r235980, r238739, r238740, r238894, r239213, r241488, r241952, > r242173, r24262

svn commit: r246442 - stable/9/sys/cam/ctl

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 22:39:45 2013 New Revision: 246442 URL: http://svnweb.freebsd.org/changeset/base/246442 Log: MFC r236426 (by mjacob): Print FC PortID as a hex number. This makes it easy to figure out domain, etc.. Zero ATIO and INOTify allocations. It makes for much less

svn commit: r246441 - stable/9/sys/cam/ctl

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 22:32:45 2013 New Revision: 246441 URL: http://svnweb.freebsd.org/changeset/base/246441 Log: MFC r244016 (by ken): Make sure we hold the SIM lock when calling xpt_free_path(). Sponsored by: Spectra Logic Corporation Modified: stable/9/sys/cam/ctl/scsi_ctl

svn commit: r246440 - stable/9/sys/cam

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 22:30:40 2013 New Revision: 246440 URL: http://svnweb.freebsd.org/changeset/base/246440 Log: MFC r244001 (by ken): Fix a panic during CAM EDT traversal. The problem was a race condition between the EDT traversal used by things like 'camcontrol devlist', and

svn commit: r246439 - stable/9/sys/cam/ctl

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 22:25:28 2013 New Revision: 246439 URL: http://svnweb.freebsd.org/changeset/base/246439 Log: MFC r242358 (by trasz): Use M_ZERO instead of explicit memsets and bzeros. Modified: stable/9/sys/cam/ctl/ctl.c stable/9/sys/cam/ctl/ctl_backend_block.c Directory Prop

svn commit: r246438 - in stable/9/sys/cam: . scsi

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 22:22:15 2013 New Revision: 246438 URL: http://svnweb.freebsd.org/changeset/base/246438 Log: MFC r241503: XPT_DEV_MATCH is probably the only xpt_action() method that is called without holding SIM lock. It really doesn't need that lock, but adding it removes tha

svn commit: r246437 - in stable/9: share/examples/ses share/examples/ses/sesd share/examples/ses/srcs sys/cam/scsi sys/conf sys/fs/devfs sys/modules/cam usr.bin/kdump

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 22:07:38 2013 New Revision: 246437 URL: http://svnweb.freebsd.org/changeset/base/246437 Log: MFC r235911, r235980, r238739, r238740, r238894, r239213, r241488, r241952, r242173, r242621, r242634, r242638, r242647, r242720, r244418, r244508, r245891: Revamp the

Re: svn commit: r246417 - in head/sys: fs/nfs kern nfsclient sys

2013-02-06 Thread John Baldwin
On Wednesday, February 06, 2013 12:06:52 pm John Baldwin wrote: > Author: jhb > Date: Wed Feb 6 17:06:51 2013 > New Revision: 246417 > URL: http://svnweb.freebsd.org/changeset/base/246417 > > Log: > Rework the handling of stop signals in the NFS client. The changes in > 195702, 195703, and 1

svn commit: r246432 - in stable/8/sys/cam: . scsi

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 18:41:12 2013 New Revision: 246432 URL: http://svnweb.freebsd.org/changeset/base/246432 Log: MFC r242175: Remove priority enforcement from xpt_ation(). It is not good and even not safe in some cases to reduce CCB priority after it was scheduled with high prior

svn commit: r246431 - in stable/9/sys/cam: . scsi

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 18:40:07 2013 New Revision: 246431 URL: http://svnweb.freebsd.org/changeset/base/246431 Log: MFC r242175: Remove priority enforcement from xpt_ation(). It is not good and even not safe in some cases to reduce CCB priority after it was scheduled with high prior

svn commit: r246429 - in stable/9/sys/cam: ctl scsi

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 18:36:26 2013 New Revision: 246429 URL: http://svnweb.freebsd.org/changeset/base/246429 Log: MFC r242174: Remove several uses of numeric priorities from immediate CCB setups. Modified: stable/9/sys/cam/ctl/ctl_frontend_cam_sim.c stable/9/sys/cam/ctl/scsi_ctl.c

svn commit: r246427 - stable/9/sys/cam/ctl

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 18:32:12 2013 New Revision: 246427 URL: http://svnweb.freebsd.org/changeset/base/246427 Log: MFC r240993 (by trasz): Remove useless NULL checks after M_WAITOK allocations. Modified: stable/9/sys/cam/ctl/ctl.c stable/9/sys/cam/ctl/ctl_backend_block.c stable/9

svn commit: r246426 - stable/9/sys/cam/ctl

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 18:30:53 2013 New Revision: 246426 URL: http://svnweb.freebsd.org/changeset/base/246426 Log: MFC r240948 (by trasz): Fix panic in CTL caused by trying to free invalid pointers passed by the userland process via the IOCTL interface. Modified: stable/9/sys/cam/c

svn commit: r246425 - stable/8/sys/cam/scsi

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 18:22:52 2013 New Revision: 246425 URL: http://svnweb.freebsd.org/changeset/base/246425 Log: MFC r238595, r238596: Add bunch of new ASC/ASCQ values from T10 site. Modified: stable/8/sys/cam/scsi/scsi_all.c Directory Properties: stable/8/sys/ (props changed)

svn commit: r246424 - stable/9/sys/cam/scsi

2013-02-06 Thread Alexander Motin
Author: mav Date: Wed Feb 6 18:21:36 2013 New Revision: 246424 URL: http://svnweb.freebsd.org/changeset/base/246424 Log: MFC r238595, r238596: Add bunch of new ASC/ASCQ values from T10 site. Modified: stable/9/sys/cam/scsi/scsi_all.c Directory Properties: stable/9/sys/ (props changed)

svn commit: r246421 - in head/sys/dev/sound: pcm usb

2013-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 6 17:43:05 2013 New Revision: 246421 URL: http://svnweb.freebsd.org/changeset/base/246421 Log: Add support for buttons on USB audio devices, like Volume Up and Volume Down. Reviewed by: mav @ MFC after:1 week Modified: head/sys/dev/sound/pcm/mixer

Re: svn commit: r246362 - head/games/fortune/datfiles

2013-02-06 Thread Alfred Perlstein
On 2/6/13 6:36 AM, Dag-Erling Smørgrav wrote: Greg 'groggy' Lehey writes: The real issue I see is that, for whatever reason, the Limbaugh fortunes pop up far too frequently. It's as if the random number generation is failing. Comments? Not sure how often is too often, but there were 35 of th

svn commit: r246417 - in head/sys: fs/nfs kern nfsclient sys

2013-02-06 Thread John Baldwin
Author: jhb Date: Wed Feb 6 17:06:51 2013 New Revision: 246417 URL: http://svnweb.freebsd.org/changeset/base/246417 Log: Rework the handling of stop signals in the NFS client. The changes in 195702, 195703, and 195821 prevented a thread from suspending while holding locks inside of NFS by

Re: svn commit: r246397 - head/sys/dev/syscons

2013-02-06 Thread Hans Petter Selasky
On Wednesday 06 February 2013 16:36:12 Ian Lepore wrote: > On Wed, 2013-02-06 at 11:16 +, Hans Petter Selasky wrote: > > Author: hselasky > > Date: Wed Feb 6 11:16:18 2013 > > New Revision: 246397 > > URL: http://svnweb.freebsd.org/changeset/base/246397 > > > > Log: > > Make sure that all m

Re: svn commit: r246397 - head/sys/dev/syscons

2013-02-06 Thread Ian Lepore
On Wed, 2013-02-06 at 11:16 +, Hans Petter Selasky wrote: > Author: hselasky > Date: Wed Feb 6 11:16:18 2013 > New Revision: 246397 > URL: http://svnweb.freebsd.org/changeset/base/246397 > > Log: > Make sure that all mouse buttons are released when clients > using /dev/consolectl close. T

svn commit: r246412 - head/sys/kern

2013-02-06 Thread Sergey Kandaurov
Author: pluknet Date: Wed Feb 6 15:18:46 2013 New Revision: 246412 URL: http://svnweb.freebsd.org/changeset/base/246412 Log: Prezero the acl structure which is to be copied to usermode, to avoid leakage of the previous content of padding and unitialized fields. Reported by: Ilia Noskov

Re: svn commit: r246282 - in head/sys: conf kern

2013-02-06 Thread John Baldwin
On Wednesday, February 06, 2013 8:12:39 am Andriy Gapon wrote: > on 05/02/2013 18:15 John Baldwin said the following: > > Almost. To handle the case where the boot buffer might have wrapped I think > > you should copy the entries at the "end" into the head of the KTR buffer > > first, then the ent

Re: svn commit: r246362 - head/games/fortune/datfiles

2013-02-06 Thread Dag-Erling Smørgrav
Greg 'groggy' Lehey writes: > The real issue I see is that, for whatever reason, the Limbaugh > fortunes pop up far too frequently. It's as if the random number > generation is failing. Comments? Not sure how often is too often, but there were 35 of them, which is approximately 1.5% of fortunes

Re: svn commit: r246362 - head/games/fortune/datfiles

2013-02-06 Thread Dag-Erling Smørgrav
Gleb Smirnoff writes: > The yesterday bikeshed proves that "most" isn't enough. :( The entire > games subdir needs to be moved. fortune(6) in itself is quite useful (try it with -e freebsd-tips). Some of the content is objectionable, but that does not justify removing the tool itself, although I

Re: svn commit: r246362 - head/games/fortune/datfiles

2013-02-06 Thread Dag-Erling Smørgrav
Fabian Keil writes: > I'm somewhat amused that Limbaugh quotes are apparently considered > too offensive for fortunes-o.real, while the Hitler quotes from > games/fortune/datfiles/fortunes don't even qualify for fotunes-o. That was, believe it or not, the result of a lengthy discussion in which i

Re: svn commit: r246282 - in head/sys: conf kern

2013-02-06 Thread Andriy Gapon
on 06/02/2013 15:12 Andriy Gapon said the following: > on 05/02/2013 18:15 John Baldwin said the following: >> Almost. To handle the case where the boot buffer might have wrapped I think >> you should copy the entries at the "end" into the head of the KTR buffer >> first, then the entries from the

Re: svn commit: r246402 - stable/9/usr.sbin/inetd

2013-02-06 Thread Ian Lepore
On Wed, 2013-02-06 at 13:16 +, Andrey Zonov wrote: > Author: zont > Date: Wed Feb 6 13:16:43 2013 > New Revision: 246402 > URL: http://svnweb.freebsd.org/changeset/base/246402 > > Log: > MFC r245696: > - Force inetd to have listen queue size to be set to the value of > kern.ipc.somaxc

svn commit: r246406 - stable/9/sys/pc98/conf

2013-02-06 Thread Takahashi Yoshihiro
Author: nyan Date: Wed Feb 6 13:55:02 2013 New Revision: 246406 URL: http://svnweb.freebsd.org/changeset/base/246406 Log: MFi386: Remove firewire devices. Modified: stable/9/sys/pc98/conf/GENERIC Modified: stable/9/sys/pc98/conf/GENERIC ==

svn commit: r246405 - stable/9/tools/test/pthread_vfork

2013-02-06 Thread Konstantin Belousov
Author: kib Date: Wed Feb 6 13:53:59 2013 New Revision: 246405 URL: http://svnweb.freebsd.org/changeset/base/246405 Log: MFC r246119: Rework the handling of the children for the pthread_vfork_test. The trivial handler for SIGCHLD is installed, and SIGCHLD is blocked, to not abandon our z

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

2013-02-06 Thread Konstantin Belousov
Author: kib Date: Wed Feb 6 13:49:56 2013 New Revision: 246404 URL: http://svnweb.freebsd.org/changeset/base/246404 Log: MFC r246118: The case of pid == WAIT_MYPGRP for the kern_wait() is already handled in kern_wait6(), which is called by kern_wait(). Remove the redundand check, introdu

svn commit: r246403 - stable/8/usr.sbin/inetd

2013-02-06 Thread Andrey Zonov
Author: zont Date: Wed Feb 6 13:17:41 2013 New Revision: 246403 URL: http://svnweb.freebsd.org/changeset/base/246403 Log: MFC r245696: - Force inetd to have listen queue size to be set to the value of kern.ipc.somaxconn instead of hardcoded value 64. Modified: stable/8/usr.sbin/inetd/i

svn commit: r246402 - stable/9/usr.sbin/inetd

2013-02-06 Thread Andrey Zonov
Author: zont Date: Wed Feb 6 13:16:43 2013 New Revision: 246402 URL: http://svnweb.freebsd.org/changeset/base/246402 Log: MFC r245696: - Force inetd to have listen queue size to be set to the value of kern.ipc.somaxconn instead of hardcoded value 64. Modified: stable/9/usr.sbin/inetd/i

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

2013-02-06 Thread Andrey Zonov
Author: zont Date: Wed Feb 6 13:14:30 2013 New Revision: 246401 URL: http://svnweb.freebsd.org/changeset/base/246401 Log: MFC r245457: - Detect when we are in KVM. Modified: stable/8/sys/kern/subr_param.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/kern/ (props

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

2013-02-06 Thread Andrey Zonov
Author: zont Date: Wed Feb 6 13:13:15 2013 New Revision: 246400 URL: http://svnweb.freebsd.org/changeset/base/246400 Log: MFC r245457: - Detect when we are in KVM. Modified: stable/9/sys/kern/subr_param.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/kern/

Re: svn commit: r246282 - in head/sys: conf kern

2013-02-06 Thread Andriy Gapon
on 05/02/2013 18:15 John Baldwin said the following: > Almost. To handle the case where the boot buffer might have wrapped I think > you should copy the entries at the "end" into the head of the KTR buffer > first, then the entries from the front to the current index, and then update > the index t

Re: svn commit: r246362 - head/games/fortune/datfiles

2013-02-06 Thread Fabian Keil
Greg 'groggy' Lehey wrote: > On Tuesday, 5 February 2013 at 11:45:40 -0500, John Baldwin wrote: > > On Tuesday, February 05, 2013 9:39:38 am Dag-Erling SmXXrgrav wrote: > >> Author: des > >> Date: Tue Feb 5 14:39:37 2013 > >> New Revision: 246362 > >> URL: http://svnweb.freebsd.org/changeset/ba

svn commit: r246397 - head/sys/dev/syscons

2013-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 6 11:16:18 2013 New Revision: 246397 URL: http://svnweb.freebsd.org/changeset/base/246397 Log: Make sure that all mouse buttons are released when clients using /dev/consolectl close. This fixes a problem where if a USB mouse is detached while a button is press

svn commit: r246396 - stable/8/sys/dev/usb/controller

2013-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 6 11:10:41 2013 New Revision: 246396 URL: http://svnweb.freebsd.org/changeset/base/246396 Log: MFC r246113 and r246126: Add missing NULL pointer check. Reported by: Lars Engels Modified: stable/8/sys/dev/usb/controller/xhci.c Directory Properties: sta

svn commit: r246395 - stable/9/sys/dev/usb/controller

2013-02-06 Thread Hans Petter Selasky
Author: hselasky Date: Wed Feb 6 11:08:11 2013 New Revision: 246395 URL: http://svnweb.freebsd.org/changeset/base/246395 Log: MFC r246113 and r246126: Add missing NULL pointer check. Reported by: Lars Engels Modified: stable/9/sys/dev/usb/controller/xhci.c Directory Properties: sta

svn commit: r246394 - vendor-sys/illumos/dist/uts/common/fs/zfs

2013-02-06 Thread Martin Matuska
Author: mm Date: Wed Feb 6 08:29:00 2013 New Revision: 246394 URL: http://svnweb.freebsd.org/changeset/base/246394 Log: Update vendor-sys/illumos/dist to illumos-gate version 13945:7a9c1d41dfbe Illumos ZFS issues: 3507 Tunable to allow block allocation even on degraded vdevs Modified:

svn commit: r246393 - in vendor/illumos/dist: cmd/dtrace/test/tst/common/funcs cmd/dtrace/test/tst/common/misc cmd/dtrace/test/tst/common/pointers cmd/dtrace/test/tst/common/print cmd/dtrace/test/t...

2013-02-06 Thread Martin Matuska
Author: mm Date: Wed Feb 6 08:26:55 2013 New Revision: 246393 URL: http://svnweb.freebsd.org/changeset/base/246393 Log: Update vendor/illumos/dist to illumos-gate version 13944:bbcbb468dc37 Illumos dtrace issues: 3519 DTrace fails to resolve const types from fbt 3520 dtrace interna

svn commit: r246392 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/cmd/zdb

2013-02-06 Thread Martin Matuska
Author: mm Date: Wed Feb 6 08:21:40 2013 New Revision: 246392 URL: http://svnweb.freebsd.org/changeset/base/246392 Log: Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13941:d48547176ab4 Illumos ZFS issues: 3498 panic in arc_read(): !refcount_is_zero(&pbuf->b_h

svn commit: r246392 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/cmd/zdb

2013-02-06 Thread Martin Matuska
Author: mm Date: Wed Feb 6 08:21:40 2013 New Revision: 246392 URL: http://svnweb.freebsd.org/changeset/base/246392 Log: Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13941:d48547176ab4 Illumos ZFS issues: 3498 panic in arc_read(): !refcount_is_zero(&pbuf->b_h

svn commit: r246391 - vendor-sys/illumos/dist/uts/common/dtrace vendor/illumos/dist/cmd/dtrace/test/tst/common/pointers

2013-02-06 Thread Martin Matuska
Author: mm Date: Wed Feb 6 08:17:29 2013 New Revision: 246391 URL: http://svnweb.freebsd.org/changeset/base/246391 Log: Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13939:20e4d8d8da6d illumos dtrace issues: 3511 dtrace.c erroneously checks for memory alignme

svn commit: r246391 - vendor-sys/illumos/dist/uts/common/dtrace vendor/illumos/dist/cmd/dtrace/test/tst/common/pointers

2013-02-06 Thread Martin Matuska
Author: mm Date: Wed Feb 6 08:17:29 2013 New Revision: 246391 URL: http://svnweb.freebsd.org/changeset/base/246391 Log: Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13939:20e4d8d8da6d illumos dtrace issues: 3511 dtrace.c erroneously checks for memory alignme

svn commit: r246390 - vendor-sys/illumos/dist/uts/common/fs/zfs/sys

2013-02-06 Thread Martin Matuska
Author: mm Date: Wed Feb 6 08:14:58 2013 New Revision: 246390 URL: http://svnweb.freebsd.org/changeset/base/246390 Log: Update vendor-sys/illumos/dist to illumos-gate version 13937:6b4f289e7094 Illumos ZFS issues: 3468 mdb enhancements for zfs development (not relevant for FreeBSD) Mod