svn commit: r202553 - in stable/8/sys: kern sys

2010-01-18 Thread Ed Schouten
Author: ed Date: Mon Jan 18 09:04:53 2010 New Revision: 202553 URL: http://svn.freebsd.org/changeset/base/202553 Log: MFC r201532: Make TIOCSTI work again. It looks like I didn't implement this when I imported MPSAFE TTY. Applications like mail(1) still use this. I think it's c

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

2010-01-18 Thread Andrey A. Chernov
Author: ache Date: Mon Jan 18 10:17:51 2010 New Revision: 202556 URL: http://svn.freebsd.org/changeset/base/202556 Log: a) Use strcoll() in opendir() and alphasort() as POSIX 2008 requires. It also matches now how our 'ls' works for years. b) Remove comment expressed 2 fears: 1) One

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

2010-01-18 Thread David Xu
Author: davidxu Date: Mon Jan 18 10:29:04 2010 New Revision: 202557 URL: http://svn.freebsd.org/changeset/base/202557 Log: preserve errno when processing error cases. Modified: head/lib/libc/gen/sem_new.c Modified: head/lib/libc/gen/sem_new.c =

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

2010-01-18 Thread Andriy Gapon
Author: avg Date: Mon Jan 18 10:30:11 2010 New Revision: 202558 URL: http://svn.freebsd.org/changeset/base/202558 Log: acpi_ec: clean up 'private' ivar when freeing memory to which it points This is not only a prudent thing to do, but also makes sure that probe method is not confused by n

Re: INCLUDE_CONFIG_FILE in GENERIC

2010-01-18 Thread Dag-Erling Smørgrav
"M. Warner Losh" writes: > [...] I think this > is the model that best fits most user's needs, since they EITHER take > GENERIC and hack on it (in which case we preserve all that), OR they > include GENERIC and opt in/out of things based on that default. The latter is a far better option - I use

svn commit: r202559 - head/usr.bin/getent

2010-01-18 Thread Ed Schouten
Author: ed Date: Mon Jan 18 10:50:25 2010 New Revision: 202559 URL: http://svn.freebsd.org/changeset/base/202559 Log: Also let getent(1) print values of ut_pid. Modified: head/usr.bin/getent/getent.c Modified: head/usr.bin/getent/getent.c =

svn commit: r202560 - stable/8/release

2010-01-18 Thread Takahashi Yoshihiro
Author: nyan Date: Mon Jan 18 10:53:03 2010 New Revision: 202560 URL: http://svn.freebsd.org/changeset/base/202560 Log: MFC: revision 201391 Do kgzip to the loader on pc98, too. Now pc98's boot2 works for ELF. Modified: stable/8/release/Makefile Directory Properties: stable/8/releas

svn commit: r202561 - stable/7/release

2010-01-18 Thread Takahashi Yoshihiro
Author: nyan Date: Mon Jan 18 10:53:59 2010 New Revision: 202561 URL: http://svn.freebsd.org/changeset/base/202561 Log: MFC: revision 201391 Do kgzip to the loader on pc98, too. Now pc98's boot2 works for ELF. Modified: stable/7/release/Makefile Directory Properties: stable/7/releas

svn commit: r202562 - stable/8/usr.sbin/sysinstall

2010-01-18 Thread Takahashi Yoshihiro
Author: nyan Date: Mon Jan 18 10:55:29 2010 New Revision: 202562 URL: http://svn.freebsd.org/changeset/base/202562 Log: MFC: revision 201392 Use UFS2 as default filesystem on pc98. Now pc98's boot2 works for UFS2. Modified: stable/8/usr.sbin/sysinstall/label.c Directory Properties:

svn commit: r202563 - stable/7/usr.sbin/sysinstall

2010-01-18 Thread Takahashi Yoshihiro
Author: nyan Date: Mon Jan 18 10:56:31 2010 New Revision: 202563 URL: http://svn.freebsd.org/changeset/base/202563 Log: MFC: revision 201392 Use UFS2 as default filesystem on pc98. Now pc98's boot2 works for UFS2. Modified: stable/7/usr.sbin/sysinstall/label.c Directory Properties:

svn commit: r202564 - stable/8/sys/pc98/conf

