svn commit: r223173 - head/usr.bin/kdump

2011-06-16 Thread Alexander Leidinger
Author: netchild Date: Fri Jun 17 06:12:28 2011 New Revision: 223173 URL: http://svn.freebsd.org/changeset/base/223173 Log: Add 2-clause BSD license. Approved by: David Kirchner (initial author) Requested by: Otto Moerbeek MFC after:1 week Modified: head/usr.bin/kdump/mksubr

svn commit: r223171 - head/sys/ia64/ia64

2011-06-16 Thread Marcel Moolenaar
Author: marcel Date: Fri Jun 17 05:30:12 2011 New Revision: 223171 URL: http://svn.freebsd.org/changeset/base/223171 Log: Improve on style(9) Modified: head/sys/ia64/ia64/busdma_machdep.c Modified: head/sys/ia64/ia64/busdma_machdep.c ==

svn commit: r223170 - in head/sys/ia64: ia64 include

2011-06-16 Thread Marcel Moolenaar
Author: marcel Date: Fri Jun 17 04:26:03 2011 New Revision: 223170 URL: http://svn.freebsd.org/changeset/base/223170 Log: Properly serialize the global shootdown with the instruction stream of the local processor. Also explicitly invalidate the ALAT. This is done on the other CPUs in the coh

svn commit: r223169 - in head: sys/ufs/ffs usr.sbin/makefs/ffs

2011-06-16 Thread Kirk McKusick
Author: mckusick Date: Thu Jun 16 23:40:10 2011 New Revision: 223169 URL: http://svn.freebsd.org/changeset/base/223169 Log: Drop the include of from usr.sbin/makefs/ffs/ffs_bswap.c and usr.sbin/makefs/ffs/ffs_subr.c as they have no need of anything in that file. No other programs or libra

Re: cvs commit: src Makefile.inc1 src/lib/libc Makefile src/lib/libc_r Makefile src/lib/libpthread Makefile pthread.map src/lib/libpthread/thread thr_private.h src/lib/librt Makefile src/lib/libthr Ma

2011-06-16 Thread Daniel Eischen
On Thu, 16 Jun 2011, Jilles Tjoelker wrote: On Sun, Jun 12, 2011 at 09:38:42PM +, Bjoern A. Zeeb wrote: http://svnweb.freebsd.org/base?view=revision&revision=169524 I figured WITHOUT_SYMVER= hs been useless since 201001. I am no longer able to do build worlds with WITHOUT_SYMVER= set in

Re: cvs commit: src Makefile.inc1 src/lib/libc Makefile src/lib/libc_r Makefile src/lib/libpthread Makefile pthread.map src/lib/libpthread/thread thr_private.h src/lib/librt Makefile src/lib/libthr Ma

2011-06-16 Thread Daniel Eischen
On Thu, 16 Jun 2011, Jilles Tjoelker wrote: On Sun, Jun 12, 2011 at 09:38:42PM +, Bjoern A. Zeeb wrote: http://svnweb.freebsd.org/base?view=revision&revision=169524 I figured WITHOUT_SYMVER= hs been useless since 201001. I am no longer able to do build worlds with WITHOUT_SYMVER= set in

svn commit: r223167 - head/sys/compat/freebsd32

2011-06-16 Thread Konstantin Belousov
Author: kib Date: Thu Jun 16 22:06:35 2011 New Revision: 223167 URL: http://svn.freebsd.org/changeset/base/223167 Log: Regen. Modified: head/sys/compat/freebsd32/freebsd32_proto.h head/sys/compat/freebsd32/freebsd32_syscall.h head/sys/compat/freebsd32/freebsd32_syscalls.c head/sys/compa

svn commit: r223166 - head/sys/compat/freebsd32

2011-06-16 Thread Konstantin Belousov
Author: kib Date: Thu Jun 16 22:05:56 2011 New Revision: 223166 URL: http://svn.freebsd.org/changeset/base/223166 Log: Implement compat32 for old lseek, for the a.out binaries on amd64. Modified: head/sys/compat/freebsd32/freebsd32_misc.c head/sys/compat/freebsd32/syscalls.master Modified:

