svn commit: r253253 - head/usr.sbin/ypserv

2013-07-11 Thread Hiroki Sato
Author: hrs Date: Fri Jul 12 06:54:29 2013 New Revision: 253253 URL: http://svnweb.freebsd.org/changeset/base/253253 Log: Fix a wrong memcpy of struct sockaddr. Spotted by: d...@gmx.com Modified: head/usr.sbin/ypserv/yp_main.c Modified: head/usr.sbin/ypserv/yp_main.c =

svn commit: r253252 - head/sbin/devfs

2013-07-11 Thread Jaakko Heinonen
Author: jh Date: Fri Jul 12 06:03:25 2013 New Revision: 253252 URL: http://svnweb.freebsd.org/changeset/base/253252 Log: Clarify how "hide" and "unhide" commands work on directories. Modified: head/sbin/devfs/devfs.8 Modified: head/sbin/devfs/devfs.8 =

svn commit: r253249 - head/lib/libgeom

2013-07-11 Thread Hiroki Sato
Author: hrs Date: Fri Jul 12 04:22:46 2013 New Revision: 253249 URL: http://svnweb.freebsd.org/changeset/base/253249 Log: Revert r253247. This change should be improved based on a lesson learnt from r233646 first. Pointed out by: jmallett Modified: head/lib/libgeom/geom_xml2tree

svn commit: r253247 - head/lib/libgeom

2013-07-11 Thread Hiroki Sato
Author: hrs Date: Fri Jul 12 02:36:00 2013 New Revision: 253247 URL: http://svnweb.freebsd.org/changeset/base/253247 Log: Use strtoumax() instead of strtoul() for id/ref attr in XML elements. This improves compatibility when running an ILP32 binary on LP64 kernel. Spotted by: gjb Modif

svn commit: r253228 - head/sys/cam/scsi

2013-07-11 Thread Scott Long
Author: scottl Date: Fri Jul 12 00:50:25 2013 New Revision: 253228 URL: http://svnweb.freebsd.org/changeset/base/253228 Log: Refactor the various delete methods out of dastart(). Cleans up a bunch of style and adds more modularity and clarity. Obtained from:Netflix MFC after:

svn commit: r253224 - head/usr.sbin/portsnap/portsnap

2013-07-11 Thread Colin Percival
Author: cperciva Date: Thu Jul 11 22:19:18 2013 New Revision: 253224 URL: http://svnweb.freebsd.org/changeset/base/253224 Log: Fix bug in deleting files: If two ports had the same tarball and one of them changed (or was removed from the tree) then portsnap would delete that file. This happe

Re: svn commit: r253161 - head/sys/dev/uart

2013-07-11 Thread Marcel Moolenaar
On Jul 11, 2013, at 6:41 AM, John Baldwin wrote: > On Wednesday, July 10, 2013 3:59:40 pm Marcel Moolenaar wrote: >> >> On Jul 10, 2013, at 11:09 AM, John Baldwin wrote: >> >>> On Wednesday, July 10, 2013 2:05:43 pm John Baldwin wrote: On Wednesday, July 10, 2013 1:42:20 pm Marcel Moolen

Re: svn commit: r253210 - in head/sys: conf netinet

2013-07-11 Thread Mikolaj Golub
Hi, Andre On Thu, Jul 11, 2013 at 03:29:25PM +, Andre Oppermann wrote: > Author: andre > Date: Thu Jul 11 15:29:25 2013 > New Revision: 253210 > URL: http://svnweb.freebsd.org/changeset/base/253210 > > Log: > Improve SYN cookies by encoding the MSS, WSCALE (window scaling) and SACK > info

svn commit: r253221 - head/sys/vm

2013-07-11 Thread Konstantin Belousov
Author: kib Date: Thu Jul 11 20:33:57 2013 New Revision: 253221 URL: http://svnweb.freebsd.org/changeset/base/253221 Log: When swap pager allocates metadata in the pagedaemon context, allow it to drain the reserve. This was broken in r243040, causing deadlock. Note that VM_WAIT call in case

Re: svn commit: r253215 - head/lib/msun/src