2010-01-18 Thread Takahashi Yoshihiro
Author: nyan Date: Mon Jan 18 11:03:39 2010 New Revision: 202564 URL: http://svn.freebsd.org/changeset/base/202564 Log: MFC: revision 201415 Re-enable more options and devices. Now kernel size problem is gone. Modified: stable/8/sys/pc98/conf/GENERIC Directory Properties: stable/8/s

svn commit: r202565 - stable/7/sys/pc98/conf

2010-01-18 Thread Takahashi Yoshihiro
Author: nyan Date: Mon Jan 18 11:08:47 2010 New Revision: 202565 URL: http://svn.freebsd.org/changeset/base/202565 Log: MFC: part of revision 201415 Re-enable more options and devices. Now kernel size problem is gone. Modified: stable/7/sys/pc98/conf/GENERIC Directory Properties: st

svn commit: r202566 - head/lib/libpam/modules/pam_lastlog

2010-01-18 Thread Ed Schouten
Author: ed Date: Mon Jan 18 11:29:51 2010 New Revision: 202566 URL: http://svn.freebsd.org/changeset/base/202566 Log: Let pam_lastlog use random ut_id's. By using random values for ut_id, not based on the TTY name, it is possible to run for example login(1) multiple times on the same TTY,

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

2010-01-18 Thread Andriy Gapon
Author: avg Date: Mon Jan 18 11:33:58 2010 New Revision: 202567 URL: http://svn.freebsd.org/changeset/base/202567 Log: acpi_ec: remove redundant acpi_disabled check in probe method MFC after:4 days Modified: head/sys/dev/acpica/acpi_ec.c Modified: head/sys/dev/acpica/acpi_ec.c =

svn commit: r202570 - in stable/8: contrib/groff/font/devutf8 contrib/groff/tmac gnu/usr.bin/groff/tmac

2010-01-18 Thread Ruslan Ermilov
Author: ru Date: Mon Jan 18 13:11:37 2010 New Revision: 202570 URL: http://svn.freebsd.org/changeset/base/202570 Log: MFC: Sync Groff with trunk except libulog addition. Modified: stable/8/contrib/groff/font/devutf8/R.proto stable/8/contrib/groff/tmac/an-old.tmac stable/8/contrib/groff/tm

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

2010-01-18 Thread Andrey A. Chernov
Author: ache Date: Mon Jan 18 13:44:44 2010 New Revision: 202572 URL: http://svn.freebsd.org/changeset/base/202572 Log: Double checking my commit I found that comment saying that POSIX 2008 and XSI 7require strcoll() for opendir() is not true. I can't find such requirement in POSIX 2008 and

svn commit: r202573 - head/sbin/mdconfig

2010-01-18 Thread Jaakko Heinonen
Author: jh Date: Mon Jan 18 14:07:41 2010 New Revision: 202573 URL: http://svn.freebsd.org/changeset/base/202573 Log: Print sizes up to INT64_MAX in md_prthumanval(). PR: bin/125365 Approved by: trasz (mentor) MFC after:2 weeks Modified: head/sbin/mdconfig/mdconfig.c

svn commit: r202576 - in stable/8: share/man/man9 sys/kern sys/sys

2010-01-18 Thread Attilio Rao
Author: attilio Date: Mon Jan 18 14:43:44 2010 New Revision: 202576 URL: http://svn.freebsd.org/changeset/base/202576 Log: MFC r200447,201703,201709-201710: In current code, threads performing an interruptible sleep will leave the waiters flag on forcing the owner to do a wakeup even when

svn commit: r202578 - head/share/mk

2010-01-18 Thread Ruslan Ermilov
Author: ru Date: Mon Jan 18 15:41:55 2010 New Revision: 202578 URL: http://svn.freebsd.org/changeset/base/202578 Log: If CTAGS is not set or set to something other than "ctags" or "gtags", "cleandepend" was not removing the .depend file; fixed. PR: 126747 MFC after:3 days

svn commit: r202579 - head/share/mk

2010-01-18 Thread Ruslan Ermilov
Author: ru Date: Mon Jan 18 15:58:02 2010 New Revision: 202579 URL: http://svn.freebsd.org/changeset/base/202579 Log: Allow the CTAGS to be set to something other than "gtags" or "ctags", but assume it supports a ctags(1)-compatible syntax. PR: 46676 Submitted by: Lyndon Neren

svn commit: r202580 - head/sys/dev/cs

