svn commit: r239562 - head/usr.sbin/makefs

2012-08-22 Thread Hiroki Sato
Author: hrs Date: Wed Aug 22 06:37:30 2012 New Revision: 239562 URL: http://svn.freebsd.org/changeset/base/239562 Log: Add -p flag to create the image as a sparse file. Submitted by: Shesha Sreenivasamurthy PR: bin/167779 Modified: head/usr.sbin/makefs/ffs.c

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-22 Thread Gleb Smirnoff
On Tue, Aug 21, 2012 at 12:50:14PM -0600, Kenneth D. Merry wrote: K On Thu, Aug 02, 2012 at 13:57:50 +, Gleb Smirnoff wrote: K Author: glebius K Date: Thu Aug 2 13:57:49 2012 K New Revision: 238990 K URL: http://svn.freebsd.org/changeset/base/238990 K K Log: KFix races between

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-22 Thread Konstantin Belousov
On Wed, Aug 22, 2012 at 02:17:05PM +0400, Gleb Smirnoff wrote: On Tue, Aug 21, 2012 at 12:50:14PM -0600, Kenneth D. Merry wrote: K On Thu, Aug 02, 2012 at 13:57:50 +, Gleb Smirnoff wrote: K Author: glebius K Date: Thu Aug 2 13:57:49 2012 K New Revision: 238990 K URL:

svn commit: r239564 - head/sbin/dhclient

2012-08-22 Thread John Baldwin
Author: jhb Date: Wed Aug 22 13:53:37 2012 New Revision: 239564 URL: http://svn.freebsd.org/changeset/base/239564 Log: Revert r239356 and use an alternate algorithm. First, don't exit when the link goes down on an interface. Instead, teach dhclient to track changes in link state and to

Re: svn commit: r239356 - head/sbin/dhclient

2012-08-22 Thread Hajimu UMEMOTO
Hi, On Wed, 22 Aug 2012 04:06:46 +0400 Andrey Chernov a...@freebsd.org said: ache BTW, I notice that link-local router address behavior is ache strange and inconsistant for both 'host -6' and 'dig -6' commands. ache host -6 example.com fe80::rest of router address ache dig -6 @fe80::rest of

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-22 Thread Kenneth D. Merry
On Wed, Aug 22, 2012 at 14:17:05 +0400, Gleb Smirnoff wrote: On Tue, Aug 21, 2012 at 12:50:14PM -0600, Kenneth D. Merry wrote: K On Thu, Aug 02, 2012 at 13:57:50 +, Gleb Smirnoff wrote: K Author: glebius K Date: Thu Aug 2 13:57:49 2012 K New Revision: 238990 K URL:

Re: jemalloc and clang (was: Re: svn commit: r239462 - in head)

2012-08-22 Thread Jason Evans
On Aug 21, 2012, at 1:39 AM, Dimitry Andric d...@freebsd.org wrote: On 2012-08-21 02:17, Jan Beich wrote: ... Time to revert r228540? Index: contrib/jemalloc/include/jemalloc/jemalloc_FreeBSD.h === ---

svn commit: r239567 - in head/sys/dev/usb: . serial

2012-08-22 Thread Hans Petter Selasky
Author: hselasky Date: Wed Aug 22 18:30:13 2012 New Revision: 239567 URL: http://svn.freebsd.org/changeset/base/239567 Log: Add new USB device ID. Submitted by: Dmitry Luhtionov MFC after:1 week Modified: head/sys/dev/usb/serial/uftdi.c head/sys/dev/usb/usbdevs Modified:

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

2012-08-22 Thread David E. O'Brien
Author: obrien Date: Wed Aug 22 18:35:17 2012 New Revision: 239568 URL: http://svn.freebsd.org/changeset/base/239568 Log: Add dependencies based on security(7). Modified: head/etc/rc.d/securelevel Modified: head/etc/rc.d/securelevel

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

2012-08-22 Thread David E. O'Brien
Author: obrien Date: Wed Aug 22 18:43:21 2012 New Revision: 239569 URL: http://svn.freebsd.org/changeset/base/239569 Log: Remove old entropy seeding after consumption initializing /dev/random PRNG. Not doing so opens us up to replay attacks. Submitted by: Arthur Mesh arthurm...@gmail.com

Re: svn commit: r239569 - head/etc/rc.d

2012-08-22 Thread Steve Kargl
On Wed, Aug 22, 2012 at 06:43:21PM +, David E. O'Brien wrote: + +# This will remove old ${entropy_file} and generate a new one. +# According to Bruce Schneier, this is stronly recomended in order s/stronly/strongly -- Steve ___

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

