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

2010-08-12 Thread Hajimu UMEMOTO
Author: ume Date: Fri Aug 13 06:39:54 2010 New Revision: 211276 URL: http://svn.freebsd.org/changeset/base/211276 Log: - When there is no room for returning the result, nss backend have to return ERANGE and terminate with NS_RETURN. - When gethostbyname_r(3) and the friends end with an err

Re: svn commit: r211270 - head/sys/modules/tpm

2010-08-12 Thread Takanori Watanabe
In message <201008130400.o7d40zwp087...@svn.freebsd.org>, Takanori Watanabe : >Author: takawata >Date: Fri Aug 13 04:00:35 2010 >New Revision: 211270 >URL: http://svn.freebsd.org/changeset/base/211270 > >Log: > Hook tpm.4 manual to build. > Wrong directory. Real change was committed separately.

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

2010-08-12 Thread Takanori Watanabe
Author: takawata Date: Fri Aug 13 05:01:44 2010 New Revision: 211271 URL: http://svn.freebsd.org/changeset/base/211271 Log: Hook tpm.4 manual to hook. Modified: head/share/man/man4/Makefile Modified: head/share/man/man4/Makefile ===

Re: svn commit: r211270 - head/sys/modules/tpm

2010-08-12 Thread Doug Barton
This commit seems to accomplish something totally different than your commit message indicates. Doug On 08/12/2010 21:00, Takanori Watanabe wrote: > Author: takawata > Date: Fri Aug 13 04:00:35 2010 > New Revision: 211270 > URL: http://svn.freebsd.org/changeset/base/211270 > > Log: > Hook tp

svn commit: r211270 - head/sys/modules/tpm

2010-08-12 Thread Takanori Watanabe
Author: takawata Date: Fri Aug 13 04:00:35 2010 New Revision: 211270 URL: http://svn.freebsd.org/changeset/base/211270 Log: Hook tpm.4 manual to build. Modified: head/sys/modules/tpm/Makefile Modified: head/sys/modules/tpm/Makefile

Re: svn commit: r211222 - head/usr.sbin/crunch/crunchide

2010-08-12 Thread Adrian Chadd
On 12 August 2010 22:16, Adrian Chadd wrote: >  I used the wrong type when setting st_name in the symbol table entry >  struct. It's an Elf64_Word which is defined as an unsigned 32 bit int >  on both 32 and 64 bit platforms. > >  To make things sensible, define some new macros to use as "word" m

svn commit: r211252 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread Takanori Watanabe
Author: takawata Date: Fri Aug 13 00:45:30 2010 New Revision: 211252 URL: http://svn.freebsd.org/changeset/base/211252 Log: Fix build on amd64 and ia64. Modified: head/usr.sbin/acpi/acpidump/acpi.c Modified: head/usr.sbin/acpi/acpidump/acpi.c =

svn commit: r211249 - head/sys/modules

2010-08-12 Thread Warner Losh
Author: imp Date: Thu Aug 12 22:46:31 2010 New Revision: 211249 URL: http://svn.freebsd.org/changeset/base/211249 Log: This depends on ACPI, so only build on i386:i386, amd64:amd64 and ia64:ia64. It can't possibly work on pc98, or any of the embedded platforms, since they lack ACPI. Modifi

svn commit: r211244 - head/share/man/man7

2010-08-12 Thread Ivan Voras
Author: ivoras Date: Thu Aug 12 21:21:50 2010 New Revision: 211244 URL: http://svn.freebsd.org/changeset/base/211244 Log: Describe vfs.read_max and update vfs.hirunningspace documentation. While there, update nits. Considered viewed by: jeff, phk, rwatson Modified: head/share/man/man7/

Re: svn commit: r211201 - in head: share/man/man4 sys/conf sys/dev/tpm sys/modules sys/modules/tpm