2010-01-18 Thread Warner Losh
Author: imp Date: Mon Jan 18 17:52:57 2010 New Revision: 202580 URL: http://svn.freebsd.org/changeset/base/202580 Log: Fix indentation nit. Modified: head/sys/dev/cs/if_cs.c Modified: head/sys/dev/cs/if_cs.c == --- h

svn commit: r202581 - head/sys/dev/cs

2010-01-18 Thread Warner Losh
Author: imp Date: Mon Jan 18 17:53:44 2010 New Revision: 202581 URL: http://svn.freebsd.org/changeset/base/202581 Log: Add a warning if we're inw'ing from an odd address. This could happen due to a bug and might be the real basis for the cardbus workaround hack. Modified: head/sys/dev/cs

svn commit: r202582 - head/etc/namedb

2010-01-18 Thread Doug Barton
Author: dougb Date: Mon Jan 18 18:37:47 2010 New Revision: 202582 URL: http://svn.freebsd.org/changeset/base/202582 Log: Update the example named.conf file to answer locally for the newly released IPv4 documentation ranges (http://tools.ietf.org/html/rfc5737) and catch up to the IPv6 documen

svn commit: r202583 - head/sys/kern

2010-01-18 Thread Ed Schouten
Author: ed Date: Mon Jan 18 18:58:03 2010 New Revision: 202583 URL: http://svn.freebsd.org/changeset/base/202583 Log: Remove a dead initialization. Spotted by: scan-build (uqs) Modified: head/sys/kern/tty_inq.c Modified: head/sys/kern/tty_inq.c

svn commit: r202584 - head/sys/fs/ext2fs

2010-01-18 Thread Ulf Lilleengen
Author: lulf Date: Mon Jan 18 19:09:16 2010 New Revision: 202584 URL: http://svn.freebsd.org/changeset/base/202584 Log: Revert parts of r202283: - Return EOPNOTSUPP before EROFS to be consistent with other filesystems. - Fix setting of the nodump flag for users without PRIV_VFS_SYSFLAGS pri

svn commit: r202585 - head/lib/libstand

2010-01-18 Thread Andriy Gapon
Author: avg Date: Mon Jan 18 19:10:14 2010 New Revision: 202585 URL: http://svn.freebsd.org/changeset/base/202585 Log: fix a comment typo MFC after:3 days Modified: head/lib/libstand/bzipfs.c Modified: head/lib/libstand/bzipfs.c ==

svn commit: r202586 - head/sbin/geom/core

2010-01-18 Thread Xin LI
Author: delphij Date: Mon Jan 18 19:39:55 2010 New Revision: 202586 URL: http://svn.freebsd.org/changeset/base/202586 Log: Also output stripeoffset for consumer even if stripesize is zero, while stripeoffset is non-zero. Pointed out by: mav Modified: head/sbin/geom/core/geom.c M

svn commit: r202587 - head/sys/sparc64/conf

2010-01-18 Thread Marius Strobl
Author: marius Date: Mon Jan 18 20:25:29 2010 New Revision: 202587 URL: http://svn.freebsd.org/changeset/base/202587 Log: Add epic(4) also here. MFC after:3 days Modified: head/sys/sparc64/conf/NOTES Modified: head/sys/sparc64/conf/NOTES =

svn commit: r202588 - in head/sys: net netgraph

2010-01-18 Thread Andrew Thompson
Author: thompsa Date: Mon Jan 18 20:34:00 2010 New Revision: 202588 URL: http://svn.freebsd.org/changeset/base/202588 Log: Declare a new EVENTHANDLER called iflladdr_event which signals that the L2 address on an interface has changed. This lets stacked interfaces such as vlan(4) detect that

svn commit: r202589 - stable/7/sys/netinet

2010-01-18 Thread Michael Tuexen
Author: tuexen Date: Mon Jan 18 20:57:50 2010 New Revision: 202589 URL: http://svn.freebsd.org/changeset/base/202589 Log: MFC 198522: Bugfix: Use formula from section 7.2.3 of RFC 4960. Reported by Martin Becke. Modified: stable/7/sys/netinet/sctp_cc_functions.c Directory Properties: stab

svn commit: r202591 - in stable/8/sys: amd64/amd64 i386/i386

