Re: svn commit: r194012 - in head: . sys/netgraph sys/sys

2009-06-12 Thread Julian Elischer
Alexander Kabaev wrote: On Thu, 11 Jun 2009 13:27:12 -0700 Julian Elischer jul...@elischer.org wrote: Marko Zec wrote: On Thursday 11 June 2009 21:01:40 Pawel Jakub Dawidek wrote: On Thu, Jun 11, 2009 at 04:50:49PM +, Marko Zec wrote: Author: zec Date: Thu Jun 11 16:50:49 2009 New

Re: svn commit: r194012 - in head: . sys/netgraph sys/sys

2009-06-12 Thread Julian Elischer
Pawel Jakub Dawidek wrote: Are you sure Marko that you can't use sys/sys/osd.h instead of adding yet another field to the thread structure? Netgraph is optional component and optional components could take advantage of allocating stuff they need dynamically. The OSD (Object-Specific Data) KPI

svn commit: r194047 - head/sys/modules/sound/sound

2009-06-12 Thread Ariff Abdullah
Author: ariff Date: Fri Jun 12 07:39:10 2009 New Revision: 194047 URL: http://svn.freebsd.org/changeset/base/194047 Log: Last (hopefully) attempt to fix both parallel build and cyclic dependencies, in a simmilar fashion to kmod.mk. Discussed with: bde, bz Modified:

svn commit: r194048 - stable/7/share/colldef

2009-06-12 Thread Edwin Groothuis
Author: edwin Date: Fri Jun 12 07:48:35 2009 New Revision: 194048 URL: http://svn.freebsd.org/changeset/base/194048 Log: MFC of r174887 Add Turkish collate PR: conf/118976 Submitted by: Ismail YENIGUL ismail.yeni...@endersys.com.tr Added:

svn commit: r194049 - head/sys/sys

2009-06-12 Thread Andriy Gapon
Author: avg Date: Fri Jun 12 09:05:23 2009 New Revision: 194049 URL: http://svn.freebsd.org/changeset/base/194049 Log: KOBJMETHOD: throw the switch on kobj method signature checking It seems that current code should pass the check. This commit should not lead to any changes in compiled

svn commit: r194050 - svnadmin/conf

2009-06-12 Thread Rui Paulo
Author: rpaulo Date: Fri Jun 12 09:08:25 2009 New Revision: 194050 URL: http://svn.freebsd.org/changeset/base/194050 Log: Free avg from mentorship. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors ==

svn commit: r194051 - head/sys/netgraph

2009-06-12 Thread Marko Zec
Author: zec Date: Fri Jun 12 09:20:31 2009 New Revision: 194051 URL: http://svn.freebsd.org/changeset/base/194051 Log: Assign ng_eiface nodes a netgraph name on instantiation, in a way which is consistent with the current behavior of ng_iface, i.e. borrow the same naming code from

svn commit: r194052 - head/sys/netinet6

2009-06-12 Thread Marko Zec
Author: zec Date: Fri Jun 12 09:31:14 2009 New Revision: 194052 URL: http://svn.freebsd.org/changeset/base/194052 Log: Remove unnecessary #ifdef lines and code. Approved by: julian (mentor) Modified: head/sys/netinet6/mld6.c Modified: head/sys/netinet6/mld6.c

Re: svn commit: r194040 - stable/7/lib/libc/gen

2009-06-12 Thread Dmitry Morozovsky
On Thu, 11 Jun 2009, John Baldwin wrote: JB Author: jhb JB Date: Thu Jun 11 21:37:23 2009 JB New Revision: 194040 JB URL: http://svn.freebsd.org/changeset/base/194040 JB JB Log: JB If the running kernel has support for shm_open() and shm_unlink() as JB system calls (i.e. 8.0+), then invoke

svn commit: r194055 - head/share/syscons/keymaps

2009-06-12 Thread Edwin Groothuis
Author: edwin Date: Fri Jun 12 11:16:13 2009 New Revision: 194055 URL: http://svn.freebsd.org/changeset/base/194055 Log: French translations for keyboards keymaps descriptions French translations for keyboards keymaps descriptions with some corrections on existing translations in

Re: svn commit: r194050 - svnadmin/conf

2009-06-12 Thread Andriy Gapon
on 12/06/2009 12:08 Rui Paulo said the following: Author: rpaulo Date: Fri Jun 12 09:08:25 2009 New Revision: 194050 URL: http://svn.freebsd.org/changeset/base/194050 Log: Free avg from mentorship. John, Rui, thank you for being such great mentors! I really had no trouble melding into

