svn commit: r231257 - head/usr.sbin/wpa/hostapd

2012-02-09 Thread Kevin Lo
Author: kevlo Date: Thu Feb 9 08:33:04 2012 New Revision: 231257 URL: http://svn.freebsd.org/changeset/base/231257 Log: Mention run(4) Modified: head/usr.sbin/wpa/hostapd/hostapd.8 Modified: head/usr.sbin/wpa/hostapd/hostapd.8

Re: svn commit: r231220 - head/sys/sys

2012-02-09 Thread Konstantin Belousov
On Wed, Feb 08, 2012 at 11:21:59AM -0800, m...@freebsd.org wrote: > On Wed, Feb 8, 2012 at 10:36 AM, Konstantin Belousov wrote: > > Author: kib > > Date: Wed Feb  8 18:36:07 2012 > > New Revision: 231220 > > URL: http://svn.freebsd.org/changeset/base/231220 > > > > Log: > >  Trim 8 unused bytes fr

svn commit: r231265 - in head: share/man/man5 sys/fs/devfs

2012-02-09 Thread Martin Matuska
Author: mm Date: Thu Feb 9 10:09:12 2012 New Revision: 231265 URL: http://svn.freebsd.org/changeset/base/231265 Log: Introduce the "ruleset=number" option for devfs(5) mounts. Add support for updating the devfs mount (currently only changing the ruleset number is supported). Check mnt_opt

svn commit: r231266 - in head: share/man/man4 sys/dev/sdhci

2012-02-09 Thread Gleb Smirnoff
Author: glebius Date: Thu Feb 9 10:20:41 2012 New Revision: 231266 URL: http://svn.freebsd.org/changeset/base/231266 Log: Add support for RICOH R5CE823 card reader, that can be found in some Lenovo laptops. The conroller needs a quirk to lower its frequency, and after that it operates

svn commit: r231267 - in head: sys/fs/devfs sys/kern sys/sys usr.sbin/jail

2012-02-09 Thread Martin Matuska
Author: mm Date: Thu Feb 9 10:22:08 2012 New Revision: 231267 URL: http://svn.freebsd.org/changeset/base/231267 Log: Add support for mounting devfs inside jails. A new jail(8) option "devfs_ruleset" defines the ruleset enforcement for mounting devfs inside jails. A value of -1 disables m

Re: svn commit: r231266 - in head: share/man/man4 sys/dev/sdhci

2012-02-09 Thread Gleb Smirnoff
On Thu, Feb 09, 2012 at 10:20:42AM +, Gleb Smirnoff wrote: T> Author: glebius T> Date: Thu Feb 9 10:20:41 2012 T> New Revision: 231266 T> URL: http://svn.freebsd.org/changeset/base/231266 T> T> Log: T> Add support for RICOH R5CE823 card reader, that can be found in T> some Lenovo laptops.

svn commit: r231269 - head/sys/fs/nullfs

2012-02-09 Thread Martin Matuska
Author: mm Date: Thu Feb 9 10:39:01 2012 New Revision: 231269 URL: http://svn.freebsd.org/changeset/base/231269 Log: Allow mounting nullfs(5) inside jails. This is now possible thanks to r230129. MFC after:1 month Modified: head/sys/fs/nullfs/null_vfsops.c Modified: head/sys/f

svn commit: r231273 - head/sys/pc98/conf

2012-02-09 Thread Takahashi Yoshihiro
Author: nyan Date: Thu Feb 9 14:00:49 2012 New Revision: 231273 URL: http://svn.freebsd.org/changeset/base/231273 Log: - Disable the olpt driver. Because it conflicts with the ppc/lpt driver. - Remove obsolete comment. MFC after:3 days Modified: head/sys/pc98/conf/GENERIC Modif

svn commit: r231274 - head/usr.bin/calendar/calendars

2012-02-09 Thread Matthew Seaman
Author: matthew (ports committer) Date: Thu Feb 9 14:13:56 2012 New Revision: 231274 URL: http://svn.freebsd.org/changeset/base/231274 Log: Add myself as a new committer Approved by: shaun (mentor) Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.bin/calen

svn commit: r231275 - head/share/misc

2012-02-09 Thread Matthew Seaman
Author: matthew (ports committer) Date: Thu Feb 9 14:15:20 2012 New Revision: 231275 URL: http://svn.freebsd.org/changeset/base/231275 Log: Adding myself as a new committer Approved by: shaun (mentor) Modified: head/share/misc/committers-ports.dot Modified: head/share/misc/committers-

svn commit: r231276 - head/sys/pc98/conf

2012-02-09 Thread Takahashi Yoshihiro
Author: nyan Date: Thu Feb 9 14:15:56 2012 New Revision: 231276 URL: http://svn.freebsd.org/changeset/base/231276 Log: Remove full debugger options and enable KDB_TRACE option instead to decrease kernel size and increase performance. Modified: head/sys/pc98/conf/GENERIC Modified: head/sys

