Re: svn commit: r192094 - head/sys/kern

2009-05-15 Thread Ed Schouten
Hi Kostik, * Konstantin Belousov wrote: > Log: > Do not advance req->oldidx when sysctl_old_user returning an > error due to copyout failure or short buffer. > > The later breaks the usermode iterators of the sysctl results that pack > arbitrary number of variable-sized structures. Ite

Re: svn commit: r192094 - head/sys/kern

2009-05-15 Thread Florian Smeets
On 15.05.09 09:02, Ed Schouten wrote: Hi Kostik, * Konstantin Belousov wrote: Log: Do not advance req->oldidx when sysctl_old_user returning an error due to copyout failure or short buffer. The later breaks the usermode iterators of the sysctl results that pack arbitrary number of

Re: svn commit: r192094 - head/sys/kern

2009-05-15 Thread Peter Holm
On Fri, May 15, 2009 at 09:02:39AM +0200, Ed Schouten wrote: > Hi Kostik, > > * Konstantin Belousov wrote: > > Log: > > Do not advance req->oldidx when sysctl_old_user returning an > > error due to copyout failure or short buffer. > > > > The later breaks the usermode iterators of the sy

Re: svn commit: r192094 - head/sys/kern

2009-05-15 Thread Kostik Belousov
On Fri, May 15, 2009 at 10:06:13AM +0200, Peter Holm wrote: > On Fri, May 15, 2009 at 09:02:39AM +0200, Ed Schouten wrote: > > Hi Kostik, > > > > * Konstantin Belousov wrote: > > > Log: > > > Do not advance req->oldidx when sysctl_old_user returning an > > > error due to copyout failure or sh

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

2009-05-15 Thread Christian Brueffer
Author: brueffer Date: Fri May 15 10:06:33 2009 New Revision: 192138 URL: http://svn.freebsd.org/changeset/base/192138 Log: Sort SEE ALSO section, remove trailing dot. Modified: head/share/man/man4/ath.4 Modified: head/share/man/man4/ath.4

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

2009-05-15 Thread Christian Brueffer
Author: brueffer Date: Fri May 15 10:11:54 2009 New Revision: 192139 URL: http://svn.freebsd.org/changeset/base/192139 Log: Xref missing wlan drivers. Modified: head/share/man/man4/wlan.4 Modified: head/share/man/man4/wlan.4 ===

Re: svn commit: r192094 - head/sys/kern

2009-05-15 Thread Peter Holm
On Fri, May 15, 2009 at 12:48:52PM +0300, Kostik Belousov wrote: > On Fri, May 15, 2009 at 10:06:13AM +0200, Peter Holm wrote: > > On Fri, May 15, 2009 at 09:02:39AM +0200, Ed Schouten wrote: > > > Hi Kostik, > > > > > > * Konstantin Belousov wrote: > > > > Log: > > > > Do not advance req->oldi

Re: svn commit: r192094 - head/sys/kern

2009-05-15 Thread Kostik Belousov
On Fri, May 15, 2009 at 12:48:52PM +0300, Kostik Belousov wrote: > On Fri, May 15, 2009 at 10:06:13AM +0200, Peter Holm wrote: > > On Fri, May 15, 2009 at 09:02:39AM +0200, Ed Schouten wrote: > > > Hi Kostik, > > > > > > * Konstantin Belousov wrote: > > > > Log: > > > > Do not advance req->oldi

svn commit: r192140 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb fs/fdescfs

2009-05-15 Thread Konstantin Belousov
Author: kib Date: Fri May 15 10:45:52 2009 New Revision: 192140 URL: http://svn.freebsd.org/changeset/base/192140 Log: MFC r192012: Return controlled EINVAL when the fdescfs lookup routine is given string representing too large integer, instead of overflowing and possibly returning a rando

Re: svn commit: r192094 - head/sys/kern

2009-05-15 Thread Florian Smeets
On 15.05.09 12:38, Kostik Belousov wrote: On Fri, May 15, 2009 at 12:48:52PM +0300, Kostik Belousov wrote: On Fri, May 15, 2009 at 10:06:13AM +0200, Peter Holm wrote: On Fri, May 15, 2009 at 09:02:39AM +0200, Ed Schouten wrote: Hi Kostik, * Konstantin Belousov wrote: Log: Do not advance

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