Re: svn commit: r193941 - head/sys/netinet

2009-06-12 Thread John Baldwin
On Thursday 11 June 2009 11:12:58 pm Bruce Evans wrote: On Thu, 11 Jun 2009, John Baldwin wrote: On Wednesday 10 June 2009 11:53:16 pm Bruce Evans wrote: On Wed, 10 Jun 2009, John Baldwin wrote: Log: Change a few members of tcpcb that store cached copies of ticks to be ints

Re: svn commit: r194040 - stable/7/lib/libc/gen

2009-06-12 Thread John Baldwin
On Friday 12 June 2009 6:13:08 am Dmitry Morozovsky wrote: On Thu, 11 Jun 2009, John Baldwin wrote: JB Author: jhb JB Date: Thu Jun 11 21:37:23 2009 JB New Revision: 194040 JB URL: http://svn.freebsd.org/changeset/base/194040 JB JB Log: JB If the running kernel has support for

Re: svn commit: r194040 - stable/7/lib/libc/gen

2009-06-12 Thread Jilles Tjoelker
On Fri, Jun 12, 2009 at 08:51:32AM -0400, John Baldwin wrote: On Friday 12 June 2009 6:13:08 am Dmitry Morozovsky wrote: On Thu, 11 Jun 2009, John Baldwin wrote: JB Author: jhb JB Date: Thu Jun 11 21:37:23 2009 JB New Revision: 194040 JB URL:

svn commit: r194060 - head/usr.sbin/nfsd

2009-06-12 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 12 14:18:13 2009 New Revision: 194060 URL: http://svn.freebsd.org/changeset/base/194060 Log: Update the content of the nfsv4.4 man page to reflect the final choice of variable names for rc.conf and option name for the experimental server. Also replace the

svn commit: r194061 - head/contrib/gdb/gdb

2009-06-12 Thread Andriy Gapon
Author: avg Date: Fri Jun 12 14:27:50 2009 New Revision: 194061 URL: http://svn.freebsd.org/changeset/base/194061 Log: gdb: make 'thread apply all bt' always work on all threads even if some appear to have (partially) corrupted stack traces. E.g. kernel crashdumps typically have stack

svn commit: r194062 - in head/sys: conf net netinet netipsec sys

2009-06-12 Thread VANHULLEBUS Yvan
Author: vanhu Date: Fri Jun 12 15:44:35 2009 New Revision: 194062 URL: http://svn.freebsd.org/changeset/base/194062 Log: Added support for NAT-Traversal (RFC 3948) in IPsec stack. Thanks to (no special order) Emmanuel Dreyfus (m...@netbsd.org), Larry Baird (l...@gta.com), gnn, bz, and

svn commit: r194063 - stable/7/lib/libutil

2009-06-12 Thread John Baldwin
Author: jhb Date: Fri Jun 12 15:53:56 2009 New Revision: 194063 URL: http://svn.freebsd.org/changeset/base/194063 Log: MFC: Add manpages for kinfo_getfile() and kinfo_getvmmap(). Added: stable/7/lib/libutil/kinfo_getfile.3 - copied unchanged from r185729,

svn commit: r194064 - head/sys/dev/usb

2009-06-12 Thread Andrew Thompson
Author: thompsa Date: Fri Jun 12 15:58:55 2009 New Revision: 194064 URL: http://svn.freebsd.org/changeset/base/194064 Log: Minor device side improvement. Make sure a not complete state gets paired with a complete state in device side mode for the default control endpoint. Submitted by:

svn commit: r194065 - head/sys/dev/usb

2009-06-12 Thread Andrew Thompson
Author: thompsa Date: Fri Jun 12 16:00:12 2009 New Revision: 194065 URL: http://svn.freebsd.org/changeset/base/194065 Log: Free the correct memory pointer. Submitted by: Tim Borgeaud (via HPS) Modified: head/sys/dev/usb/usb_compat_linux.c Modified: head/sys/dev/usb/usb_compat_linux.c

svn commit: r194066 - svnadmin/conf

2009-06-12 Thread George V. Neville-Neil
Author: gnn Date: Fri Jun 12 16:00:42 2009 New Revision: 194066 URL: http://svn.freebsd.org/changeset/base/194066 Log: Free Yvan from mentorship. Modified: svnadmin/conf/mentors Modified: svnadmin/conf/mentors ==

svn commit: r194067 - head/sys/dev/usb/input