Re: cvs commit: src Makefile.inc1 src/lib/libc Makefile src/lib/libc_r Makefile src/lib/libpthread Makefile pthread.map src/lib/libpthread/thread thr_private.h src/lib/librt Makefile src/lib/libthr Ma

2011-06-16 Thread Kostik Belousov
On Thu, Jun 16, 2011 at 11:27:38PM +0200, Jilles Tjoelker wrote: > On Sun, Jun 12, 2011 at 09:38:42PM +, Bjoern A. Zeeb wrote: > > http://svnweb.freebsd.org/base?view=revision&revision=169524 > > > I figured WITHOUT_SYMVER= hs been useless since 201001. I am no > > longer able to do build wor

svn commit: r223165 - head/sys/kern

2011-06-16 Thread Konstantin Belousov
Author: kib Date: Thu Jun 16 22:00:59 2011 New Revision: 223165 URL: http://svn.freebsd.org/changeset/base/223165 Log: Do not trash the argv[0] pointer for an a.out process on amd64. Found with the binary provided by joerg. Modified: head/sys/kern/imgact_aout.c Modified: head/sys/kern/i

svn commit: r223164 - head/sys/kern

2011-06-16 Thread Konstantin Belousov
Author: kib Date: Thu Jun 16 21:59:16 2011 New Revision: 223164 URL: http://svn.freebsd.org/changeset/base/223164 Log: Fix silly typo that resulted in the a.out process stack to end at ~200MB instead of 3GB on amd64. Modified: head/sys/kern/imgact_aout.c Modified: head/sys/kern/imgact_aout

svn commit: r223163 - in head: bin/sh tools/regression/bin/sh/expansion

2011-06-16 Thread Jilles Tjoelker
Author: jilles Date: Thu Jun 16 21:50:28 2011 New Revision: 223163 URL: http://svn.freebsd.org/changeset/base/223163 Log: sh: Reduce unnecessary forks with eval. The eval special builtin now runs the code with EV_EXIT if it was run with EV_EXIT itself. In particular, this eliminates

Re: cvs commit: src Makefile.inc1 src/lib/libc Makefile src/lib/libc_r Makefile src/lib/libpthread Makefile pthread.map src/lib/libpthread/thread thr_private.h src/lib/librt Makefile src/lib/libthr Ma

2011-06-16 Thread Jilles Tjoelker
On Sun, Jun 12, 2011 at 09:38:42PM +, Bjoern A. Zeeb wrote: > http://svnweb.freebsd.org/base?view=revision&revision=169524 > I figured WITHOUT_SYMVER= hs been useless since 201001. I am no > longer able to do build worlds with WITHOUT_SYMVER= set in src.conf > on a system with symbol versioni

Re: svn commit: r223151 - head/lib/libstand

2011-06-16 Thread Garrett Cooper
On Thu, Jun 16, 2011 at 11:24 AM, John Baldwin wrote: > On Thursday, June 16, 2011 1:40:36 pm Garrett Cooper wrote: >> On Thu, Jun 16, 2011 at 8:53 AM, Warner Losh wrote: >> > >> > On Jun 16, 2011, at 9:35 AM, Tai-hwa Liang wrote: >> > >> >> Author: avatar >> >> Date: Thu Jun 16 15:35:12 2011 >>

svn commit: r223162 - head/sys/netinet

2011-06-16 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 16 21:12:36 2011 New Revision: 223162 URL: http://svn.freebsd.org/changeset/base/223162 Log: Add SCTP_DEFAULT_PRINFO socket option. Fix the SCTP_DEFAULT_SNDINFO socket option: Don't clear the PR SCTP policy when setting sinfo_flags. MFC after: 1 month. Modi

Re: svn commit: r223124 - head/lib/libstand

2011-06-16 Thread Maxim Konovalov
> (2) If the "tftp.blksize" environment variable is set, then >take that value and use it when sending the TFTP RRQ packet, >instead of 1428. This allows us to set different values of >"tftp.blksize" in the loader, so that we can test out different >TFTP block si

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

2011-06-16 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Thu Jun 16 19:57:07 2011 New Revision: 223160 URL: http://svn.freebsd.org/changeset/base/223160 Log: Fix some wording and grammar in the BUGS section. PR: docs/157901 Submitted by: Niclas Zeising (niclas dot zeising at gmail dot com) Revie