2010-01-18 Thread Alan Cox
Author: alc Date: Mon Jan 18 21:17:03 2010 New Revision: 202591 URL: http://svn.freebsd.org/changeset/base/202591 Log: MFC r202085 Simplify pmap_init(). Additionally, correct a harmless misbehavior on i386. Modified: stable/8/sys/amd64/amd64/pmap.c stable/8/sys/i386/i386/locore.s

svn commit: r202592 - stable/7/sys/netinet

2010-01-18 Thread Michael Tuexen
Author: tuexen Date: Mon Jan 18 21:25:12 2010 New Revision: 202592 URL: http://svn.freebsd.org/changeset/base/202592 Log: MFC 193089: Fix a small memory leak from the nr-sack code - the mapping array was not being freed at term of association. Also get rid of the MICHAELS_EXP code. Modifi

svn commit: r202593 - stable/7/sys/netinet

2010-01-18 Thread Michael Tuexen
Author: tuexen Date: Mon Jan 18 21:28:11 2010 New Revision: 202593 URL: http://svn.freebsd.org/changeset/base/202593 Log: MFC 195894: Add a missing unlock for the inp lock when returning early from sctp_add_to_readq(). Modified: stable/7/sys/netinet/sctputil.c Directory Properties: stab

svn commit: r202595 - vendor/tzdata/dist

2010-01-18 Thread Edwin Groothuis
Author: edwin Date: Mon Jan 18 21:55:12 2010 New Revision: 202595 URL: http://svn.freebsd.org/changeset/base/202595 Log: Vendor import of tzdata2010a: Administrative only: Fix AT fields for Asia/Dhaka Obtained from:ftp://elsie.nci.nih.gov/pub/ Modified: vendor/tzdata/dist/as

svn commit: r202596 - in head: share/mk sys/conf

2010-01-18 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Jan 18 21:56:08 2010 New Revision: 202596 URL: http://svn.freebsd.org/changeset/base/202596 Log: Undo r169961, removing WITH_GCC3, added as a temporary workaround three years ago. Modified: head/share/mk/bsd.sys.mk head/sys/conf/kern.mk Modified: head/share/mk/bsd

svn commit: r202598 - head/sys/compat/linux

2010-01-18 Thread Wojciech A. Koszek
Author: wkoszek Date: Mon Jan 18 22:46:06 2010 New Revision: 202598 URL: http://svn.freebsd.org/changeset/base/202598 Log: Let us to use our libusb(3) in Linuxolator. With this change, Linux binaries can work with our libusb(3) when it's compiled against our header files on GNU/Linux syst

svn commit: r202599 - in stable/7/sys: amd64/amd64 i386/i386

2010-01-18 Thread Alan Cox
Author: alc Date: Mon Jan 18 22:48:41 2010 New Revision: 202599 URL: http://svn.freebsd.org/changeset/base/202599 Log: MFC r202085 Simplify pmap_init(). Additionally, correct a harmless misbehavior on i386. Modified: stable/7/sys/amd64/amd64/pmap.c stable/7/sys/i386/i386/locore.s

svn commit: r202600 - head/share/examples/kld/firmware/fwconsumer

2010-01-18 Thread Wojciech A. Koszek
Author: wkoszek Date: Mon Jan 18 22:59:53 2010 New Revision: 202600 URL: http://svn.freebsd.org/changeset/base/202600 Log: Small fix for making this KLD to compile. Modified: head/share/examples/kld/firmware/fwconsumer/fw_consumer.c Modified: head/share/examples/kld/firmware/fwconsumer/fw_co

svn commit: r202601 - head/share/examples/kld/syscall/test

2010-01-18 Thread Wojciech A. Koszek
Author: wkoszek Date: Mon Jan 18 23:04:38 2010 New Revision: 202601 URL: http://svn.freebsd.org/changeset/base/202601 Log: Include stdlib.h for exit(3) and unistd.h for syscall(2). This makes this program to compile cleanly. Modified: head/share/examples/kld/syscall/test/call.c Modified: h

svn commit: r202602 - head/share/examples/kld/syscall/test

2010-01-18 Thread Wojciech A. Koszek
Author: wkoszek Date: Mon Jan 18 23:09:07 2010 New Revision: 202602 URL: http://svn.freebsd.org/changeset/base/202602 Log: Small cleanup while being here: - sort includes - remove usage(), since it seems to come from older version of the KLD - remove unnecessary variable - mark argc/