2009-06-12 Thread Andrew Thompson
Author: thompsa Date: Fri Jun 12 16:03:38 2009 New Revision: 194067 URL: http://svn.freebsd.org/changeset/base/194067 Log: Check for a keyboard HID report in addition to the interface class so devices such as the Yubikey attach. Submitted by: Hans Petter Selasky Reported by: Jeremy

svn commit: r194068 - head/sys/dev/usb/input

2009-06-12 Thread Andrew Thompson
Author: thompsa Date: Fri Jun 12 16:04:32 2009 New Revision: 194068 URL: http://svn.freebsd.org/changeset/base/194068 Log: Change ums_probe() so it does not need to fetch the usb_interface_descriptor. Submitted by: Hans Petter Selasky Modified: head/sys/dev/usb/input/ums.c Modified:

svn commit: r194069 - head/lib/libusb

2009-06-12 Thread Andrew Thompson
Author: thompsa Date: Fri Jun 12 16:07:06 2009 New Revision: 194069 URL: http://svn.freebsd.org/changeset/base/194069 Log: Cleanup claim/release interface code, which is specific to libusb v0.1. Remove claim and release interface support from libusb v2.0, because it is not useful.

Re: svn commit: r194012 - in head: . sys/netgraph sys/sys

2009-06-12 Thread Scott Long
Julian Elischer wrote: Alexander Kabaev wrote: On Thu, 11 Jun 2009 13:27:12 -0700 Julian Elischer jul...@elischer.org wrote: Marko Zec wrote: On Thursday 11 June 2009 21:01:40 Pawel Jakub Dawidek wrote: On Thu, Jun 11, 2009 at 04:50:49PM +, Marko Zec wrote: Author: zec Date: Thu Jun 11

svn commit: r194070 - head/contrib/csup

2009-06-12 Thread Ulf Lilleengen
Author: lulf Date: Fri Jun 12 16:37:53 2009 New Revision: 194070 URL: http://svn.freebsd.org/changeset/base/194070 Log: - Remove semicolon that should not have been there. Submitted by: rdivacky MFC after:1 week Modified: head/contrib/csup/rcsfile.c Modified:

Re: svn commit: r194062 - in head/sys: conf net netinet netipsec sys

2009-06-12 Thread Julian Elischer
VANHULLEBUS Yvan wrote: Author: vanhu Date: Fri Jun 12 15:44:35 2009 New Revision: 194062 URL: http://svn.freebsd.org/changeset/base/194062 Log: Added support for NAT-Traversal (RFC 3948) in IPsec stack. Thanks to (no special order) Emmanuel Dreyfus (m...@netbsd.org), Larry Baird

svn commit: r194071 - head/lib/libutil

2009-06-12 Thread John Baldwin
Author: jhb Date: Fri Jun 12 18:13:34 2009 New Revision: 194071 URL: http://svn.freebsd.org/changeset/base/194071 Log: - Note that these interfaces require sys/user.h for the structure definitions. - Note that these functions return NULL on failure. MFC after:3 days Modified:

Re: svn commit: r194040 - stable/7/lib/libc/gen

2009-06-12 Thread John Baldwin
On Friday 12 June 2009 9:34:18 am Jilles Tjoelker wrote: On Fri, Jun 12, 2009 at 08:51:32AM -0400, John Baldwin wrote: On Friday 12 June 2009 6:13:08 am Dmitry Morozovsky wrote: On Thu, 11 Jun 2009, John Baldwin wrote: JB Author: jhb JB Date: Thu Jun 11 21:37:23 2009 JB New

svn commit: r194072 - in head/sys: arm/mv arm/mv/discovery arm/mv/kirkwood arm/mv/orion dev/uart dev/usb/controller

2009-06-12 Thread Marcel Moolenaar
Author: marcel Date: Fri Jun 12 20:00:38 2009 New Revision: 194072 URL: http://svn.freebsd.org/changeset/base/194072 Log: Move the memory layout definitions and logic from mvreg.h to mvwin.h so that it isn't exposured unless needed. In particular this means that it's easier to tune the

svn commit: r194073 - head/sys/nfsserver

2009-06-12 Thread Rick Macklem
Author: rmacklem Date: Fri Jun 12 20:18:08 2009 New Revision: 194073 URL: http://svn.freebsd.org/changeset/base/194073 Log: Add a #include sys/jail.h so that it builds when options KGSSAPI is specified in the kernel configuration. Approved by: kib (mentor) Modified:

svn commit: r194075 - in stable/7/sys: . amd64/amd64 amd64/include contrib/pf dev/ath/ath_hal i386/i386 i386/include

