svn commit: r247910 - head/sys/dev/sound/pci/hda

2013-03-06 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 7 07:54:50 2013 New Revision: 247910 URL: http://svnweb.freebsd.org/changeset/base/247910 Log: Plug a memory leak. Reviewed by: mav Sponsored by: Nginx, Inc. Modified: head/sys/dev/sound/pci/hda/hdacc.c Modified: head/sys/dev/sound/pci/hda/hdacc.c =

svn commit: r247906 - head/sys/netinet

2013-03-06 Thread Lawrence Stewart
Author: lstewart Date: Thu Mar 7 04:42:20 2013 New Revision: 247906 URL: http://svnweb.freebsd.org/changeset/base/247906 Log: The hashmask returned by hashinit() is a valid index in the returned hash array. Fix a siftr(4) potential memory leak and INVARIANTS triggered kernel panic in hashd

svn commit: r247905 - head/sys/kern

2013-03-06 Thread Ian Lepore
Author: ian Date: Thu Mar 7 02:53:29 2013 New Revision: 247905 URL: http://svnweb.freebsd.org/changeset/base/247905 Log: Call sched_prio() to immediately change the priority of the thread in response to an rtprio_thread() call, when the priority is different than the old priority, and eithe

Re: svn commit: r247904 - head/crypto/openssh

2013-03-06 Thread Sean Bruno
On Wed, 2013-03-06 at 23:22 +, Dag-Erling Smørgrav wrote: > Author: des > Date: Wed Mar 6 23:22:40 2013 > New Revision: 247904 > URL: http://svnweb.freebsd.org/changeset/base/247904 > > Log: > Remove strnvis(), strvis(), strvisx(). I don't think that this is the "right" solution as it res

Re: svn commit: r247904 - head/crypto/openssh

2013-03-06 Thread Glen Barber
On Wed, Mar 06, 2013 at 11:22:40PM +, Dag-Erling Smørgrav wrote: > Author: des > Date: Wed Mar 6 23:22:40 2013 > New Revision: 247904 > URL: http://svnweb.freebsd.org/changeset/base/247904 > > Log: > Remove strnvis(), strvis(), strvisx(). > > Modified: > head/crypto/openssh/ssh_namespace

Re: svn commit: r247871 - head/usr.sbin/bhyve

2013-03-06 Thread Peter Grehan
>On 03/06/13 15:16, David Malone wrote: >>> + /* >>> +* We're just computing (a-b) in GF(216). >> >>> + ndesc = (unsigned)*hq->hq_avail_idx - (unsigned)hq->hq_cur_aidx; >> >> I think the comment here is wrong? Subtraction (and addition) in >> GF(2^16) is just xor of 16 bit numbers. You se

svn commit: r247904 - head/crypto/openssh

2013-03-06 Thread Dag-Erling Smørgrav
Author: des Date: Wed Mar 6 23:22:40 2013 New Revision: 247904 URL: http://svnweb.freebsd.org/changeset/base/247904 Log: Remove strnvis(), strvis(), strvisx(). Modified: head/crypto/openssh/ssh_namespace.h Modified: head/crypto/openssh/ssh_namespace.h ===

Re: svn commit: r247871 - head/usr.sbin/bhyve

2013-03-06 Thread Colin Percival
On 03/06/13 15:16, David Malone wrote: >> +/* >> + * We're just computing (a-b) in GF(216). > >> +ndesc = (unsigned)*hq->hq_avail_idx - (unsigned)hq->hq_cur_aidx; > > I think the comment here is wrong? Subtraction (and addition) in > GF(2^16) is just xor of 16 bit numbers. You seem to

Re: svn commit: r247871 - head/usr.sbin/bhyve

2013-03-06 Thread David Malone
> + /* > + * We're just computing (a-b) in GF(216). > + ndesc = (unsigned)*hq->hq_avail_idx - (unsigned)hq->hq_cur_aidx; I think the comment here is wrong? Subtraction (and addition) in GF(2^16) is just xor of 16 bit numbers. You seem to actually be working in Z(2^16), where subtract

svn commit: r247903 - head/sys/kern

2013-03-06 Thread Alexander Motin
Author: mav Date: Wed Mar 6 22:40:47 2013 New Revision: 247903 URL: http://svnweb.freebsd.org/changeset/base/247903 Log: Reduce minimal time intervals of setitimer(2) from 1/HZ to 1/(16*HZ) by using callout_reset_sbt() instead of callout_reset(). We can't remove lower limit completely in t

svn commit: r247899 - head/lib/libc/string

2013-03-06 Thread Niclas Zeising
Author: zeising (doc,ports committer) Date: Wed Mar 6 19:59:42 2013 New Revision: 247899 URL: http://svnweb.freebsd.org/changeset/base/247899 Log: Create a symlink from strchrnul.3 to strchr.3. This was forgotten in the initial commit of strchrnul() Approved by: theraven Modified: he

svn commit: r247898 - head/sys/kern

2013-03-06 Thread Alexander Motin
Author: mav Date: Wed Mar 6 19:37:38 2013 New Revision: 247898 URL: http://svnweb.freebsd.org/changeset/base/247898 Log: Fix time math overflows and improve zero intervals handling in poll(), select(), nanosleep() and kevent() functions after calloutng changes. Reported by: bde Modifie

Re: svn commit: r247892 - head/crypto/openssh

2013-03-06 Thread Peter Wemm
On Wed, Mar 6, 2013 at 10:47 AM, Peter Wemm wrote: > On Wed, Mar 6, 2013 at 5:46 AM, Dag-Erling Smørgrav wrote: > >> @@ -931,8 +952,11 @@ >> /* Define to 1 if you have the `strmode' function. */ >> #define HAVE_STRMODE 1 >> >> +/* Define to 1 if you have the `strnlen' function. */ >> +#define H