2010-08-12 Thread Pawel Jakub Dawidek
On Thu, Aug 12, 2010 at 12:16:18AM +, Takanori Watanabe wrote: > Author: takawata > Date: Thu Aug 12 00:16:18 2010 > New Revision: 211201 > URL: http://svn.freebsd.org/changeset/base/211201 > > Log: > Add tpm(4) driver for Trusted Platform Module. > You may want to look at http://bsssd.sou

svn commit: r211243 - in head: gnu/lib/libreadline/history gnu/lib/libreadline/readline/doc gnu/usr.bin/cvs/contrib gnu/usr.bin/gdb/doc lib/libexpat secure/lib/libcrypto share/mk

2010-08-12 Thread Will Andrews
Author: will Date: Thu Aug 12 20:46:49 2010 New Revision: 211243 URL: http://svn.freebsd.org/changeset/base/211243 Log: Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as read-only by default, meaning files copied can't be overwritten next time. Reviewed by: imp A

svn commit: r211242 - in head/tools/regression/fstest/tests: rmdir unlink

2010-08-12 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Aug 12 20:35:14 2010 New Revision: 211242 URL: http://svn.freebsd.org/changeset/base/211242 Log: More tests. Modified: head/tools/regression/fstest/tests/rmdir/11.t head/tools/regression/fstest/tests/unlink/11.t Modified: head/tools/regression/fstest/tests/rmdir/11.t

svn commit: r211236 - head/sys/kern

2010-08-12 Thread Justin T. Gibbs
Author: gibbs Date: Thu Aug 12 19:50:40 2010 New Revision: 211236 URL: http://svn.freebsd.org/changeset/base/211236 Log: Allow interrupt driven config hooks to be registered from config hook callbacks. Interrupt driven configuration hooks serve two purposes: they are a mechanism for regi

svn commit: r211235 - head/tools/regression/fstest

2010-08-12 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Aug 12 19:45:27 2010 New Revision: 211235 URL: http://svn.freebsd.org/changeset/base/211235 Log: Portable Makefile. Modified: head/tools/regression/fstest/Makefile Modified: head/tools/regression/fstest/Makefile ==

svn commit: r211234 - head/tools/regression/fstest/tests/unlink

2010-08-12 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Aug 12 19:43:40 2010 New Revision: 211234 URL: http://svn.freebsd.org/changeset/base/211234 Log: Fix copy&pasted code - we want to create character device here. Modified: head/tools/regression/fstest/tests/unlink/11.t Modified: head/tools/regression/fstest/tests/unlink/

Re: svn commit: r211219 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread Doug Barton
I think it's pretty obvious at this point that you didn't do a 'make universe' to verify that your updates were correct, and the build is still broken. Can you either fix this immediately, or back it out immediately? Thanks, Doug On 08/12/2010 04:01, Takanori Watanabe wrote: > Author: takawat

svn commit: r211232 - head/sys/kern

2010-08-12 Thread Justin T. Gibbs
Author: gibbs Date: Thu Aug 12 19:26:27 2010 New Revision: 211232 URL: http://svn.freebsd.org/changeset/base/211232 Log: Properly indent a continue statement. No functional changes. Modified: head/sys/kern/subr_bus.c Modified: head/sys/kern/subr_bus.c ===

Re: svn commit: r211221 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread John Baldwin
Dag-Erling Smørgrav wrote: John Baldwin writes: Dag-Erling Smørgrav writes: Slightly better: printf("\tClass %u Base Address 0x%jx Length %ju\n\n", (unsigned int)tcpa->platform_class, (uintmax_t)paddr, (uintmax_t)len); but it would probably be easier to define paddr and

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

2010-08-12 Thread Jung-uk Kim
On Thursday 12 August 2010 12:37 pm, m...@freebsd.org wrote: > On Thu, Aug 12, 2010 at 9:13 AM, Jung-uk Kim wrote: > > Author: jkim > > Date: Thu Aug 12 16:13:24 2010 > > New Revision: 211228 > > URL: http://svn.freebsd.org/changeset/base/211228 > > > > Log: > > �Provide description for 'machdep.

svn commit: r211230 - head/sys/kern

