svn commit: r200470 - head/usr.bin/calendar

2009-12-12 Thread Xin LI
Author: delphij Date: Sun Dec 13 04:50:11 2009 New Revision: 200470 URL: http://svn.freebsd.org/changeset/base/200470 Log: - Remove times.h from C programs that does not manipulate with time at all. - Remove pathnames.h from all but io.c since it's the only module that used these d

svn commit: r200469 - head/usr.bin/pr

2009-12-12 Thread Xin LI
Author: delphij Date: Sun Dec 13 04:34:51 2009 New Revision: 200469 URL: http://svn.freebsd.org/changeset/base/200469 Log: egetopt.c does not use any stdlib.h definations, nor it referenced any symbol from other module, so remove reference of stdlib.h and extern.h. Verified with:m

svn commit: r200468 - head/usr.bin/vis

2009-12-12 Thread Xin LI
Author: delphij Date: Sun Dec 13 04:14:55 2009 New Revision: 200468 URL: http://svn.freebsd.org/changeset/base/200468 Log: Use ANSI prototype for foldit(). Modified: head/usr.bin/vis/foldit.c Modified: head/usr.bin/vis/foldit.c

svn commit: r200467 - head/usr.sbin/ndp

2009-12-12 Thread Xin LI
Author: delphij Date: Sun Dec 13 04:08:04 2009 New Revision: 200467 URL: http://svn.freebsd.org/changeset/base/200467 Log: We use gmt2local code from tcpdump and gnuc.h is no longer being used there, so remove this dummy header. Deleted: head/usr.sbin/ndp/gnuc.h

svn commit: r200466 - head/usr.bin/xinstall

2009-12-12 Thread Xin LI
Author: delphij Date: Sun Dec 13 03:53:15 2009 New Revision: 200466 URL: http://svn.freebsd.org/changeset/base/200466 Log: xinstall.c does not require ctype functions, so ctype.h is not necessary here. Note: this would change the md5 checksum due to change caused by different register l

svn commit: r200465 - head/usr.bin/xinstall

2009-12-12 Thread Xin LI
Author: delphij Date: Sun Dec 13 03:34:19 2009 New Revision: 200465 URL: http://svn.freebsd.org/changeset/base/200465 Log: Staticify internal functions and make usage() a prototype. Modified: head/usr.bin/xinstall/xinstall.c Modified: head/usr.bin/xinstall/xinstall.c

svn commit: r200464 - head/lib/libexpat

2009-12-12 Thread Xin LI
Author: delphij Date: Sun Dec 13 03:29:05 2009 New Revision: 200464 URL: http://svn.freebsd.org/changeset/base/200464 Log: Explicitly say that this is an internal library which is intended to be used within FreeBSD base system only, and discourage user applications from using it. User appli

svn commit: r200463 - head/usr.bin/mktemp

2009-12-12 Thread Xin LI
Author: delphij Date: Sun Dec 13 03:18:37 2009 New Revision: 200463 URL: http://svn.freebsd.org/changeset/base/200463 Log: Use prototype for usage(). Modified: head/usr.bin/mktemp/mktemp.c Modified: head/usr.bin/mktemp/mktemp.c

svn commit: r200462 - in head/usr.bin: ar c89 calendar cksum cmp colcrt colrm compress cpuset expand fetch file2c find finger fmt fold gcore getopt hexdump jot killall ktrace lastcomm limits lock l...

2009-12-12 Thread Xin LI
Author: delphij Date: Sun Dec 13 03:14:06 2009 New Revision: 200462 URL: http://svn.freebsd.org/changeset/base/200462 Log: Revert most part of 200420 as requested, as more review and polish is needed. Modified: head/usr.bin/ar/util.c head/usr.bin/c89/c89.c head/usr.bin/calendar/calendar

Re: svn: stable/8/sbin/geom/class/mirror

2009-12-12 Thread Alexander Motin
Will Andrews wrote: > On Thu, Dec 10, 2009 at 05:47:37PM -0800, Maxim Sobolev wrote: >> Alexander Motin wrote: >>> Author: mav >>> Date: Thu Dec 10 23:51:24 2009 >>> New Revision: 200373 >>> URL: http://svn.freebsd.org/changeset/base/200373 >>> >>> Log: >>> MFC r200282, r200290: >>> Change gmir

Re: svn: stable/8/sbin/geom/class/mirror