svn commit: r202603 - head/share/examples/kld/cdev/test

2010-01-18 Thread Wojciech A. Koszek
Author: wkoszek Date: Mon Jan 18 23:13:22 2010 New Revision: 202603 URL: http://svn.freebsd.org/changeset/base/202603 Log: Include unistd.h for read(), write() and stdlib.h for exit(). Bump WARNS to 5 while being here. Modified: head/share/examples/kld/cdev/test/Makefile head/share/exampl

svn commit: r202604 - head/libexec/ftpd

2010-01-18 Thread Ed Schouten
Author: ed Date: Mon Jan 18 23:28:25 2010 New Revision: 202604 URL: http://svn.freebsd.org/changeset/base/202604 Log: Really disable wtmp logging when chrooting. Also perform a small cleanup to ftpd_logwtmp(). Just use a NULL parameter for the username to indicate a logout, instead of an

svn commit: r202605 - vendor/tzdata/tzdata2010a

2010-01-18 Thread Edwin Groothuis
Author: edwin Date: Mon Jan 18 23:32:53 2010 New Revision: 202605 URL: http://svn.freebsd.org/changeset/base/202605 Log: Tag tzdata2010a Added: vendor/tzdata/tzdata2010a/ - copied from r202604, vendor/tzdata/dist/ ___ svn-src-all@freebsd.org ma

svn commit: r202606 - head/share/zoneinfo

2010-01-18 Thread Edwin Groothuis
Author: edwin Date: Mon Jan 18 23:34:23 2010 New Revision: 202606 URL: http://svn.freebsd.org/changeset/base/202606 Log: MFV of tzdata2010a: Administrative only: Fix AT fields for Asia/Dhaka Modified: head/share/zoneinfo/asia Directory Properties: head/share/zoneinfo/ (props changed)

svn commit: r202608 - in head/sys/dev/usb: . wlan

2010-01-18 Thread Weongyo Jeong
Author: weongyo Date: Tue Jan 19 01:11:27 2010 New Revision: 202608 URL: http://svn.freebsd.org/changeset/base/202608 Log: removes a hack to attach TRENDnet TEW-504UB/EU that I think this issue is solved with r202607. Now idProduct of all uath(4) devices should be decreased after loading th

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

2010-01-18 Thread Weongyo Jeong
Author: weongyo Date: Tue Jan 19 01:26:40 2010 New Revision: 202609 URL: http://svn.freebsd.org/changeset/base/202609 Log: Product ID of D-Link DWA-120 after loading the firmware is incorrect. Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs =

svn commit: r202610 - head/etc/devd

2010-01-18 Thread Weongyo Jeong
Author: weongyo Date: Tue Jan 19 01:33:56 2010 New Revision: 202610 URL: http://svn.freebsd.org/changeset/base/202610 Log: adds a hardware specific configuration file for uath(4). Pointed by: sam Reviewed by: imp, thompsa Added: head/etc/devd/uath.conf (contents, props changed) Mo

Re: svn commit: r202588 - in head/sys: net netgraph

2010-01-18 Thread Nikolay Denev
On 18 Jan, 2010, at 22:34 , Andrew Thompson wrote: > Author: thompsa > Date: Mon Jan 18 20:34:00 2010 > New Revision: 202588 > URL: http://svn.freebsd.org/changeset/base/202588 > > Log: > Declare a new EVENTHANDLER called iflladdr_event which signals that the L2 > address on an interface has ch

svn commit: r202611 - head/sys/net

2010-01-18 Thread Andrew Thompson
Author: thompsa Date: Tue Jan 19 04:29:42 2010 New Revision: 202611 URL: http://svn.freebsd.org/changeset/base/202611 Log: Do not hold the lock over if_setlladdr() as it calls into the interface driver init routine. Modified: head/sys/net/if_vlan.c Modified: head/sys/net/if_vlan.c

svn commit: r202612 - head/sys/net80211

2010-01-18 Thread Andrew Thompson
Author: thompsa Date: Tue Jan 19 05:00:57 2010 New Revision: 202612 URL: http://svn.freebsd.org/changeset/base/202612 Log: Use the iflladdr_event event to keep the mac address on the vap in sync with the parent wirless interface. If the user passed in a mac address or it was autogenerated th