2012-08-22 Thread David E. O'Brien
Author: obrien Date: Wed Aug 22 18:49:02 2012 New Revision: 239570 URL: http://svn.freebsd.org/changeset/base/239570 Log: Depend on the new 'postrandom' instead of random. We need to limit the amount of time between consuming the entropy seeds and removing it in case of a kernel panic.

svn commit: r239571 - head/usr.sbin/pmcstat

2012-08-22 Thread Jim Harris
Author: jimharris Date: Wed Aug 22 19:02:07 2012 New Revision: 239571 URL: http://svn.freebsd.org/changeset/base/239571 Log: Add -m option (for printing sampled PCs to a file) to pmcstat usage message. Sponsored by: Intel MFC after: 3 days Modified: head/usr.sbin/pmcstat/pmcstat.c

Re: svn commit: r239562 - head/usr.sbin/makefs

2012-08-22 Thread Andrey Zonov
On 8/22/12 10:37 AM, Hiroki Sato wrote: Author: hrs Date: Wed Aug 22 06:37:30 2012 New Revision: 239562 URL: http://svn.freebsd.org/changeset/base/239562 Log: Add -p flag to create the image as a sparse file. Submitted by: Shesha Sreenivasamurthy PR: bin/167779

svn commit: r239574 - head/usr.sbin/makefs

2012-08-22 Thread Hiroki Sato
Author: hrs Date: Wed Aug 22 19:27:42 2012 New Revision: 239574 URL: http://svn.freebsd.org/changeset/base/239574 Log: Sort options. Modified: head/usr.sbin/makefs/makefs.8 head/usr.sbin/makefs/makefs.c Modified: head/usr.sbin/makefs/makefs.8

Re: svn commit: r239571 - head/usr.sbin/pmcstat

2012-08-22 Thread Attilio Rao
On Wed, Aug 22, 2012 at 8:02 PM, Jim Harris jimhar...@freebsd.org wrote: Author: jimharris Date: Wed Aug 22 19:02:07 2012 New Revision: 239571 URL: http://svn.freebsd.org/changeset/base/239571 Log: Add -m option (for printing sampled PCs to a file) to pmcstat usage message. Pointy hat

svn commit: r239584 - head/sys/kern

2012-08-22 Thread John Baldwin
Author: jhb Date: Wed Aug 22 20:00:41 2012 New Revision: 239584 URL: http://svn.freebsd.org/changeset/base/239584 Log: Fix the 'show witness' DDB command to honor db_pager_quit. Modified: head/sys/kern/subr_witness.c Modified: head/sys/kern/subr_witness.c

svn commit: r239585 - head/sys/kern

2012-08-22 Thread John Baldwin
Author: jhb Date: Wed Aug 22 20:01:38 2012 New Revision: 239585 URL: http://svn.freebsd.org/changeset/base/239585 Log: Mark the idle threads as non-sleepable and also assert that an idle thread never blocks on a turnstile. Modified: head/sys/kern/sched_4bsd.c head/sys/kern/sched_ule.c

svn commit: r239586 - head/sys/kern

2012-08-22 Thread John Baldwin
Author: jhb Date: Wed Aug 22 20:01:57 2012 New Revision: 239586 URL: http://svn.freebsd.org/changeset/base/239586 Log: Fix a typo. Modified: head/sys/kern/kern_module.c Modified: head/sys/kern/kern_module.c == ---

svn commit: r239587 - head/sys/kern

2012-08-22 Thread John Baldwin
Author: jhb Date: Wed Aug 22 20:02:42 2012 New Revision: 239587 URL: http://svn.freebsd.org/changeset/base/239587 Log: Assert that system calls do not leak a pinned thread (via sched_pin()) to userland. Modified: head/sys/kern/subr_syscall.c Modified: head/sys/kern/subr_syscall.c

svn commit: r239588 - head/sys/kern

2012-08-22 Thread Konstantin Belousov
Author: kib Date: Wed Aug 22 20:05:34 2012 New Revision: 239588 URL: http://svn.freebsd.org/changeset/base/239588 Log: Provide some compat32 shims for sysctl vfs.conflist. It is required for getvfsbyname(3) operation when called from 32bit process, and getvfsbyname(3) is used by recent

Re: svn commit: r239564 - head/sbin/dhclient