2009-12-12 Thread Will Andrews
On Thu, Dec 10, 2009 at 05:47:37PM -0800, Maxim Sobolev wrote: > Alexander Motin wrote: > > Author: mav > > Date: Thu Dec 10 23:51:24 2009 > > New Revision: 200373 > > URL: http://svn.freebsd.org/changeset/base/200373 > > > > Log: > > MFC r200282, r200290: > > Change gmirror default balance al

svn commit: r200460 - head/sys/boot/common

2009-12-12 Thread Marcel Moolenaar
Author: marcel Date: Sun Dec 13 01:20:32 2009 New Revision: 200460 URL: http://svn.freebsd.org/changeset/base/200460 Log: Add support for memory disk (md). The size of the memory disk is determined by MD_IMAGE_SIZE. A file system can be embedded into the loader with /sys/tools/embed_mfs.sh.

svn commit: r200459 - in head/sys/dev/ata: . chipsets

2009-12-12 Thread Marius Strobl
Author: marius Date: Sun Dec 13 00:13:21 2009 New Revision: 200459 URL: http://svn.freebsd.org/changeset/base/200459 Log: Unbreak the ata_atapi() usage. Since r200171 the mode setting functions get a ata_device type device passed instead of a ata_channel one, thus ata_atapi() has to be adjus

svn commit: r200454 - in vendor/ntp/4.2.4p8: . ntptrace

2009-12-12 Thread Ollivier Robert
Author: roberto Date: Sat Dec 12 23:16:47 2009 New Revision: 200454 URL: http://svn.freebsd.org/changeset/base/200454 Log: Merge r200452 into tagged vendor code (remove empty ntptrace/) Deleted: vendor/ntp/4.2.4p8/ntptrace/ Modified: Directory Properties: vendor/ntp/4.2.4p8/ (props change

svn commit: r200453 - vendor/ntp/dist/ntptrace

2009-12-12 Thread Ollivier Robert
Author: roberto Date: Sat Dec 12 23:08:58 2009 New Revision: 200453 URL: http://svn.freebsd.org/changeset/base/200453 Log: ntptrace is being phased out completely. Deleted: vendor/ntp/dist/ntptrace/ ___ svn-src-all@freebsd.org mailing list http://li

svn commit: r200452 - vendor/ntp/4.2.4p8

2009-12-12 Thread Ollivier Robert
Author: roberto Date: Sat Dec 12 22:32:42 2009 New Revision: 200452 URL: http://svn.freebsd.org/changeset/base/200452 Log: 4.2.4p8 is the new version from vendor code. Security: CVE-2009-3563 Added: vendor/ntp/4.2.4p8/ - copied from r200451, vendor/ntp/dist/

svn commit: r200451 - in vendor/ntp/dist: . adjtimed arlib clockstuff conf html html/build/hints html/drivers html/hints include include/isc kernel kernel/sys libntp libopts libparse librsaref ntpd...

2009-12-12 Thread Ollivier Robert
Author: roberto Date: Sat Dec 12 22:29:30 2009 New Revision: 200451 URL: http://svn.freebsd.org/changeset/base/200451 Log: Update ntp vendor code to 4.2.4p8. This is mainly to fix CVE-2009-3563, a remote DOS. MFC after:3 days Security: CVE-2009-3563 Added: vendor/ntp/dist/

svn commit: r200450 - head/share/man/man9

2009-12-12 Thread Konstantin Belousov
Author: kib Date: Sat Dec 12 22:08:37 2009 New Revision: 200450 URL: http://svn.freebsd.org/changeset/base/200450 Log: Document PBDRY and SLEEPQ_STOP_ON_BDRY. Requested and reviewed by:attilio MFC after:3 days Modified: head/share/man/man9/sleep.9 head/share/man/man9/sleepque

svn commit: r200449 - head/usr.sbin/jls

2009-12-12 Thread Jamie Gritton
Author: jamie Date: Sat Dec 12 21:59:30 2009 New Revision: 200449 URL: http://svn.freebsd.org/changeset/base/200449 Log: Don't free jail parameter values after printing them - jail_param_get expects them to be there for the next jail in the list. PR: bin/141359 MFC after:1

svn commit: r200448 - head/etc/rc.d

2009-12-12 Thread Doug Barton
Author: dougb Date: Sat Dec 12 21:51:50 2009 New Revision: 200448 URL: http://svn.freebsd.org/changeset/base/200448 Log: Since the change to rc.subr in r198162 it's not necessary to specify command in the rc.d script if we have a corresponding ${name}_program entry, which we do for named.

svn commit: r200447 - in head: share/man/man9 sys/kern sys/sys

2009-12-12 Thread Attilio Rao
Author: attilio Date: Sat Dec 12 21:31:07 2009 New Revision: 200447 URL: http://svn.freebsd.org/changeset/base/200447 Log: In current code, threads performing an interruptible sleep (on both sxlock, via the sx_{s, x}lock_sig() interface, or plain lockmgr), will leave the waiters flag on forc

svn commit: r200446 - stable/8/usr.sbin/bsnmpd/modules/snmp_pf

2009-12-12 Thread Shteryana Shopova
Author: syrinx Date: Sat Dec 12 20:26:11 2009 New Revision: 200446 URL: http://svn.freebsd.org/changeset/base/200446 Log: MFC r200122 Make sure enough memory is allocated for a struct pft_entry when refreshing the list of pf tables. Modified: stable/8/usr.sbin/bsnmpd/modules/snmp_pf/pf

svn commit: r200445 - stable/8/sys/sparc64/sparc64

2009-12-12 Thread Marius Strobl
Author: marius Date: Sat Dec 12 20:24:12 2009 New Revision: 200445 URL: http://svn.freebsd.org/changeset/base/200445 Log: MFC: r200215 Add missed in r199135 (MFC'ed in r200443). Modified: stable/8/sys/sparc64/sparc64/trap.c Directory Properties: stable/8/sys/ (props changed) stabl

svn commit: r200444 - in head/sys/amd64: amd64 ia32

2009-12-12 Thread Konstantin Belousov
Author: kib Date: Sat Dec 12 20:11:31 2009 New Revision: 200444 URL: http://svn.freebsd.org/changeset/base/200444 Log: For ia32 syscall(), call cpu_set_syscall_retval(). Update comment inside cpu_set_syscall_retval() accordingly. MFC after:1 week Modified: head/sys/amd64/amd64/vm_m

svn commit: r200443 - in stable/8/sys: amd64/amd64 arm/arm i386/i386 ia64/ia64 mips/include mips/mips powerpc/aim powerpc/booke sparc64/include sparc64/sparc64 sun4v/sun4v sys

2009-12-12 Thread Konstantin Belousov
Author: kib Date: Sat Dec 12 20:06:25 2009 New Revision: 200443 URL: http://svn.freebsd.org/changeset/base/200443 Log: MFC r199135: Extract the code that records syscall results in the frame into MD function cpu_set_syscall_retval(). Modified: stable/8/sys/amd64/amd64/trap.c stable/8/sy

Re: svn commit: r200369 - in head: etc share/termcap

2009-12-12 Thread Simon L. Nielsen
[CC cleaned up] On 2009.12.12 11:35:44 -0800, Doug Barton wrote: > Ronald Klop wrote: > > Maybe this? > > http://lists.freebsd.org/pipermail/svn-src-head/2009-July/009102.html > > YES! I knew it was something simple and clever like that but I > couldn't find it. Thanks Ronald (and des for posting

Re: svn commit: r200420 - in head/usr.bin: ar c89 calendar cksum cmp colcrt colrm compress cpuset expand fetch file2c find finger fmt fold gcore getopt hexdump jot killall ktrace lastcomm limits lock

2009-12-12 Thread Doug Barton
Xin LI wrote: > Author: delphij > Date: Fri Dec 11 23:35:38 2009 > New Revision: 200420 > URL: http://svn.freebsd.org/changeset/base/200420 > > Log: > Remove unneeded header includes from usr.bin/ except contributed code. > > Tested with:make universe I don't want to "pile on" here

Re: svn commit: r200369 - in head: etc share/termcap

2009-12-12 Thread Doug Barton
Ronald Klop wrote: > Maybe this? > http://lists.freebsd.org/pipermail/svn-src-head/2009-July/009102.html YES! I knew it was something simple and clever like that but I couldn't find it. Thanks Ronald (and des for posting the original). To be clear, I am NOT asking for a backout ... IIRC in the th

svn commit: r200442 - in head: tools/regression/usr.bin tools/regression/usr.bin/comm usr.bin/comm

2009-12-12 Thread Jaakko Heinonen
Author: jh Date: Sat Dec 12 18:18:46 2009 New Revision: 200442 URL: http://svn.freebsd.org/changeset/base/200442 Log: Don't read the newline character to line buffer because lines are passed to wcscoll(3). Newline characters could cause incorrect results when comparing lines. Also, if a

Re: svn commit: r200369 - in head: etc share/termcap

2009-12-12 Thread M. Warner Losh
In message: <19235.10488.325168.267...@hergotha.csail.mit.edu> Garrett Wollman writes: : < said: : : > It's great, thank!! : > I believe that our xterm entry was modified not to clear screen when : > applications such as less(1) are terminated. Are there any chance to : > back to the

svn commit: r200441 - head/usr.bin/comm

2009-12-12 Thread Jaakko Heinonen
Author: jh Date: Sat Dec 12 18:04:50 2009 New Revision: 200441 URL: http://svn.freebsd.org/changeset/base/200441 Log: The input line length limit mentioned on the manual page was removed by r179374. Approved by: trasz (mentor) Modified: head/usr.bin/comm/comm.1 Modified: head/usr.bin

Re: svn commit: r200420 - in head/usr.bin: ar c89 calendar cksum cmp colcrt colrm compress cpuset expand fetch file2c find finger fmt fold gcore getopt hexdump jot killall ktrace lastcomm limits lock

2009-12-12 Thread Bruce Evans
On Fri, 11 Dec 2009, Xin LI wrote: Log: Remove unneeded header includes from usr.bin/ except contributed code. Surely many of these are used? Tested with: make universe Removing includes cannot be tested in this way, since it doesn't provide clean includes, and FreeBSD includes are ext

svn commit: r200440 - in head: etc/mtree share/examples

2009-12-12 Thread Antoine Brodin
Author: antoine Date: Sat Dec 12 17:04:36 2009 New Revision: 200440 URL: http://svn.freebsd.org/changeset/base/200440 Log: Install firmware(9) examples. MFC after:1 month Modified: head/etc/mtree/BSD.usr.dist head/share/examples/Makefile Modified: head/etc/mtree/BSD.usr.dist =

svn commit: r200439 - head/sys/net

2009-12-12 Thread Luigi Rizzo
Author: luigi Date: Sat Dec 12 15:49:28 2009 New Revision: 200439 URL: http://svn.freebsd.org/changeset/base/200439 Log: Make the code buildable in userland so it is easier to test it: this requires a small reordering of headers and a few #defines to map functions not available in userland.

svn commit: r200438 - stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2009-12-12 Thread Konstantin Belousov
Author: kib Date: Sat Dec 12 14:44:04 2009 New Revision: 200438 URL: http://svn.freebsd.org/changeset/base/200438 Log: MFC r200162: Change VOP_FSYNC for zfs vnode from VOP_PANIC to zfs_freebsd_fsync(). Modified: stable/8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c Directory P

svn commit: r200435 - stable/8/sys/boot/uboot/lib

2009-12-12 Thread Antoine Brodin
Author: antoine Date: Sat Dec 12 12:36:41 2009 New Revision: 200435 URL: http://svn.freebsd.org/changeset/base/200435 Log: MFC r199193 to stable/8: - Remove trailing ";" after if statement - Remove #if 0 section that was never needed/used Reviewed by:raj@ Modified: stable/

Re: svn commit: r200369 - in head: etc share/termcap

2009-12-12 Thread Ronald Klop
On Sat, 12 Dec 2009 10:36:03 +0100, Doug Barton wrote: Christoph Mallon wrote: Doug Barton wrote: Garrett Wollman wrote: < said: It's great, thank!! I believe that our xterm entry was modified not to clear screen when applications such as less(1) are terminated. Are there any chance to b

svn commit: r200434 - stable/8/sys/net80211

2009-12-12 Thread Antoine Brodin
Author: antoine Date: Sat Dec 12 12:34:20 2009 New Revision: 200434 URL: http://svn.freebsd.org/changeset/base/200434 Log: MFC r199187 to stable/8: Remove trailing ";" in struct ieee80211_beacon_offsets declaration Found by: phk's FlexeLint in September Reviewed by:rpaulo@

svn commit: r200433 - stable/8/sys/net80211

2009-12-12 Thread Antoine Brodin
Author: antoine Date: Sat Dec 12 12:31:11 2009 New Revision: 200433 URL: http://svn.freebsd.org/changeset/base/200433 Log: MFC r199186 to stable/8: Fix off by one in ieee80211_send_action_register Found by: phk's FlexeLint in September Reviewed by:rpaulo@ Modified: stabl