2010-08-12 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 12 17:17:05 2010 New Revision: 211230 URL: http://svn.freebsd.org/changeset/base/211230 Log: Add the half of time-of-day clock resolution when we adjust system time from time-of-day clock or vice versa. For x86 systems, RTC resolution is one second and we used to

Re: svn commit: r211221 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread Dag-Erling Smørgrav
John Baldwin writes: > Dag-Erling Smørgrav writes: > > Slightly better: > > > > printf("\tClass %u Base Address 0x%jx Length %ju\n\n", > > (unsigned int)tcpa->platform_class, (uintmax_t)paddr, > > (uintmax_t)len); > > > > but it would probably be easier to define paddr and len as uns

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

2010-08-12 Thread mdf
On Thu, Aug 12, 2010 at 9:13 AM, Jung-uk Kim wrote: > Author: jkim > Date: Thu Aug 12 16:13:24 2010 > New Revision: 211228 > URL: http://svn.freebsd.org/changeset/base/211228 > > Log: >  Provide description for 'machdep.disable_rtc_set' sysctl.  Clean up style(9) >  nits.  Remove a redundant retur

svn commit: r211229 - head/sys/vm

2010-08-12 Thread Matthew D Fleming
Author: mdf Date: Thu Aug 12 16:54:43 2010 New Revision: 211229 URL: http://svn.freebsd.org/changeset/base/211229 Log: Fix compile. It seemed better to have memguard.c include opt_vm.h in case future compile-time knobs were added that it wants to use. Also add include guards and forward dec

Re: svn commit: r211201 - in head: share/man/man4 sys/conf sys/dev/tpm sys/modules sys/modules/tpm

2010-08-12 Thread Rui Paulo
On 12 Aug 2010, at 01:16, Takanori Watanabe wrote: > Author: takawata > Date: Thu Aug 12 00:16:18 2010 > New Revision: 211201 > URL: http://svn.freebsd.org/changeset/base/211201 > > Log: > Add tpm(4) driver for Trusted Platform Module. > You may want to look at http://bsssd.sourceforge.net/ .

svn commit: r211228 - head/sys/kern

2010-08-12 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 12 16:13:24 2010 New Revision: 211228 URL: http://svn.freebsd.org/changeset/base/211228 Log: Provide description for 'machdep.disable_rtc_set' sysctl. Clean up style(9) nits. Remove a redundant return statement and an unnecessary variable. Modified: head/sys/ker

Re: svn commit: r211221 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread John Baldwin
Dag-Erling Smørgrav wrote: Takanori Watanabe writes: - printf("\tClass %d Base Address 0x%jx Length %llu\n\n", + printf("\tClass %d Base Address 0x%jx Length %" PRIu64 "\n\n", tcpa->platform_class, paddr, len); This is just as wrong as the previous attempt. 1) platfor

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

2010-08-12 Thread Jaakko Heinonen
Author: jh Date: Thu Aug 12 15:29:07 2010 New Revision: 211226 URL: http://svn.freebsd.org/changeset/base/211226 Log: Allow user created symbolic links to cover device files and directories if the device file appears during or after the link creation. User created symbolic links are now i

Re: svn commit: r211201 - in head: share/man/man4 sys/conf sys/dev/tpm sys/modules sys/modules/tpm

2010-08-12 Thread Dimitry Andric
On 2010-08-12 02:42, Andrew Thompson wrote: >> --- /dev/null 00:00:00 1970 (empty, because file is newly added) >> +++ head/share/man/man4/tpm.4 Thu Aug 12 00:16:18 2010(r211201) >> @@ -0,0 +1,74 @@ >> +.\" >> +.\" Copyright (c) 2010 Hans-J > > His name appears truncated here, the ot

Re: svn commit: r211221 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread Dag-Erling Smørgrav
Takanori Watanabe writes: > - printf("\tClass %d Base Address 0x%jx Length %llu\n\n", > + printf("\tClass %d Base Address 0x%jx Length %" PRIu64 "\n\n", > tcpa->platform_class, paddr, len); This is just as wrong as the previous attempt. 1) platform_class is not an int. 2) paddr