svn commit: r223158 - head/sbin/geom/class/part

2011-06-16 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 16 19:42:03 2011 New Revision: 223158 URL: http://svn.freebsd.org/changeset/base/223158 Log: Add "alignment" param to the request before calling gpart_autofill(). Modified: head/sbin/geom/class/part/geom_part.c Modified: head/sbin/geom/class/part/geom_part.c

Re: svn commit: r223151 - head/lib/libstand

2011-06-16 Thread John Baldwin
On Thursday, June 16, 2011 1:40:36 pm Garrett Cooper wrote: > On Thu, Jun 16, 2011 at 8:53 AM, Warner Losh wrote: > > > > On Jun 16, 2011, at 9:35 AM, Tai-hwa Liang wrote: > > > >> Author: avatar > >> Date: Thu Jun 16 15:35:12 2011 > >> New Revision: 223151 > >> URL: http://svn.freebsd.org/changes

Re: svn commit: r223151 - head/lib/libstand

2011-06-16 Thread Warner Losh
On Jun 16, 2011, at 11:40 AM, Garrett Cooper wrote: > On Thu, Jun 16, 2011 at 8:53 AM, Warner Losh wrote: >> >> On Jun 16, 2011, at 9:35 AM, Tai-hwa Liang wrote: >> >>> Author: avatar >>> Date: Thu Jun 16 15:35:12 2011 >>> New Revision: 223151 >>> URL: http://svn.freebsd.org/changeset/base/223

Re: svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Nathan Whitehorn
On 06/16/11 10:23, Garrett Cooper wrote: On Thu, Jun 16, 2011 at 8:12 AM, Garrett Cooper wrote: On Thu, Jun 16, 2011 at 7:06 AM, Bruce Evans wrote: On Thu, 16 Jun 2011, Tai-hwa Liang wrote: On Thu, 16 Jun 2011, Bruce Evans wrote: On Thu, 16 Jun 2011, Garrett Cooper wrote: And you need t

svn commit: r223156 - head/lib/libstand

2011-06-16 Thread Warner Losh
Author: imp Date: Thu Jun 16 18:00:27 2011 New Revision: 223156 URL: http://svn.freebsd.org/changeset/base/223156 Log: Setting warnings without make universe considered harmful. Revert to WARNS=0 until such time that the warnings at =2 are fixed for all platforms. Modified: head/lib/libsta

svn commit: r223155 - head/sys/kern

2011-06-16 Thread Marcel Moolenaar
Author: marcel Date: Thu Jun 16 17:41:21 2011 New Revision: 223155 URL: http://svn.freebsd.org/changeset/base/223155 Log: Even if the loaded module has no symbols, we still need to notify MD code about it and update the link map for GDB's use. Modified: head/sys/kern/link_elf.c Modified: h

Re: svn commit: r223151 - head/lib/libstand

2011-06-16 Thread Garrett Cooper
On Thu, Jun 16, 2011 at 8:53 AM, Warner Losh wrote: > > On Jun 16, 2011, at 9:35 AM, Tai-hwa Liang wrote: > >> Author: avatar >> Date: Thu Jun 16 15:35:12 2011 >> New Revision: 223151 >> URL: http://svn.freebsd.org/changeset/base/223151 >> >> Log: >>  Using the correct format string(%zu) for size_

svn commit: r223154 - head/lib/libc/net

2011-06-16 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 16 17:30:50 2011 New Revision: 223154 URL: http://svn.freebsd.org/changeset/base/223154 Log: Fix two typos and remove redundant code. MFC after: 1 month. Modified: head/lib/libc/net/sctp_sys_calls.c Modified: head/lib/libc/net/sctp_sys_calls.c ==

Re: svn commit: r223151 - head/lib/libstand

2011-06-16 Thread Warner Losh
On Jun 16, 2011, at 9:35 AM, Tai-hwa Liang wrote: > Author: avatar > Date: Thu Jun 16 15:35:12 2011 > New Revision: 223151 > URL: http://svn.freebsd.org/changeset/base/223151 > > Log: > Using the correct format string(%zu) for size_t type. This should fix 64 > bits builds. > > Submitted by:

Re: svn commit: r223138 - head/sys/ufs/ffs