Re: svn commit: r247892 - head/crypto/openssh

2013-03-06 Thread Peter Wemm
On Wed, Mar 6, 2013 at 5:46 AM, Dag-Erling Smørgrav wrote: > @@ -931,8 +952,11 @@ > /* Define to 1 if you have the `strmode' function. */ > #define HAVE_STRMODE 1 > > +/* Define to 1 if you have the `strnlen' function. */ > +#define HAVE_STRNLEN 1 > + > /* Define to 1 if you have the `strnvis'

Re: svn commit: r246856 - head/etc

2013-03-06 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-03-06 10:01:33 -0500, Gleb Smirnoff wrote: > Jung-uk, > > On Fri, Feb 15, 2013 at 10:58:44PM +, Jung-uk Kim wrote: J> > Author: jkim J> Date: Fri Feb 15 22:58:44 2013 J> New Revision: > 246856 J> URL: http://svnweb.freebsd.org/changeset/ba

Re: svn commit: r246856 - head/etc

2013-03-06 Thread Gleb Smirnoff
Jung-uk, On Fri, Feb 15, 2013 at 10:58:44PM +, Jung-uk Kim wrote: J> Author: jkim J> Date: Fri Feb 15 22:58:44 2013 J> New Revision: 246856 J> URL: http://svnweb.freebsd.org/changeset/base/246856 J> J> Log: J> Revert r227528 and r227787. This hack is no longer necessary since r233580.

svn commit: r247893 - head/crypto/openssh

2013-03-06 Thread Dag-Erling Smørgrav
Author: des Date: Wed Mar 6 13:48:49 2013 New Revision: 247893 URL: http://svnweb.freebsd.org/changeset/base/247893 Log: Forced commit to note that this file had not been regenerated since 5.8 due to issues with the configure script incorrectly detecting utmp and lastlog despite the fact th

svn commit: r247892 - head/crypto/openssh

2013-03-06 Thread Dag-Erling Smørgrav
Author: des Date: Wed Mar 6 13:46:20 2013 New Revision: 247892 URL: http://svnweb.freebsd.org/changeset/base/247892 Log: Explicitly disable lastlog, utmp and wtmp. Modified: head/crypto/openssh/FREEBSD-upgrade head/crypto/openssh/config.h Modified: head/crypto/openssh/FREEBSD-upgrade

svn commit: r247891 - head/sys/modules/uart

2013-03-06 Thread Ulrich Spoerlein
Author: uqs Date: Wed Mar 6 11:44:19 2013 New Revision: 247891 URL: http://svnweb.freebsd.org/changeset/base/247891 Log: Fix 'make depend' Modified: head/sys/modules/uart/Makefile Modified: head/sys/modules/uart/Makefile ==

svn commit: r247880 - head/sys/dev/oce

2013-03-06 Thread Xin LI
Author: delphij Date: Wed Mar 6 09:53:38 2013 New Revision: 247880 URL: http://svnweb.freebsd.org/changeset/base/247880 Log: Update driver to version 4.6.95.0. Submitted by: "Duvvuru,Venkat Kumar" MFC after:3 days Modified: head/sys/dev/oce/oce_hw.c head/sys/dev/oce/oce_hw.h