2009-05-15 Thread Christian Brueffer
Author: brueffer Date: Fri May 15 13:26:54 2009 New Revision: 192141 URL: http://svn.freebsd.org/changeset/base/192141 Log: This driver can be loaded as a module now. MFC after:3 days Modified: head/share/man/man4/uchcom.4 Modified: head/share/man/man4/uchcom.4 =

svn commit: r192142 - stable/7/sys/rpc

2009-05-15 Thread Doug Rabson
Author: dfr Date: Fri May 15 13:58:45 2009 New Revision: 192142 URL: http://svn.freebsd.org/changeset/base/192142 Log: Back port a change to the locking model used to manage active transports from FreeBSD-current to avoid a deadlock. PR: 130628 Modified: stable/7/sys/rpc/svc.

Re: svn commit: r192027 - head/sys/arm/at91

2009-05-15 Thread Stanislav Sedov
On Thu, 14 May 2009 23:35:36 -0600 (MDT) "M. Warner Losh" mentioned: > In message: <20090515092205.6f6d06fa.s...@freebsd.org> > Stanislav Sedov writes: > : On Thu, 14 May 2009 21:37:12 -0600 (MDT) > : "M. Warner Losh" mentioned: > : > : > In message: <200905122114.n4cleag9033...@sv

Re: svn commit: r192033 - stable/7/sys/dev/ata

2009-05-15 Thread Alexander Motin
Bruce Simpson wrote: Could this commit have broken boot on my amd64 system with an ULi SATA controller? This commit could change driver used for controller and so expose some other bug in ALI driver. As I can see, there is present vendor-specific driver for this chip, but without pciconf outp

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

2009-05-15 Thread Ed Schouten
Author: ed Date: Fri May 15 14:30:37 2009 New Revision: 192143 URL: http://svn.freebsd.org/changeset/base/192143 Log: Turn consolectl into a simple device node, not a TTY. Apart from the 16 virtual terminals, Syscons allocates two device nodes that should not really be TTYs, even though t

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

2009-05-15 Thread Ed Schouten
* Ed Schouten wrote: > Author: ed > Date: Fri May 15 14:30:37 2009 > New Revision: 192143 > URL: http://svn.freebsd.org/changeset/base/192143 > > Log: > Turn consolectl into a simple device node, not a TTY. > > Woops! Forgot to mention: Tested by:Alexey Shuvaev -- Ed Schouten

svn commit: r192144 - head/sys/kern

2009-05-15 Thread Konstantin Belousov
Author: kib Date: Fri May 15 14:41:44 2009 New Revision: 192144 URL: http://svn.freebsd.org/changeset/base/192144 Log: Revert r192094. The revision caused problems for sysctl(3) consumers that expect that oldlen is filled with required buffer length even when supplied buffer is too short and

Re: svn commit: r192027 - head/sys/arm/at91

2009-05-15 Thread M. Warner Losh
In message: <20090515141642.ebc06b59.s...@freebsd.org> Stanislav Sedov writes: : On Thu, 14 May 2009 23:35:36 -0600 (MDT) : "M. Warner Losh" mentioned: : : > In message: <20090515092205.6f6d06fa.s...@freebsd.org> : > Stanislav Sedov writes: : > : On Thu, 14 May 2009 21:3

svn commit: r192145 - head/sys/fs/nfsclient

2009-05-15 Thread Rick Macklem
Author: rmacklem Date: Fri May 15 16:03:11 2009 New Revision: 192145 URL: http://svn.freebsd.org/changeset/base/192145 Log: Modify the diskless booting code in sys/fs/nfsclient to be compatible with what is in sys/nfsclient, so that it will at least build now. Approved by: kib (mentor)

svn commit: r192146 - head/sys/dev/bwi

2009-05-15 Thread Warner Losh
Author: imp Date: Fri May 15 16:38:42 2009 New Revision: 192146 URL: http://svn.freebsd.org/changeset/base/192146 Log: Cleanup module declarations: Use "bwi" consistently No need to have separate cardbus attachment No need to declare a module version Modified: head/sys

svn commit: r192147 - in head/sys/dev: ath ixgb lmc malo

2009-05-15 Thread Warner Losh
Author: imp Date: Fri May 15 17:02:11 2009 New Revision: 192147 URL: http://svn.freebsd.org/changeset/base/192147 Log: The module name convention is foo, not if_foo. Modified: head/sys/dev/ath/if_ath_pci.c head/sys/dev/ixgb/if_ixgb.c head/sys/dev/lmc/if_lmc.c head/sys/dev/malo/if_malo_p