2009-06-12 Thread Jung-uk Kim
Author: jkim Date: Fri Jun 12 20:41:44 2009 New Revision: 194075 URL: http://svn.freebsd.org/changeset/base/194075 Log: MFC: r175904, r175905, r186009 Sync amd64 and i386 CPUID feature flags with -CURRENT. - amd64 only: DTES64, SSE4.1, SSE4.2, x2APIC, POPCNT - both:

svn commit: r194074 - head/sys/kern

2009-06-12 Thread Ed Schouten
Author: ed Date: Fri Jun 12 20:29:55 2009 New Revision: 194074 URL: http://svn.freebsd.org/changeset/base/194074 Log: Prevent yet another staircase effect bug in the console device. Even though I thought I fixed the staircase issue (and I was no longer able to reproduce it), I got some

svn commit: r194076 - in head/sys: net netinet

2009-06-12 Thread Bjoern A. Zeeb
Author: bz Date: Fri Jun 12 20:46:36 2009 New Revision: 194076 URL: http://svn.freebsd.org/changeset/base/194076 Log: Move the kernel option FLOWTABLE chacking from the header file to the actual implementation. Remove the accessor functions for the compiled out case, just returning

svn commit: r194077 - head/sys/net

2009-06-12 Thread Bjoern A. Zeeb
Author: bz Date: Fri Jun 12 20:50:28 2009 New Revision: 194077 URL: http://svn.freebsd.org/changeset/base/194077 Log: Garbage collect an extern for a non-existent variable. While here let the comment end in a '.' and mark the #endif of _KERNEL. Reviewed by: rwatson (as part of a larger

svn commit: r194078 - head/sys/fs/cd9660

2009-06-12 Thread John Baldwin
Author: jhb Date: Fri Jun 12 21:19:57 2009 New Revision: 194078 URL: http://svn.freebsd.org/changeset/base/194078 Log: Update the inline version of vn_get_ino() for .. lookups to match the recentish changes to vn_get_ino(). MFC after:1 week Modified:

svn commit: r194079 - head/sys/kern

2009-06-12 Thread Ed Schouten
Author: ed Date: Fri Jun 12 21:21:17 2009 New Revision: 194079 URL: http://svn.freebsd.org/changeset/base/194079 Log: Revert my previous change, because it reintroduces an old regression. Because our rc scripts also open the /etc/ttyv* nodes, it revokes the console, preventing startup

svn commit: r194082 - in head/sys/mips: malta mips

2009-06-12 Thread Juli Mallett
Author: jmallett Date: Fri Jun 12 22:49:35 2009 New Revision: 194082 URL: http://svn.freebsd.org/changeset/base/194082 Log: Fix MALTA build; some prototypes were wrong and blew up when kobj method signature checking was turned on. Modified: head/sys/mips/malta/gt_pci.c

svn commit: r194084 - head/share/syscons/keymaps

2009-06-12 Thread Edwin Groothuis
Author: edwin Date: Fri Jun 12 22:53:49 2009 New Revision: 194084 URL: http://svn.freebsd.org/changeset/base/194084 Log: Add various new keymaps: addition: danish syscons keymap with accents There are two danish keymap files shipping with FreeBSD: danish.iso.kbd and

svn commit: r194085 - head/share/mklocale

2009-06-12 Thread Edwin Groothuis
Author: edwin Date: Fri Jun 12 23:15:36 2009 New Revision: 194085 URL: http://svn.freebsd.org/changeset/base/194085 Log: Fix printing of some wide-characters by iswprint() on ja_JP.eucJP and ja_JP.SJIS locale The iswprint() function does not return non-zero if used for some

svn commit: r194086 - head/usr.sbin/nscd

2009-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Fri Jun 12 23:27:31 2009 New Revision: 194086 URL: http://svn.freebsd.org/changeset/base/194086 Log: _nss_cache_cycle_prevention_function doesn't actually need to be a function, it just needs to have external linkage. MFC after:1 week Modified:

svn commit: r194087 - in head/usr.sbin/nscd: . agents

2009-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Fri Jun 12 23:39:05 2009 New Revision: 194087 URL: http://svn.freebsd.org/changeset/base/194087 Log: Provide correct prototypes for functions with no arguments. MFC after:1 week Modified: head/usr.sbin/nscd/agent.c head/usr.sbin/nscd/agent.h

svn commit: r194088 - in head: etc share/termcap

2009-06-12 Thread Edwin Groothuis
Author: edwin Date: Fri Jun 12 23:43:19 2009 New Revision: 194088 URL: http://svn.freebsd.org/changeset/base/194088 Log: Fix typo in cons25l7 definition in etc/termcap.small and share/termcap There is a minor typo in the cons25l7 (':' instead of '|') entry in