svn commit: r211222 - head/usr.sbin/crunch/crunchide

2010-08-12 Thread Adrian Chadd
Author: adrian Date: Thu Aug 12 14:16:57 2010 New Revision: 211222 URL: http://svn.freebsd.org/changeset/base/211222 Log: Fix crunchide to work on sparc64 and perhaps other 64 bit platforms. I used the wrong type when setting st_name in the symbol table entry struct. It's an Elf64_Word wh

svn commit: r211221 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread Takanori Watanabe
Author: takawata Date: Thu Aug 12 13:58:46 2010 New Revision: 211221 URL: http://svn.freebsd.org/changeset/base/211221 Log: Fix breakage on 64bit architecture by using inttypes.h macro. Modified: head/usr.sbin/acpi/acpidump/acpi.c Modified: head/usr.sbin/acpi/acpidump/acpi.c

svn commit: r211220 - in head/sys: amd64/amd64 i386/i386

2010-08-12 Thread Attilio Rao
Author: attilio Date: Thu Aug 12 13:46:43 2010 New Revision: 211220 URL: http://svn.freebsd.org/changeset/base/211220 Log: Revert r211176: As long as interrupts are disabled and there is not explicit call to sched_add() there can't be any preemption there, thus the calls may be consistent.

Re: svn commit: r211219 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread Alastair Hogge
On Thursday 12 August 2010 19:01:38 Takanori Watanabe wrote: > Author: takawata > Date: Thu Aug 12 11:01:38 2010 > New Revision: 211219 > URL: http://svn.freebsd.org/changeset/base/211219 > > Log: > Fix tindebox breakage about format warning. > > Modified: > head/usr.sbin/acpi/acpidump/acpi.c

svn commit: r211219 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread Takanori Watanabe
Author: takawata Date: Thu Aug 12 11:01:38 2010 New Revision: 211219 URL: http://svn.freebsd.org/changeset/base/211219 Log: Fix tindebox breakage about format warning. Modified: head/usr.sbin/acpi/acpidump/acpi.c Modified: head/usr.sbin/acpi/acpidump/acpi.c ==

svn commit: r211218 - head/sys/mips/mips

2010-08-12 Thread Jayachandran C.
Author: jchandra Date: Thu Aug 12 11:00:45 2010 New Revision: 211218 URL: http://svn.freebsd.org/changeset/base/211218 Log: SMP support in n64. - Enable KX and UX bits on CPU startup for non-boot CPUs - Keep the KX bit when in userspace - XTLB handler needs it to access PCPU data -

svn commit: r211217 - in head/sys/mips: include mips

2010-08-12 Thread Jayachandran C.
Author: jchandra Date: Thu Aug 12 10:09:28 2010 New Revision: 211217 URL: http://svn.freebsd.org/changeset/base/211217 Log: Implement pmap changes suggested by alc@: 1. Move dirty bit emulation code that is duplicted for kernel and user in trap.c to a function pmap_emulate_modified() in p

svn commit: r211216 - head/sys/mips/mips

2010-08-12 Thread Jayachandran C.
Author: jchandra Date: Thu Aug 12 09:15:27 2010 New Revision: 211216 URL: http://svn.freebsd.org/changeset/base/211216 Log: Optimization for pmap_kenter(), call pmap_update_page() only when necessary. On SMP, pmap_update_page() can be costly as it needs a a smp_rendezvous(). Reviewed b

svn commit: r211215 - head/sys/mips/mips

2010-08-12 Thread Jayachandran C.
Author: jchandra Date: Thu Aug 12 09:03:21 2010 New Revision: 211215 URL: http://svn.freebsd.org/changeset/base/211215 Log: Re-arrange the pmap calls that use smp_rendezvous() on SMP, so that their per-cpu variants are also available to be called. The per-cpu variants are needed for some la