Re: svn commit: r192146 - head/sys/dev/bwi

2009-05-15 Thread John Baldwin
On Friday 15 May 2009 12:38:42 pm Warner Losh wrote: > Author: imp > Date: Fri May 15 16:38:42 2009 > New Revision: 192146 > URL: http://svn.freebsd.org/changeset/base/192146 > > Log: > Cleanup module declarations: > Use "bwi" consistently > No need to have separate cardbus attachmen

Re: svn commit: r192146 - head/sys/dev/bwi

2009-05-15 Thread M. Warner Losh
In message: <200905151309.38633@freebsd.org> John Baldwin writes: : On Friday 15 May 2009 12:38:42 pm Warner Losh wrote: : > Author: imp : > Date: Fri May 15 16:38:42 2009 : > New Revision: 192146 : > URL: http://svn.freebsd.org/changeset/base/192146 : > : > Log: : > Cleanup mod

svn commit: r192148 - head/lib/libmemstat

2009-05-15 Thread John Baldwin
Author: jhb Date: Fri May 15 18:25:44 2009 New Revision: 192148 URL: http://svn.freebsd.org/changeset/base/192148 Log: Update the KVM backend for malloc stats to catch up to the internal structure BI change from the addition of DTrace malloc(9) probes. Submitted by: Ben Kelly ben of wand

svn commit: r192149 - in stable/7: share/man/man4 sys sys/contrib/pf sys/dev/ath/ath_hal sys/dev/cxgb sys/dev/ichsmb sys/dev/ipmi sys/dev/smbus sys/sys

2009-05-15 Thread John Baldwin
Author: jhb Date: Fri May 15 18:50:30 2009 New Revision: 192149 URL: http://svn.freebsd.org/changeset/base/192149 Log: MFC: Change ichsmb(4) to follow the format of all the other smbus controllers for slave addressing by using left-adjusted slave addresses (i.e. xxx0b). Modified: stab

svn commit: r192150 - stable/7/usr.bin/top

2009-05-15 Thread John Baldwin
Author: jhb Date: Fri May 15 19:19:27 2009 New Revision: 192150 URL: http://svn.freebsd.org/changeset/base/192150 Log: MFC: Expand the CPU column to two chars and print in decimal rather than hex. Modified: stable/7/usr.bin/top/ (props changed) stable/7/usr.bin/top/machine.c Modified:

Re: svn commit: r192027 - head/sys/arm/at91

2009-05-15 Thread Stanislav Sedov
On Fri, 15 May 2009 09:05:31 -0600 (MDT) "M. Warner Losh" mentioned: > In message: <20090515141642.ebc06b59.s...@freebsd.org> > Stanislav Sedov writes: > : On Thu, 14 May 2009 23:35:36 -0600 (MDT) > : "M. Warner Losh" mentioned: > : > : > In message: <20090515092205.6f6d06fa.s...@f

svn commit: r192151 - head/sys/fs/devfs

2009-05-15 Thread Konstantin Belousov
Author: kib Date: Fri May 15 19:23:05 2009 New Revision: 192151 URL: http://svn.freebsd.org/changeset/base/192151 Log: Devfs replaces file ops vector with devfs-specific one in devfs_open(), before the struct file is fully initialized in vn_open(), in particular, fp->f_vnode is NULL. Other t

Re: svn commit: r192027 - head/sys/arm/at91

2009-05-15 Thread M. Warner Losh
In message: <20090515231922.fb760af4.s...@freebsd.org> Stanislav Sedov writes: : On Fri, 15 May 2009 09:05:31 -0600 (MDT) : "M. Warner Losh" mentioned: : : > In message: <20090515141642.ebc06b59.s...@freebsd.org> : > Stanislav Sedov writes: : > : On Thu, 14 May 2009 23:3

svn commit: r192152 - head/sys/fs/nfs

2009-05-15 Thread Rick Macklem
Author: rmacklem Date: Fri May 15 19:33:59 2009 New Revision: 192152 URL: http://svn.freebsd.org/changeset/base/192152 Log: Move the nfsstat structure and proc/op number definitions on the experimental nfs subsystem from sys/fs/nfs/nfs.h and sys/fs/nfs/nfsproto.h to sys/fs/nfs/nfsport.h and

svn commit: r192153 - head/usr.bin/truss