2011-06-16 Thread Tai-hwa Liang
On Fri, 17 Jun 2011, Bruce Evans wrote: On Thu, 16 Jun 2011, Tai-hwa Liang wrote: On Thu, 16 Jun 2011, Bruce Evans wrote: It might be a style bug (like typedefing a struct) to use enums for anything. They are impossible to declare opaquely. Does that mean we have to #include in userland m

svn commit: r223153 - head/share/misc

2011-06-16 Thread Alexander Motin
Author: mav Date: Thu Jun 16 15:53:14 2011 New Revision: 223153 URL: http://svn.freebsd.org/changeset/base/223153 Log: Add Digitizer-related usage IDs from HUTRR30 and HUTRR34. Modified: head/share/misc/usb_hid_usages Modified: head/share/misc/usb_hid_usages =

svn commit: r223152 - in head: lib/libc/net sys/netinet

2011-06-16 Thread Michael Tuexen
Author: tuexen Date: Thu Jun 16 15:36:09 2011 New Revision: 223152 URL: http://svn.freebsd.org/changeset/base/223152 Log: * Fix the handling of addresses in sctp_sendv(). * Add support for SCTP_SENDV_NOINFO. * Improve the error handling of sctp_sendv() and sctp_recv(). MFC after: 1 mont

svn commit: r223151 - head/lib/libstand

2011-06-16 Thread Tai-hwa Liang
Author: avatar Date: Thu Jun 16 15:35:12 2011 New Revision: 223151 URL: http://svn.freebsd.org/changeset/base/223151 Log: Using the correct format string(%zu) for size_t type. This should fix 64 bits builds. Submitted by: Garrett Cooper Modified: head/lib/libstand/zalloc_malloc.c Mo

Re: svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Garrett Cooper
On Thu, Jun 16, 2011 at 8:12 AM, Garrett Cooper wrote: > On Thu, Jun 16, 2011 at 7:06 AM, Bruce Evans wrote: >> On Thu, 16 Jun 2011, Tai-hwa Liang wrote: >> >>> On Thu, 16 Jun 2011, Bruce Evans wrote: >>> On Thu, 16 Jun 2011, Garrett Cooper wrote: > > And you need to add #include to

Re: svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Garrett Cooper
On Thu, Jun 16, 2011 at 7:06 AM, Bruce Evans wrote: > On Thu, 16 Jun 2011, Tai-hwa Liang wrote: > >> On Thu, 16 Jun 2011, Bruce Evans wrote: >> >>> On Thu, 16 Jun 2011, Garrett Cooper wrote: And you need to add #include to stand.h in order to get uintmax_t. Here's a proper patch fo

Re: svn commit: r223138 - head/sys/ufs/ffs

2011-06-16 Thread Bruce Evans
On Thu, 16 Jun 2011, Tai-hwa Liang wrote: On Thu, 16 Jun 2011, Bruce Evans wrote: It might be a style bug (like typedefing a struct) to use enums for anything. They are impossible to declare opaquely. Does that mean we have to #include in userland makefs/ffs/ffs_bswap.c? It means that

Re: svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Bruce Evans
On Thu, 16 Jun 2011, Tai-hwa Liang wrote: On Thu, 16 Jun 2011, Bruce Evans wrote: On Thu, 16 Jun 2011, Garrett Cooper wrote: And you need to add #include to stand.h in order to get uintmax_t. Here's a proper patch for amd64.. This would add namespace pollution. stand.h doesn't use anythi

svn commit: r223148 - in head: . share/examples/etc share/man/man5 share/man/man7

2011-06-16 Thread Ruslan Ermilov
Author: ru Date: Thu Jun 16 12:28:37 2011 New Revision: 223148 URL: http://svn.freebsd.org/changeset/base/223148 Log: It's a bit odd, but "make update" in src/ can also update the ports/, doc/, and now www/ trees, but only using the "cvsup" transport. When "make update" is run using a tre

Re: svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Tai-hwa Liang
On Thu, 16 Jun 2011, Bruce Evans wrote: On Thu, 16 Jun 2011, Garrett Cooper wrote: On Thu, Jun 16, 2011 at 12:19 AM, Garrett Cooper wrote: On Thu, Jun 16, 2011 at 12:14 AM, Tai-hwa Liang wrote: Author: avatar Date: Thu Jun 16 07:14:55 2011 New Revision: 223139 URL: http://svn.freebsd.org/c