Re: svn commit: r200432 - in stable/8: . contrib/top lib/libusb sbin/atacontrol sys/arm/mv sys/cam/ata sys/cam/scsi sys/conf sys/dev/ata sys/dev/ata/chipsets sys/powerpc/powermac sys/powerpc/psim tool

2009-12-12 Thread Alexander Motin
Bruce Simpson wrote: > Alexander Motin wrote: >> Log: >> MFC r200171, r200182, r200275, r200295, r200359: >> Introduce ATA_CAM kernel option, turning ata(4) controller drivers into >> cam(4) interface modules. When enabled, this option deprecates all >> ata(4) >> peripheral drivers (ad, acd

Re: svn commit: r200432 - in stable/8: . contrib/top lib/libusb sbin/atacontrol sys/arm/mv sys/cam/ata sys/cam/scsi sys/conf sys/dev/ata sys/dev/ata/chipsets sys/powerpc/powermac sys/powerpc/psim tool

2009-12-12 Thread Bruce Simpson
Alexander Motin wrote: Log: MFC r200171, r200182, r200275, r200295, r200359: Introduce ATA_CAM kernel option, turning ata(4) controller drivers into cam(4) interface modules. When enabled, this option deprecates all ata(4) peripheral drivers (ad, acd, ...) and interfaces and allows cam(4)

Re: svn commit: r200369 - in head: etc share/termcap

2009-12-12 Thread Andrius
On Sat, 12 Dec 2009 07:24:08 +0200, Garrett Wollman wrote: < said: It's great, thank!! I believe that our xterm entry was modified not to clear screen when applications such as less(1) are terminated. Are there any chance to back to the behavior? I don't understand why people put up wi

svn commit: r200432 - in stable/8: . contrib/top lib/libusb sbin/atacontrol sys/arm/mv sys/cam/ata sys/cam/scsi sys/conf sys/dev/ata sys/dev/ata/chipsets sys/powerpc/powermac sys/powerpc/psim tools...

2009-12-12 Thread Alexander Motin
Author: mav Date: Sat Dec 12 10:37:31 2009 New Revision: 200432 URL: http://svn.freebsd.org/changeset/base/200432 Log: MFC r200171, r200182, r200275, r200295, r200359: Introduce ATA_CAM kernel option, turning ata(4) controller drivers into cam(4) interface modules. When enabled, this option

Re: svn commit: r200369 - in head: etc share/termcap

2009-12-12 Thread Christoph Mallon
Doug Barton wrote: Christoph Mallon wrote: Doug Barton wrote: Garrett Wollman wrote: < said: It's great, thank!! I believe that our xterm entry was modified not to clear screen when applications such as less(1) are terminated. Are there any chance to back to the behavior? I don't underst

Re: svn commit: r200369 - in head: etc share/termcap

2009-12-12 Thread Ed Schouten
* Andriy Gapon wrote: > Seriously, I think that this change is a mild POLA violation, which > neither was discussed nor welcome as it seems. Perhaps, not even > planned. So I believe that termcap should be changed back to > traditional behavior for FreeBSD. At least for now. Sure. It wasn't pl

Re: svn commit: r200369 - in head: etc share/termcap

2009-12-12 Thread Andriy Gapon
on 12/12/2009 11:36 Doug Barton said the following: > Christoph Mallon wrote: >> Doug Barton wrote: >>> Garrett Wollman wrote: <>>> said: > It's great, thank!! > I believe that our xterm entry was modified not to clear screen when > applications such as less(1) are terminated

Re: svn commit: r200369 - in head: etc share/termcap

2009-12-12 Thread Doug Barton
Christoph Mallon wrote: > Doug Barton wrote: >> Garrett Wollman wrote: >>> <>> said: >>> It's great, thank!! I believe that our xterm entry was modified not to clear screen when applications such as less(1) are terminated. Are there any chance to back to the behavior? >>> >>>

Re: svn commit: r200369 - in head: etc share/termcap

2009-12-12 Thread Christoph Mallon
Doug Barton wrote: Garrett Wollman wrote: < said: It's great, thank!! I believe that our xterm entry was modified not to clear screen when applications such as less(1) are terminated. Are there any chance to back to the behavior? I don't understand why people put up with the unspeakably ob