2009-05-15 Thread Xin LI
Author: delphij Date: Fri May 15 19:41:10 2009 New Revision: 192153 URL: http://svn.freebsd.org/changeset/base/192153 Log: Reduce diff against my local version: replace malloc+memset() cases to calloc(). Modified: head/usr.bin/truss/amd64-fbsd.c head/usr.bin/truss/amd64-fbsd32.c head/usr

svn commit: r192154 - in stable/7: sys sys/contrib/pf sys/dev/ath/ath_hal sys/dev/cxgb sys/kern sys/sys sys/ufs/ffs sys/vm usr.bin/systat usr.bin/top

2009-05-15 Thread John Baldwin
Author: jhb Date: Fri May 15 19:54:19 2009 New Revision: 192154 URL: http://svn.freebsd.org/changeset/base/192154 Log: MFC: Adjust some variables (mostly related to the buffer cache) that hold address space sizes to be longs instead of ints. This includes an ABI compat shim for the kern.buf

svn commit: r192155 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern

2009-05-15 Thread John Baldwin
Author: jhb Date: Fri May 15 20:13:15 2009 New Revision: 192155 URL: http://svn.freebsd.org/changeset/base/192155 Log: MFC: Update comment above _fget() now that FWRITE failures return EBADF. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys

svn commit: r192156 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb kern nfsclient sys

2009-05-15 Thread John Baldwin
Author: jhb Date: Fri May 15 20:36:54 2009 New Revision: 192156 URL: http://svn.freebsd.org/changeset/base/192156 Log: MFC: Add caching of -ve lookups to the NFS client. To prevent clients from not noticing new files created by another client for a "long" time, reduce the default timeout fo

svn commit: r192157 - in stable/7: sys sys/contrib/pf sys/dev/ath/ath_hal sys/dev/cxgb sys/kern sys/sys usr.bin/kdump usr.bin/ktrace

2009-05-15 Thread John Baldwin
Author: jhb Date: Fri May 15 20:58:52 2009 New Revision: 192157 URL: http://svn.freebsd.org/changeset/base/192157 Log: MFC: Add a new type of KTRACE record for sysctl(3) invocations. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/

svn commit: r192158 - head/sys/dev/ep

2009-05-15 Thread Christian Brueffer
Author: brueffer Date: Fri May 15 21:06:28 2009 New Revision: 192158 URL: http://svn.freebsd.org/changeset/base/192158 Log: Add a missing break in a switch statement. Found with: Coverity Prevent(tm) CID: 4302 MFC after:2 weeks Modified: head/sys/dev/ep/if_ep.c Modifi

Re: svn commit: r192122 - in head/sys: amd64/conf i386/conf

2009-05-15 Thread John Baldwin
On Thursday 14 May 2009 5:53:35 pm John Baldwin wrote: > Author: jhb > Date: Thu May 14 21:53:35 2009 > New Revision: 192122 > URL: http://svn.freebsd.org/changeset/base/192122 > > Log: > Trim the default set of device hints on i386 and amd64: > - Remove vga0 and the disabled uart2/uart3 hints

svn commit: r192160 - head/sys/kern

2009-05-15 Thread Dag-Erling Smorgrav
Author: des Date: Fri May 15 21:34:58 2009 New Revision: 192160 URL: http://svn.freebsd.org/changeset/base/192160 Log: Remove do-nothing code that was required to dirty the old buffer on Alpha. Coverity ID: 838 Approved by: jhb, alc Modified: head/sys/kern/kern_sysctl.c Modified: he

Re: svn commit: r192122 - in head/sys: amd64/conf i386/conf

2009-05-15 Thread Ivan Voras
2009/5/14 John Baldwin : > Author: jhb > Date: Thu May 14 21:53:35 2009 > New Revision: 192122 > URL: http://svn.freebsd.org/changeset/base/192122 > > Log: >  Trim the default set of device hints on i386 and amd64: >  - Remove vga0 and the disabled uart2/uart3 hints from both platforms. >  - Remove

svn commit: r192181 - in head/sys/fs: nfs nfsserver

2009-05-15 Thread Rick Macklem
Author: rmacklem Date: Sat May 16 03:12:55 2009 New Revision: 192181 URL: http://svn.freebsd.org/changeset/base/192181 Log: Fixed the Null callback RPCs so that they work with the new krpc. This required two changes: setting the program and version numbers before connect and fixing the handl