svn commit: r194089 - head/usr.sbin/nscd

2009-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Sat Jun 13 00:06:52 2009 New Revision: 194089 URL: http://svn.freebsd.org/changeset/base/194089 Log: #include cleanup MFC after:1 week Modified: head/usr.sbin/nscd/cachelib.h head/usr.sbin/nscd/cacheplcs.c head/usr.sbin/nscd/cacheplcs.h

svn commit: r194090 - in head/sys: compat/linux compat/svr4 kern sys

2009-06-12 Thread Jamie Gritton
Author: jamie Date: Sat Jun 13 00:12:02 2009 New Revision: 194090 URL: http://svn.freebsd.org/changeset/base/194090 Log: Add counterparts to getcredhostname: getcreddomainname, getcredhostuuid, getcredhostid Suggested by: rmacklem Approved by: bz Modified:

svn commit: r194093 - in head/usr.sbin/nscd: . agents

2009-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Sat Jun 13 00:43:56 2009 New Revision: 194093 URL: http://svn.freebsd.org/changeset/base/194093 Log: Further #include cleanup. MFC after:1 week Modified: head/usr.sbin/nscd/agent.c head/usr.sbin/nscd/agents/group.c head/usr.sbin/nscd/agents/passwd.c

svn commit: r194094 - head/usr.sbin/nscd/agents

2009-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Sat Jun 13 00:46:07 2009 New Revision: 194094 URL: http://svn.freebsd.org/changeset/base/194094 Log: #include the right header so we get prototypes for our own functions. MFC after:1 week Modified: head/usr.sbin/nscd/agents/group.c Modified:

svn commit: r194095 - head/usr.sbin/nscd

2009-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Sat Jun 13 00:54:52 2009 New Revision: 194095 URL: http://svn.freebsd.org/changeset/base/194095 Log: Change hashtable_index_t to unsigned. Generate prototypes for our hash table. MFC after:1 week Modified: head/usr.sbin/nscd/cachelib.c

svn commit: r194096 - head/usr.sbin/nscd

2009-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Sat Jun 13 00:56:17 2009 New Revision: 194096 URL: http://svn.freebsd.org/changeset/base/194096 Log: Fix a large number of signed - unsigned comparison warnings. MFC after:1 week Modified: head/usr.sbin/nscd/config.c head/usr.sbin/nscd/mp_rs_query.c

Re: svn commit: r193941 - head/sys/netinet

2009-06-12 Thread Bruce Evans
On Fri, 12 Jun 2009, John Baldwin wrote: On Thursday 11 June 2009 11:12:58 pm Bruce Evans wrote: On Thu, 11 Jun 2009, John Baldwin wrote: On Wednesday 10 June 2009 11:53:16 pm Bruce Evans wrote: On Wed, 10 Jun 2009, John Baldwin wrote: I wanted to match 'ticks' and figured changing

svn commit: r194097 - head/usr.sbin/nscd

2009-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Sat Jun 13 01:22:56 2009 New Revision: 194097 URL: http://svn.freebsd.org/changeset/base/194097 Log: Explain to the compiler why the aliasing we're doing is OK. MFC after:1 week Modified: head/usr.sbin/nscd/cachelib.c head/usr.sbin/nscd/cachelib.h

svn commit: r194098 - head/usr.sbin/nscd

2009-06-12 Thread Dag-Erling Smorgrav
Author: des Date: Sat Jun 13 01:23:34 2009 New Revision: 194098 URL: http://svn.freebsd.org/changeset/base/194098 Log: nscd builds cleanly at WARNS level 3. MFC after:1 week Modified: head/usr.sbin/nscd/Makefile Modified: head/usr.sbin/nscd/Makefile

Re: svn commit: r194071 - head/lib/libutil

2009-06-12 Thread Bruce Evans
On Fri, 12 Jun 2009, John Baldwin wrote: Log: - Note that these interfaces require sys/user.h for the structure definitions. This should be noted somewhere other than in the synopsis. Struct definitions may or may not be needed for using a function, but one place where they are certainly

svn commit: r194099 - in head/sys/dev/usb: . input serial storage wlan

2009-06-12 Thread Andrew Thompson
Author: thompsa Date: Sat Jun 13 04:56:45 2009 New Revision: 194099 URL: http://svn.freebsd.org/changeset/base/194099 Log: Make variables static where appropriate. Found by: cscout Modified: head/sys/dev/usb/input/ukbd.c head/sys/dev/usb/serial/uchcom.c