svn commit: r211214 - head/sys/dev/ath/ath_hal/ar5416

2010-08-12 Thread Adrian Chadd
Author: adrian Date: Thu Aug 12 08:39:54 2010 New Revision: 211214 URL: http://svn.freebsd.org/changeset/base/211214 Log: * Fix indentation * Restore comment erroneously deleted from the previous commit Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Modified: head/sys/dev/ath/ath_h

svn commit: r211213 - head/sys/kern

2010-08-12 Thread Konstantin Belousov
Author: kib Date: Thu Aug 12 08:36:23 2010 New Revision: 211213 URL: http://svn.freebsd.org/changeset/base/211213 Log: The buffers b_vflags field is not always properly protected by bufobj lock. If b_bufobj is not NULL, then bufobj lock should be held when manipulating the flags. Not doing t

svn commit: r211212 - head/sys/ufs/ffs

2010-08-12 Thread Konstantin Belousov
Author: kib Date: Thu Aug 12 08:35:24 2010 New Revision: 211212 URL: http://svn.freebsd.org/changeset/base/211212 Log: Softdep_process_worklist() should unsuspend not only before processing the worklist (in softdep_process_journal), but also after flushing the workitems. Might be, we should

Re: svn commit: r211157 - in head/sys: modules modules/if_carp net netinet netinet6

2010-08-12 Thread Simon L. Nielsen
On 2010.08.11 00:51:51 +, Will Andrews wrote: > Author: will > Date: Wed Aug 11 00:51:50 2010 > New Revision: 211157 > URL: http://svn.freebsd.org/changeset/base/211157 > > Log: > Allow carp(4) to be loaded as a kernel module. Follow precedent set by > bridge(4), lagg(4) etc. and make use

Re: svn commit: r211146 - head

2010-08-12 Thread M. Warner Losh
In message: Adrian Chadd writes: : On 11 August 2010 22:17, Ed Schouten wrote: : > Hi Adrian, : > : > * Adrian Chadd wrote: : >> Modified: : >>   head/Makefile.mips : > : > Can't this file be simply removed now? : : I think so. Warner? I was planning on removing it once I finished

Re: svn commit: r211146 - head

2010-08-12 Thread Adrian Chadd
On 11 August 2010 22:17, Ed Schouten wrote: > Hi Adrian, > > * Adrian Chadd wrote: >> Modified: >>   head/Makefile.mips > > Can't this file be simply removed now? I think so. Warner? Adrian ___ svn-src-head@freebsd.org mailing list http://lists.freeb

svn commit: r211211 - head/sys/dev/ath/ath_hal/ar5416

2010-08-12 Thread Adrian Chadd
Author: adrian Date: Thu Aug 12 06:20:54 2010 New Revision: 211211 URL: http://svn.freebsd.org/changeset/base/211211 Log: Loading the NF CCA values may take longer than expected to occur. If it does, don't then try reprogramming the NF "cap" values (ie what values are the "maximum" value the

svn commit: r211210 - head/sys/dev/ath/ath_hal/ar5416

2010-08-12 Thread Adrian Chadd
Author: adrian Date: Thu Aug 12 06:14:26 2010 New Revision: 211210 URL: http://svn.freebsd.org/changeset/base/211210 Log: Use ar5212IsNFCalInProgress() to check for NF calibration progress. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar541

svn commit: r211209 - head/sys/dev/ath/ath_hal/ar5416

2010-08-12 Thread Adrian Chadd
Author: adrian Date: Thu Aug 12 06:12:39 2010 New Revision: 211209 URL: http://svn.freebsd.org/changeset/base/211209 Log: Fix indentation. Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c Modified: head/sys/dev/ath/ath_hal/ar5416/ar5416_cal.c ===

svn commit: r211208 - head/sys/dev/ath/ath_hal/ar5416

2010-08-12 Thread Adrian Chadd
Author: adrian Date: Thu Aug 12 06:11:44 2010 New Revision: 211208 URL: http://svn.freebsd.org/changeset/base/211208 Log: Ensure that the correct rxchainmask is used when doing calibration in the AR5416 and later chipsets. ath_hal_calibrateN() calls the HAL calibrateN function with rxchai

svn commit: r211207 - head/sys/dev/ath/ath_hal/ar5416

2010-08-12 Thread Adrian Chadd
Author: adrian Date: Thu Aug 12 06:08:36 2010 New Revision: 211207 URL: http://svn.freebsd.org/changeset/base/211207 Log: Internal NF calibration should not occur in parallel with any other calibration. Ensure that the NF calibration completes before continuing with the rest of the calibrati

svn commit: r211206 - head/sys/dev/ath/ath_hal/ar5212

2010-08-12 Thread Adrian Chadd
Author: adrian Date: Thu Aug 12 06:06:14 2010 New Revision: 211206 URL: http://svn.freebsd.org/changeset/base/211206 Log: Add a couple of functions to check NF calibration progress / completion. Modified: head/sys/dev/ath/ath_hal/ar5212/ar5212.h head/sys/dev/ath/ath_hal/ar5212/ar5212_misc.c

Re: svn commit: r211201 - in head: share/man/man4 sys/conf sys/dev/tpm sys/modules sys/modules/tpm

2010-08-12 Thread Andrew Thompson
On 12 August 2010 12:16, Takanori Watanabe wrote: > Author: takawata > Date: Thu Aug 12 00:16:18 2010 > New Revision: 211201 > URL: http://svn.freebsd.org/changeset/base/211201 > > Log: >  Add tpm(4) driver for Trusted Platform Module. >  You may want to look at http://bsssd.sourceforge.net/ . > >

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

2010-08-12 Thread Takanori Watanabe
Author: takawata Date: Thu Aug 12 01:08:50 2010 New Revision: 211204 URL: http://svn.freebsd.org/changeset/base/211204 Log: Fix copyright information. Modified: head/share/man/man4/tpm.4 Modified: head/share/man/man4/tpm.4 =

svn commit: r211202 - in head/sys/amd64: acpica amd64

2010-08-12 Thread Jung-uk Kim
Author: jkim Date: Thu Aug 12 00:20:46 2010 New Revision: 211202 URL: http://svn.freebsd.org/changeset/base/211202 Log: Reset switchtime and switchticks after resynchronizing the system clock. This should fix weird runtime problem after resume on amd64. It also fixes "calcru: runtime went b

svn commit: r211201 - in head: share/man/man4 sys/conf sys/dev/tpm sys/modules sys/modules/tpm

2010-08-12 Thread Takanori Watanabe
Author: takawata Date: Thu Aug 12 00:16:18 2010 New Revision: 211201 URL: http://svn.freebsd.org/changeset/base/211201 Log: Add tpm(4) driver for Trusted Platform Module. You may want to look at http://bsssd.sourceforge.net/ . Submitted by: Hans-Joerg Hoexer Added: head/share/man/man4

svn commit: r211197 - in head/sys: amd64/amd64 arm/include i386/i386 i386/xen mips/include powerpc/include sparc64/include sparc64/sparc64 sun4v/include sun4v/sun4v

2010-08-12 Thread John Baldwin
Author: jhb Date: Wed Aug 11 23:22:53 2010 New Revision: 211197 URL: http://svn.freebsd.org/changeset/base/211197 Log: Update various places that store or manipulate CPU masks to use cpumask_t instead of int or u_int. Since cpumask_t is currently u_int on all platforms this should just be a

svn commit: r211196 - head/usr.sbin/acpi/acpidump

2010-08-12 Thread Takanori Watanabe
Author: takawata Date: Wed Aug 11 23:21:25 2010 New Revision: 211196 URL: http://svn.freebsd.org/changeset/base/211196 Log: Add TCG ACPI spec table (TCPA) support. Submitted by: hans-joerg_hoe...@genua.de Modified: head/usr.sbin/acpi/acpidump/acpi.c head/usr.sbin/acpi/acpidump/acpidump