2012-08-22 Thread John Baldwin
On Wednesday, August 22, 2012 11:24:05 am Jan Beich wrote: (mx1.freebsd.org hates my smtp relay) John Baldwin j...@freebsd.org writes: Author: jhb Date: Wed Aug 22 13:53:37 2012 New Revision: 239564 URL: http://svn.freebsd.org/changeset/base/239564 Log: Revert r239356 and use

svn commit: r239591 - head/sys/sys

2012-08-22 Thread Jim Harris
Author: jimharris Date: Wed Aug 22 20:22:55 2012 New Revision: 239591 URL: http://svn.freebsd.org/changeset/base/239591 Log: Remove unncessary atomic operation when reading process flags in PMC_PROC_IS_USING_PMCS macro. Invocations of this macro are not synchronized with setting/clearing

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

2012-08-22 Thread David E. O'Brien
Author: obrien Date: Wed Aug 22 20:56:53 2012 New Revision: 239593 URL: http://svn.freebsd.org/changeset/base/239593 Log: Fix comment misspelling. Submitted by: kargl Modified: head/etc/rc.d/postrandom Modified: head/etc/rc.d/postrandom

Re: svn commit: r239593 - head/etc/rc.d

2012-08-22 Thread Chris Rees
On 22 Aug 2012 21:57, David E. O'Brien obr...@freebsd.org wrote: Author: obrien Date: Wed Aug 22 20:56:53 2012 New Revision: 239593 URL: http://svn.freebsd.org/changeset/base/239593 Log: Fix comment misspelling. Submitted by: kargl Modified: head/etc/rc.d/postrandom Modified:

Re: svn commit: r239593 - head/etc/rc.d

2012-08-22 Thread Garrett Cooper
On Wed, Aug 22, 2012 at 2:20 PM, Chris Rees utis...@gmail.com wrote: On 22 Aug 2012 21:57, David E. O'Brien obr...@freebsd.org wrote: Author: obrien Date: Wed Aug 22 20:56:53 2012 New Revision: 239593 URL: http://svn.freebsd.org/changeset/base/239593 Log: Fix comment misspelling.

Re: svn commit: r239568 - head/etc/rc.d

2012-08-22 Thread Doug Barton
Were these changes discussed somewhere and I missed it? I'm not opposed per se, but the security aspects should be discussed on freebsd-security@, and it's preferable that significant changes to rcorder be looked at on freebsd-rc@ as well. Can you hold off on MFC'ing any of this until it's been

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

2012-08-22 Thread Xin LI
Author: delphij Date: Wed Aug 22 22:17:35 2012 New Revision: 239595 URL: http://svn.freebsd.org/changeset/base/239595 Log: Allow - be used in the name of a provider. Without this change it's not possible to specify a gptid in geli_devices. Modified: head/etc/rc.d/geli

Re: svn commit: r239568 - head/etc/rc.d

2012-08-22 Thread David O'Brien
On Wed, Aug 22, 2012 at 02:37:37PM -0700, Doug Barton wrote: Were these changes discussed somewhere and I missed it? They were not discussed. I did not see the need. This is simple functionality. If securelevel is raised 0, one cannot start up a firewall nor make major changes to time. Thus

Re: svn commit: r238563 - head/gnu/usr.bin/groff/tmac

2012-08-22 Thread Jilles Tjoelker
On Tue, Aug 21, 2012 at 04:25:53PM -0700, Simon J. Gerraty wrote: On Wed, 22 Aug 2012 00:29:44 +0200, Jilles Tjoelker writes: On FreeBSD, the first two statements are partially false. All sh(1) builtins that correspond to utilities specified by POSIX (but not special builtins) have versions

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

2012-08-22 Thread David E. O'Brien
Author: obrien Date: Wed Aug 22 22:34:55 2012 New Revision: 239596 URL: http://svn.freebsd.org/changeset/base/239596 Log: The entire comment block is now spell checked this time -- I promise. Modified: head/etc/rc.d/postrandom Modified: head/etc/rc.d/postrandom

svn commit: r239597 - head/sys/arm/arm

2012-08-22 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Aug 22 22:48:50 2012 New Revision: 239597 URL: http://svn.freebsd.org/changeset/base/239597 Log: Do not change cachable attribute for DMA memory allocated with BUS_DMA_COHERENT attribute The minimum unit for changing cachable attribute is page, so call to

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

2012-08-22 Thread David E. O'Brien
Author: obrien Date: Wed Aug 22 23:37:24 2012 New Revision: 239598 URL: http://svn.freebsd.org/changeset/base/239598 Log: * Reinstate r128059's consumption of our best entropy first. r128060 for hardware-supplied entropy reversed this without reason, seems a typo. * Isolate better

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