svn commit: r231295 - head/sys/dev/acpica

2012-02-09 Thread Jung-uk Kim
Author: jkim Date: Thu Feb 9 17:38:08 2012 New Revision: 231295 URL: http://svn.freebsd.org/changeset/base/231295 Log: Refine r231226. Swap timecounters before suspending any device drivers. Modified: head/sys/dev/acpica/acpi_timer.c Modified: head/sys/dev/acpica/acpi_timer.c =

svn commit: r231296 - in head/sys: dev/isci dev/isci/scil modules/isci

2012-02-09 Thread Jim Harris
Author: jimharris Date: Thu Feb 9 17:50:24 2012 New Revision: 231296 URL: http://svn.freebsd.org/changeset/base/231296 Log: Remove explicit CC assignment in isci(4) Makefile to allow for building with clang. Also fix a number of warnings uncovered when building with clang around some impli

svn commit: r231298 - head/etc

2012-02-09 Thread Eitan Adler
Author: eadler Date: Thu Feb 9 20:44:20 2012 New Revision: 231298 URL: http://svn.freebsd.org/changeset/base/231298 Log: Make etc/Makefile more conflict resistant PR: conf/163789 Submitted by: gcooper (iXsystems) Approved by: cperciva MFC after:3 days Modified: head

svn commit: r231299 - head/lib/libc/gen

2012-02-09 Thread Eitan Adler
Author: eadler Date: Thu Feb 9 20:49:03 2012 New Revision: 231299 URL: http://svn.freebsd.org/changeset/base/231299 Log: More accurately document what happens on error. PR: docs/127908 Submitted by: Matthew D. Fuller Approved by: cperciva MFC after:1 week Modified:

svn commit: r231300 - head/usr.sbin/pkg_install/create

2012-02-09 Thread Eitan Adler
Author: eadler Date: Thu Feb 9 20:51:03 2012 New Revision: 231300 URL: http://svn.freebsd.org/changeset/base/231300 Log: Permit the use of relative paths for the prefix argument. Remove an unnecessary cwd from created plists when -p is specified PR: bin/145000 Submitted by: g

svn commit: r231306 - head/lib/libutil

2012-02-09 Thread Eitan Adler
Author: eadler Date: Thu Feb 9 21:06:47 2012 New Revision: 231306 URL: http://svn.freebsd.org/changeset/base/231306 Log: Fix NULL ptr dereference in setusercontext if pwd is null, LOGIN_SETPRIORITY is set, and setting the priority (rtprio or setpriority) fails. PR: kern/16423

Re: svn commit: r231300 - head/usr.sbin/pkg_install/create

2012-02-09 Thread Florian Smeets
On 09.02.12 21:51, Eitan Adler wrote: > Author: eadler > Date: Thu Feb 9 20:51:03 2012 > New Revision: 231300 > URL: http://svn.freebsd.org/changeset/base/231300 > > Log: > Permit the use of relative paths for the prefix argument. > Remove an unnecessary cwd from created plists when -p is spe

Re: svn commit: r231269 - head/sys/fs/nullfs

2012-02-09 Thread Pawel Jakub Dawidek
On Thu, Feb 09, 2012 at 10:39:02AM +, Martin Matuska wrote: > Author: mm > Date: Thu Feb 9 10:39:01 2012 > New Revision: 231269 > URL: http://svn.freebsd.org/changeset/base/231269 > > Log: > Allow mounting nullfs(5) inside jails. > > This is now possible thanks to r230129. > > MFC

Re: svn commit: r231298 - head/etc

2012-02-09 Thread Marcel Moolenaar
On Feb 9, 2012, at 12:44 PM, Eitan Adler wrote: > Author: eadler > Date: Thu Feb 9 20:44:20 2012 > New Revision: 231298 > URL: http://svn.freebsd.org/changeset/base/231298 > > Log: > Make etc/Makefile more conflict resistant Nice. Question though: why not the less verbose BIN1 = \ fo

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

2012-02-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Feb 9 22:17:13 2012 New Revision: 231312 URL: http://svn.freebsd.org/changeset/base/231312 Log: - Emulate RDHWR instruction for TLS support Reading register $29 with RDHWR is becoming the de-facto standard to implement TLS. According to linux-mips wiki, MIPS Tech

Re: svn commit: r231312 - in head/sys/mips: include mips

2012-02-09 Thread Bjoern A. Zeeb
On 9. Feb 2012, at 22:17 , Oleksandr Tymoshenko wrote: > Author: gonzo > Date: Thu Feb 9 22:17:13 2012 > New Revision: 231312 > URL: http://svn.freebsd.org/changeset/base/231312 > > Log: > - Emulate RDHWR instruction for TLS support > > Reading register $29 with RDHWR is becoming the de-fact

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

2012-02-09 Thread Kirk McKusick
Author: mckusick Date: Thu Feb 9 22:34:16 2012 New Revision: 231313 URL: http://svn.freebsd.org/changeset/base/231313 Log: Historically when an application wrote an entire block of a file, the kernel allocated a buffer but did not zero it as it was about to be completely filled by a uiomove

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

2012-02-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Feb 9 22:48:35 2012 New Revision: 231314 URL: http://svn.freebsd.org/changeset/base/231314 Log: Fix n32 build breakage Modified: head/sys/mips/mips/trap.c Modified: head/sys/mips/mips/trap.c

Re: svn commit: r231298 - head/etc

2012-02-09 Thread Eitan Adler
On Thu, Feb 9, 2012 at 5:15 PM, Marcel Moolenaar wrote: > > On Feb 9, 2012, at 12:44 PM, Eitan Adler wrote: > >> Author: eadler >> Date: Thu Feb  9 20:44:20 2012 >> New Revision: 231298 >> URL: http://svn.freebsd.org/changeset/base/231298 >> >> Log: >>  Make etc/Makefile more conflict resistant >

Re: svn commit: r231312 - in head/sys/mips: include mips

2012-02-09 Thread Oleksandr Tymoshenko
On 09/02/2012 2:33 PM, Bjoern A. Zeeb wrote: On 9. Feb 2012, at 22:17 , Oleksandr Tymoshenko wrote: Author: gonzo Date: Thu Feb 9 22:17:13 2012 New Revision: 231312 URL: http://svn.freebsd.org/changeset/base/231312 Log: - Emulate RDHWR instruction for TLS support Reading register $29 wi

svn commit: r231317 - head/sys/dev/cxgb

2012-02-09 Thread Navdeep Parhar
Author: np Date: Thu Feb 9 23:19:09 2012 New Revision: 231317 URL: http://svn.freebsd.org/changeset/base/231317 Log: Add IPv6 TSO (including TSO+VLAN) support to cxgb(4). If an IPv6 packet has extension headers the kernel needs to deal with it itself. For the rest it can set various CSU

svn commit: r231320 - in head/sys: kern sys

2012-02-09 Thread Konstantin Belousov
Author: kib Date: Fri Feb 10 00:02:13 2012 New Revision: 231320 URL: http://svn.freebsd.org/changeset/base/231320 Log: Mark the automatically attached child with PL_FLAG_CHILD in struct lwpinfo flags, for PT_FOLLOWFORK auto-attachment. In collaboration with:Dmitry Mikulin MFC a

Re: svn commit: r231298 - head/etc

2012-02-09 Thread Marcel Moolenaar
On Feb 9, 2012, at 3:09 PM, Eitan Adler wrote: > On Thu, Feb 9, 2012 at 5:15 PM, Marcel Moolenaar wrote: >> >> On Feb 9, 2012, at 12:44 PM, Eitan Adler wrote: >> >>> Author: eadler >>> Date: Thu Feb 9 20:44:20 2012 >>> New Revision: 231298 >>> URL: http://svn.freebsd.org/changeset/base/231298

Re: svn commit: r231300 - head/usr.sbin/pkg_install/create

2012-02-09 Thread Andrey Chernov
On Thu, Feb 09, 2012 at 08:51:03PM +, Eitan Adler wrote: > /* Prefix should add an @cwd to the packing list */ > -if (Prefix) > - add_plist_top(&plist, PLIST_CWD, Prefix); > +if (Prefix) { > +char resolved_prefix[PATH_MAX]; > +if (realpath(Prefix, resolved_prefi

Re: svn commit: r231300 - head/usr.sbin/pkg_install/create

2012-02-09 Thread Eitan Adler
On Thu, Feb 9, 2012 at 7:26 PM, Andrey Chernov wrote: > On Thu, Feb 09, 2012 at 08:51:03PM +, Eitan Adler wrote: >>      /* Prefix should add an @cwd to the packing list */ >> -    if (Prefix) >> -     add_plist_top(&plist, PLIST_CWD, Prefix); >> +    if (Prefix) { >> +        char resolved_pr

svn commit: r231328 - head/usr.sbin/pkg_install/create

2012-02-09 Thread Eitan Adler
Author: eadler Date: Fri Feb 10 00:53:39 2012 New Revision: 231328 URL: http://svn.freebsd.org/changeset/base/231328 Log: Fix r231300: Use correct test so we only bail out on error instead of on non-error. Also, fix a style bug. Submitted by: ache Approved by: cperciva MFC after:

Re: svn commit: r231298 - head/etc

2012-02-09 Thread Alexey Dokuchaev
On Thu, Feb 09, 2012 at 04:15:23PM -0800, Marcel Moolenaar wrote: > I think it's convention (see sys/modules/Makefile or lib/Makefile), > but I could just as well be mistaken (i.e. picked the only makefiles > that do this :-) I also believe this is the usual way to do things in FreeBSD. Those BIN

svn commit: r231329 - head/libexec/rtld-elf/mips

2012-02-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Feb 10 03:30:57 2012 New Revision: 231329 URL: http://svn.freebsd.org/changeset/base/231329 Log: Fix debug output for MIPS part of rtld Modified: head/libexec/rtld-elf/mips/reloc.c Modified: head/libexec/rtld-elf/mips/reloc.c ==

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

2012-02-09 Thread Glen Barber
Author: gjb (doc committer) Date: Fri Feb 10 03:34:32 2012 New Revision: 231331 URL: http://svn.freebsd.org/changeset/base/231331 Log: Fix date from r23. Pointy-hat to:gjb (myself, approver of r23) Modified: head/share/man/man7/ports.7 Modified: head/share/man/man7/ports

Re: svn commit: r231298 - head/etc

2012-02-09 Thread Bruce Evans
On Thu, 9 Feb 2012, Marcel Moolenaar wrote: On Feb 9, 2012, at 12:44 PM, Eitan Adler wrote: Author: eadler Date: Thu Feb 9 20:44:20 2012 New Revision: 231298 URL: http://svn.freebsd.org/changeset/base/231298 Log: Make etc/Makefile more conflict resistant Nice. Question though: why not the

Re: svn commit: r231298 - head/etc

2012-02-09 Thread Doug Barton
On 02/09/2012 14:15, Marcel Moolenaar wrote: > > On Feb 9, 2012, at 12:44 PM, Eitan Adler wrote: > >> Author: eadler >> Date: Thu Feb 9 20:44:20 2012 >> New Revision: 231298 >> URL: http://svn.freebsd.org/changeset/base/231298 >> >> Log: >> Make etc/Makefile more conflict resistant > > Nice. Q

svn commit: r231336 - head/contrib/gcc

2012-02-09 Thread Tim Kientzle
Author: kientzle Date: Fri Feb 10 05:05:42 2012 New Revision: 231336 URL: http://svn.freebsd.org/changeset/base/231336 Log: Implement -print-file-name=include (which is undocumented but used by some Linux boot loaders). This option prints out the directory holding the include files needed b

svn commit: r231341 - head/sys/kern

2012-02-09 Thread Kevin Lo
Author: kevlo Date: Fri Feb 10 06:30:52 2012 New Revision: 231341 URL: http://svn.freebsd.org/changeset/base/231341 Log: Add a missing break. This bug was introduced in r228856. Modified: head/sys/kern/kern_tc.c Modified: head/sys/kern/kern_tc.c ==

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

2012-02-09 Thread Bruce Evans
On Thu, 9 Feb 2012, Kirk McKusick wrote: Log: Historically when an application wrote an entire block of a file, the kernel allocated a buffer but did not zero it as it was about to be completely filled by a uiomove() from the user's buffer. However, if the uiomove() failed, the old contents

svn commit: r231347 - in head/libexec/rtld-elf: . mips

2012-02-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Feb 10 06:42:50 2012 New Revision: 231347 URL: http://svn.freebsd.org/changeset/base/231347 Log: Switch MIPS TLS implementation to Variant I Modified: head/libexec/rtld-elf/mips/reloc.c head/libexec/rtld-elf/mips/rtld_machdep.h head/libexec/rtld-elf/rtld.c Modifie

svn commit: r231349 - head/sys/geom/part

2012-02-09 Thread Andrey V. Elsukov
Author: ae Date: Fri Feb 10 06:44:30 2012 New Revision: 231349 URL: http://svn.freebsd.org/changeset/base/231349 Log: Let's be more realistic and limit maximum number of partition to 4k. MFC after:1 week Modified: head/sys/geom/part/g_part_apm.c Modified: head/sys/geom/part/g_part_a

svn commit: r231350 - in head/lib/libthr/arch/mips: include mips

2012-02-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Feb 10 06:53:25 2012 New Revision: 231350 URL: http://svn.freebsd.org/changeset/base/231350 Log: Switch MIPS TLS implementation to Variant I: Save pointer to the TLS structure taking into account TP_OFFSET and TCB structure size. Modified: head/lib/libthr/arch/m

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

2012-02-09 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Feb 10 07:03:45 2012 New Revision: 231351 URL: http://svn.freebsd.org/changeset/base/231351 Log: Fix-up value passed by thr_new syscall to make it compatible with MIPS_TLS_GET/MIPS_TLS_SET sysarch API. Modified: head/sys/mips/mips/vm_machdep.c Modified: head/sys/mip