Re: svn commit: r223138 - head/sys/ufs/ffs

2011-06-16 Thread Tai-hwa Liang
On Thu, 16 Jun 2011, Bruce Evans wrote: On Thu, 16 Jun 2011, Stefan Farfeleder wrote: Log: Fixing compilation bustage by introducing another forward declaration. Modified: head/sys/ufs/ffs/ffs_extern.h Modified: head/sys/ufs/ffs/ffs_extern.h ===

svn commit: r223145 - head/sys/net80211

2011-06-16 Thread Kevin Lo
Author: kevlo Date: Thu Jun 16 09:37:20 2011 New Revision: 223145 URL: http://svn.freebsd.org/changeset/base/223145 Log: Change i_len in ieee80211req to be unsigned and fix other signed/unsigned issues. Reviewed by: bschmidt Obtained from:NetBSD Modified: head/sys/net80211/i

svn commit: r223143 - head/sbin/hastd

2011-06-16 Thread Maxim Sobolev
Author: sobomax Date: Thu Jun 16 08:31:06 2011 New Revision: 223143 URL: http://svn.freebsd.org/changeset/base/223143 Log: Revert r222688. Requested by: Mikolaj Golub Modified: head/sbin/hastd/proto_common.c Modified: head/sbin/hastd/proto_common.c ==

Re: svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Bruce Evans
On Thu, 16 Jun 2011, Garrett Cooper wrote: On Thu, Jun 16, 2011 at 12:19 AM, Garrett Cooper wrote: On Thu, Jun 16, 2011 at 12:14 AM, Tai-hwa Liang wrote: Author: avatar Date: Thu Jun 16 07:14:55 2011 New Revision: 223139 URL: http://svn.freebsd.org/changeset/base/223139 Log: ?Unbreaking bui

Re: svn commit: r223138 - head/sys/ufs/ffs

2011-06-16 Thread Bruce Evans
On Thu, 16 Jun 2011, Stefan Farfeleder wrote: Log: Fixing compilation bustage by introducing another forward declaration. Modified: head/sys/ufs/ffs/ffs_extern.h Modified: head/sys/ufs/ffs/ffs_extern.h == --- head/

Re: svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Garrett Cooper
On Thu, Jun 16, 2011 at 12:19 AM, Garrett Cooper wrote: > On Thu, Jun 16, 2011 at 12:14 AM, Tai-hwa Liang wrote: >> Author: avatar >> Date: Thu Jun 16 07:14:55 2011 >> New Revision: 223139 >> URL: http://svn.freebsd.org/changeset/base/223139 >> >> Log: >>  Unbreaking build on sparc64. >> >>  Subm

Re: svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Garrett Cooper
On Thu, Jun 16, 2011 at 12:14 AM, Tai-hwa Liang wrote: > Author: avatar > Date: Thu Jun 16 07:14:55 2011 > New Revision: 223139 > URL: http://svn.freebsd.org/changeset/base/223139 > > Log: >  Unbreaking build on sparc64. > >  Submitted by: Garrett Cooper > > Modified: >  head/lib/libstand/zalloc.

svn commit: r223139 - head/lib/libstand

2011-06-16 Thread Tai-hwa Liang
Author: avatar Date: Thu Jun 16 07:14:55 2011 New Revision: 223139 URL: http://svn.freebsd.org/changeset/base/223139 Log: Unbreaking build on sparc64. Submitted by: Garrett Cooper Modified: head/lib/libstand/zalloc.c Modified: head/lib/libstand/zalloc.c

Re: svn commit: r223136 - head/lib/libc/gen

2011-06-16 Thread Sergey Kandaurov
On 16 June 2011 06:22, David Xu wrote: > Author: davidxu > Date: Thu Jun 16 02:22:24 2011 > New Revision: 223136 > URL: http://svn.freebsd.org/changeset/base/223136 > > Log: >  Use size of int to fetch sysctl kern.sched.cpusetsize because it had >  switched from long to int type in kernel. > >  Fi