2013-07-11 Thread Tijl Coosemans
On 2013-07-11 22:03, Tijl Coosemans wrote: > On 2013-07-11 21:36, David Chisnall wrote: >> On 11 Jul 2013, at 19:52, Tijl Coosemans wrote: @@ -227,8 +250,6 @@ double expm1(double); double fma(double, double, double); double hypot(double, double); intilogb(double

Re: svn commit: r253215 - head/lib/msun/src

2013-07-11 Thread Tijl Coosemans
On 2013-07-11 21:36, David Chisnall wrote: > On 11 Jul 2013, at 19:52, Tijl Coosemans wrote: >>> @@ -227,8 +250,6 @@ double expm1(double); >>> double fma(double, double, double); >>> double hypot(double, double); >>> int ilogb(double) __pure2; >>> -int(isinf)(double) __pure2; >>

Re: svn commit: r253215 - head/lib/msun/src

2013-07-11 Thread David Chisnall
On 11 Jul 2013, at 19:52, Tijl Coosemans wrote: > GCC doesn't support _Generic yet for -std=c11. Ugh. Given that they also lack a fine-grained feature check mechanism, they really should not advertise support for a language dialect if they don't support it. > >> +#elif __GNUC_PREREQ__(5, 1)

svn commit: r253219 - head/lib/msun/src

2013-07-11 Thread David Chisnall
Author: theraven Date: Thu Jul 11 19:34:16 2013 New Revision: 253219 URL: http://svnweb.freebsd.org/changeset/base/253219 Log: Fix some typoes in math.h cleanup. Modified: head/lib/msun/src/math.h Modified: head/lib/msun/src/math.h

svn commit: r253217 - head/sys/dev/cxgbe

2013-07-11 Thread Navdeep Parhar
Author: np Date: Thu Jul 11 19:09:31 2013 New Revision: 253217 URL: http://svnweb.freebsd.org/changeset/base/253217 Log: Attach to the 4x10G T540-CR card. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c ===

Re: svn commit: r253215 - head/lib/msun/src

2013-07-11 Thread Tijl Coosemans
On 2013-07-11 19:41, David Chisnall wrote: > Author: theraven > Date: Thu Jul 11 17:41:04 2013 > New Revision: 253215 > URL: http://svnweb.freebsd.org/changeset/base/253215 > > Log: > Cleanups to math.h that prevent namespace conflicts with C++. > > Reviewed by:bde > MFC after: 3

svn commit: r253215 - head/lib/msun/src

2013-07-11 Thread David Chisnall
Author: theraven Date: Thu Jul 11 17:41:04 2013 New Revision: 253215 URL: http://svnweb.freebsd.org/changeset/base/253215 Log: Cleanups to math.h that prevent namespace conflicts with C++. Reviewed by: bde MFC after:3 days Modified: head/lib/msun/src/math.h Modified: head/lib/msu

Re: svn commit: r253161 - head/sys/dev/uart

2013-07-11 Thread John Baldwin
On Wednesday, July 10, 2013 3:59:40 pm Marcel Moolenaar wrote: > > On Jul 10, 2013, at 11:09 AM, John Baldwin wrote: > > > On Wednesday, July 10, 2013 2:05:43 pm John Baldwin wrote: > >> On Wednesday, July 10, 2013 1:42:20 pm Marcel Moolenaar wrote: > >>> Author: marcel > >>> Date: Wed Jul 10 17

svn commit: r253214 - head/sys/crypto/siphash

2013-07-11 Thread Andre Oppermann
Author: andre Date: Thu Jul 11 16:27:11 2013 New Revision: 253214 URL: http://svnweb.freebsd.org/changeset/base/253214 Log: Fix const propagation issues to make GCC happy. Submitted by: Michael Butler Modified: head/sys/crypto/siphash/siphash.c Modified: head/sys/crypto/siphash/siphash

Re: svn commit: r253208 - head/sys/crypto/siphash

2013-07-11 Thread Andre Oppermann
On 11.07.2013 16:18, Andre Oppermann wrote: Author: andre Date: Thu Jul 11 14:18:38 2013 New Revision: 253208 URL: http://svnweb.freebsd.org/changeset/base/253208 Log: SipHash is a cryptographically strong pseudo-random function (a.k.a. keyed hash function) optimized for speed on short mes

svn commit: r253210 - in head/sys: conf netinet

2013-07-11 Thread Andre Oppermann
Author: andre Date: Thu Jul 11 15:29:25 2013 New Revision: 253210 URL: http://svnweb.freebsd.org/changeset/base/253210 Log: Improve SYN cookies by encoding the MSS, WSCALE (window scaling) and SACK information into the ISN (initial sequence number) without the additional use of timestamp bit

svn commit: r253209 - head/sys/dev/nvme

2013-07-11 Thread Jim Harris
Author: jimharris Date: Thu Jul 11 15:02:38 2013 New Revision: 253209 URL: http://svnweb.freebsd.org/changeset/base/253209 Log: Fix a poorly worded comment in nvme(4). MFC after:3 days Modified: head/sys/dev/nvme/nvme.h Modified: head/sys/dev/nvme/nvme.h

svn commit: r253208 - head/sys/crypto/siphash

2013-07-11 Thread Andre Oppermann
Author: andre Date: Thu Jul 11 14:18:38 2013 New Revision: 253208 URL: http://svnweb.freebsd.org/changeset/base/253208 Log: SipHash is a cryptographically strong pseudo-random function (a.k.a. keyed hash function) optimized for speed on short messages returning a 64bit hash/ digest value.

Re: svn commit: r253048 - in head/sys/ofed: drivers/net/mlx4 include/linux

2013-07-11 Thread John Baldwin
On Wednesday, July 10, 2013 7:58:30 pm Garrett Cooper wrote: > On Tue, Jul 9, 2013 at 8:20 AM, John Baldwin wrote: > > ... > > > I hadn't seen it. I had wondered if the '\n' issue was a generic sysfs > > thing. > > It sounds like it is and I'd be happy to revert the mlx4 change and alter > >

svn commit: r253207 - head/sys/kern

2013-07-11 Thread Andre Oppermann
Author: andre Date: Thu Jul 11 12:53:13 2013 New Revision: 253207 URL: http://svnweb.freebsd.org/changeset/base/253207 Log: Make use of the fact that uma_zone_set_max(9) already returns the rounded limit making a call to uma_zone_get_max(9) unnecessary. MFC after:1 day Modified: he

svn commit: r253204 - head/sys/kern

2013-07-11 Thread Andre Oppermann
Author: andre Date: Thu Jul 11 12:46:35 2013 New Revision: 253204 URL: http://svnweb.freebsd.org/changeset/base/253204 Log: Fix style issues, a typo in "kern.ipc.nmbufs" and correctly plave and expose the value of the tunable maxmbufmem as "kern.ipc.maxmbufmem" through sysctl. Reported