2012-08-22 Thread David E. O'Brien
Author: obrien Date: Wed Aug 22 23:44:12 2012 New Revision: 239599 URL: http://svn.freebsd.org/changeset/base/239599 Log: Correct style. Modified: head/etc/rc.d/initrandom Modified: head/etc/rc.d/initrandom == ---

Re: svn commit: r238563 - head/gnu/usr.bin/groff/tmac

2012-08-22 Thread Simon J. Gerraty
On Thu, 23 Aug 2012 00:30:02 +0200, Jilles Tjoelker writes: I think the most important reason is to reduce special cases. The POSIX developers did not want to create a second subset of utilities that are not available via execve() (the first subset is the special builtins). The burden on

svn commit: r239602 - head/usr.sbin/jail

2012-08-22 Thread Jamie Gritton
Author: jamie Date: Thu Aug 23 01:43:22 2012 New Revision: 239602 URL: http://svn.freebsd.org/changeset/base/239602 Log: Pre-separate IP addresses passed on the command line, so they can be properly parsed for interface prefixes and netmask suffixes. This was already done for the old-style

svn commit: r239601 - head/usr.sbin/jail

2012-08-22 Thread Jamie Gritton
Author: jamie Date: Thu Aug 23 01:43:01 2012 New Revision: 239601 URL: http://svn.freebsd.org/changeset/base/239601 Log: Remember that I'm using length-defined strings in parameters: Remove a bogus null terminator when stripping the netmask from IP addresses. This was causing later

svn commit: r239603 - head/sys/dev/ath/ath_hal

2012-08-22 Thread Adrian Chadd
Author: adrian Date: Thu Aug 23 02:58:06 2012 New Revision: 239603 URL: http://svn.freebsd.org/changeset/base/239603 Log: Add chipset names. Modified: head/sys/dev/ath/ath_hal/ah.c Modified: head/sys/dev/ath/ath_hal/ah.c

svn commit: r239604 - in head/sys/dev/ath/ath_hal: . ar9003

2012-08-22 Thread Adrian Chadd
Author: adrian Date: Thu Aug 23 03:03:00 2012 New Revision: 239604 URL: http://svn.freebsd.org/changeset/base/239604 Log: Add AR9380 devid HAL definitions and probe/attach strings. Obtained from:Device IDs are from Qualcomm Atheros Added:

svn commit: r239605 - head/sys/dev/ath/ath_hal

2012-08-22 Thread Adrian Chadd
Author: adrian Date: Thu Aug 23 03:25:09 2012 New Revision: 239605 URL: http://svn.freebsd.org/changeset/base/239605 Log: Add some more interrupt handling bits. Obtained from:Qualcomm Atheros Modified: head/sys/dev/ath/ath_hal/ah.h Modified: head/sys/dev/ath/ath_hal/ah.h

svn commit: r239606 - head/sys/dev/ath/ath_hal

2012-08-22 Thread Adrian Chadd
Author: adrian Date: Thu Aug 23 03:37:01 2012 New Revision: 239606 URL: http://svn.freebsd.org/changeset/base/239606 Log: Add a placeholder and typedefs for MFP (management frame protection.) Obtained from:Qualcomm Atheros Modified: head/sys/dev/ath/ath_hal/ah.h Modified:

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-22 Thread Kenneth D. Merry
On Fri, Aug 03, 2012 at 01:33:44 +0400, Gleb Smirnoff wrote: On Thu, Aug 02, 2012 at 04:46:42PM +, Bjoern A. Zeeb wrote: B On Thu, 2 Aug 2012, Gleb Smirnoff wrote: B B Author: glebius B Date: Thu Aug 2 13:57:49 2012 B New Revision: 238990 B URL:

svn commit: r239607 - head/sys/dev/mmc

2012-08-22 Thread Warner Losh
Author: imp Date: Thu Aug 23 04:35:55 2012 New Revision: 239607 URL: http://svn.freebsd.org/changeset/base/239607 Log: The check for MAXPHYS doesn't make sense, so remove it. Report errors indicated by the transport. If this is too chatty, I'll throw it behind a debug write. Remove

svn commit: r239609 - head/lib/libthr/thread

2012-08-22 Thread David Xu
Author: davidxu Date: Thu Aug 23 05:15:15 2012 New Revision: 239609 URL: http://svn.freebsd.org/changeset/base/239609 Log: Eliminate redundant code, _thr_spinlock_init() has already been called in init_private(), don't call it again in fork() wrapper. Modified: