svn commit: r237255 - head/usr.sbin/ctladm

2012-06-19 Thread Eitan Adler
Author: eadler Date: Tue Jun 19 06:10:24 2012 New Revision: 237255 URL: http://svn.freebsd.org/changeset/base/237255 Log: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva MFC After:3 days Modified:

svn commit: r237256 - head/usr.sbin/ifmcstat

2012-06-19 Thread Eitan Adler
Author: eadler Date: Tue Jun 19 06:10:27 2012 New Revision: 237256 URL: http://svn.freebsd.org/changeset/base/237256 Log: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva MFC After:3 days Modified:

svn commit: r237257 - head/usr.sbin/kbdmap

2012-06-19 Thread Eitan Adler
Author: eadler Date: Tue Jun 19 06:10:31 2012 New Revision: 237257 URL: http://svn.freebsd.org/changeset/base/237257 Log: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva MFC After:3 days Modified:

svn commit: r237258 - head/usr.sbin/kldxref

2012-06-19 Thread Eitan Adler
Author: eadler Date: Tue Jun 19 06:10:34 2012 New Revision: 237258 URL: http://svn.freebsd.org/changeset/base/237258 Log: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva MFC After:3 days Modified:

svn commit: r237254 - head/usr.sbin/crunch/crunchide

2012-06-19 Thread Eitan Adler
Author: eadler Date: Tue Jun 19 06:09:58 2012 New Revision: 237254 URL: http://svn.freebsd.org/changeset/base/237254 Log: Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva MFC After:3 days Modified:

svn commit: r237259 - head/usr.sbin/mfiutil

2012-06-19 Thread Eitan Adler
Author: eadler Date: Tue Jun 19 06:18:37 2012 New Revision: 237259 URL: http://svn.freebsd.org/changeset/base/237259 Log: Allow users with RO privilege to the device to read the RO attributes. PR: bin/167302 Submitted by: markham breitbach mark...@ssimicro.com Discussed with:

svn commit: r237263 - in head: sbin/ifconfig sys/amd64/conf sys/conf sys/contrib/rdma sys/contrib/rdma/krping sys/dev/cxgb sys/dev/cxgb/common sys/dev/cxgb/sys sys/dev/cxgb/ulp/iw_cxgb sys/dev/cxgb...

2012-06-19 Thread Navdeep Parhar
Author: np Date: Tue Jun 19 07:34:13 2012 New Revision: 237263 URL: http://svn.freebsd.org/changeset/base/237263 Log: - Updated TOE support in the kernel. - Stateful TCP offload drivers for Terminator 3 and 4 (T3 and T4) ASICs. These are available as t3_tom and t4_tom modules that

Re: svn commit: r237244 - head/sys/fs/nfsclient

2012-06-19 Thread Konstantin Belousov
On Tue, Jun 19, 2012 at 03:06:09AM +, Benjamin Kaduk wrote: On Mon, 18 Jun 2012, Rick Macklem wrote: Author: rmacklem Date: Mon Jun 18 22:17:28 2012 New Revision: 237244 URL: http://svn.freebsd.org/changeset/base/237244 Log: Fix the NFSv4 client for the case where mmap'd files are

svn commit: r237264 - head/sys/amd64/amd64

2012-06-19 Thread Alan Cox
Author: alc Date: Tue Jun 19 08:12:44 2012 New Revision: 237264 URL: http://svn.freebsd.org/changeset/base/237264 Log: Condition the implementation of pv_entry_count on PV_STATS. On amd64, pv_entry_count is purely informational. It does not serve any functional purpose. Add PV chunk

Re: svn commit: r237223 - head/sys/dev/fb

2012-06-19 Thread Andriy Gapon
on 19/06/2012 08:27 Poul-Henning Kamp said the following: In message 68fbe843-7337-4c90-b01f-e0caabb62...@gsoft.com.au, Daniel O'Conno r writes: If size is odd, this does not copy the last byte. Not sure, whether = this is intended. Feel free to improve... Interesting reaction to a bug

svn commit: r237268 - head/lib/libutil

2012-06-19 Thread Baptiste Daroussin
Author: bapt Date: Tue Jun 19 11:39:56 2012 New Revision: 237268 URL: http://svn.freebsd.org/changeset/base/237268 Log: Revert user comparison back to user names as some user can share uids (root/toor for example) get the username information from old_pw structures to still allow

svn commit: r237270 - head/etc

2012-06-19 Thread Dag-Erling Smorgrav
Author: des Date: Tue Jun 19 14:47:07 2012 New Revision: 237270 URL: http://svn.freebsd.org/changeset/base/237270 Log: Passive mode is the default, and has been for a while. MFC after:1 week Modified: head/etc/login.conf Modified: head/etc/login.conf

svn commit: r237271 - head/sys/dev/pci

2012-06-19 Thread John Baldwin
Author: jhb Date: Tue Jun 19 15:15:35 2012 New Revision: 237271 URL: http://svn.freebsd.org/changeset/base/237271 Log: Fix another off-by-one error in the previous fix so that the new start address is properly aligned. While here, use a simpler expression to align the new end address that

svn commit: r237272 - head/sys/dev/pci

2012-06-19 Thread John Baldwin
Author: jhb Date: Tue Jun 19 16:06:27 2012 New Revision: 237272 URL: http://svn.freebsd.org/changeset/base/237272 Log: Add a 'wmask' variable to hold the expression '(1ul w-step) - 1' in pcib_grow_window(). This makes the code slightly easier to read and prevents the type of bug fixed in

Re: svn commit: r237269 - in head: etc lib/libutil

2012-06-19 Thread Alexey Dokuchaev
On Tue, Jun 19, 2012 at 02:46:19PM +, Dag-Erling Smorgrav wrote: Author: des Date: Tue Jun 19 14:46:18 2012 New Revision: 237269 URL: http://svn.freebsd.org/changeset/base/237269 Log: Switch the default password hash from md5 to sha512. Pardon my possible unawareness, but was this

Re: svn commit: r237269 - in head: etc lib/libutil

2012-06-19 Thread Chris Rees
On Jun 19, 2012 5:15 PM, Alexey Dokuchaev da...@freebsd.org wrote: On Tue, Jun 19, 2012 at 02:46:19PM +, Dag-Erling Smorgrav wrote: Author: des Date: Tue Jun 19 14:46:18 2012 New Revision: 237269 URL: http://svn.freebsd.org/changeset/base/237269 Log: Switch the default

svn commit: r237273 - head/share/man/man4

2012-06-19 Thread Sean Bruno
Author: sbruno Date: Tue Jun 19 17:13:14 2012 New Revision: 237273 URL: http://svn.freebsd.org/changeset/base/237273 Log: Correct misunderstanding of hw.est.strict Setting strict causes a validation of the requested value vs the value currently running after a frequency change is

Re: svn commit: r237269 - in head: etc lib/libutil

2012-06-19 Thread Alexey Dokuchaev
On Tue, Jun 19, 2012 at 05:21:13PM +0100, Chris Rees wrote: On Jun 19, 2012 5:15 PM, Alexey Dokuchaev da...@freebsd.org wrote: Pardon my possible unawareness, but was this change discussed anywhere? http://lists.freebsd.org/pipermail/freebsd-security/2012-June/006271.html Thanks for the

Re: svn commit: r237269 - in head: etc lib/libutil

2012-06-19 Thread Dag-Erling Smørgrav
Alexey Dokuchaev da...@freebsd.org writes: Maybe I don't. I just want to know if I should switch from Blowfish to SHA512. It seems that the former is quite popular judging from discussion link given above. It also seems that des@' rationale for the switch boils down to I vastly prefer

Re: svn commit: r237269 - in head: etc lib/libutil

2012-06-19 Thread Alexey Dokuchaev
On Tue, Jun 19, 2012 at 08:27:52PM +0200, Dag-Erling Sm??rgrav wrote: Alexey Dokuchaev da...@freebsd.org writes: Maybe I don't. I just want to know if I should switch from Blowfish to SHA512. It seems that the former is quite popular judging from discussion link given above. It also

svn commit: r237274 - in head: lib/libc/sys sys/kern sys/sys

2012-06-19 Thread John Baldwin
Author: jhb Date: Tue Jun 19 18:42:24 2012 New Revision: 237274 URL: http://svn.freebsd.org/changeset/base/237274 Log: Further refine the implementation of POSIX_FADV_NOREUSE. First, extend the changes in r230782 to better handle the common case of using NOREUSE with sequential reads. A

svn commit: r237276 - head/sys/kern

2012-06-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Jun 19 22:21:59 2012 New Revision: 237276 URL: http://svn.freebsd.org/changeset/base/237276 Log: The falloc() function obtains two references to newly created 'fp'. On success we have to drop one after procdesc_finit() and on failure we have to close allocated slot

svn commit: r237277 - head/sys/kern

2012-06-19 Thread Pawel Jakub Dawidek
Author: pjd Date: Tue Jun 19 22:23:59 2012 New Revision: 237277 URL: http://svn.freebsd.org/changeset/base/237277 Log: Check proper flag (PDF_DAEMON, not PD_DAEMON) when deciding if the process should be killed or not. This fixes killing pdfork(2)ed process on last close of the

svn commit: r237281 - head/sbin/camcontrol

2012-06-19 Thread Scott Long
Author: scottl Date: Wed Jun 20 00:17:29 2012 New Revision: 237281 URL: http://svn.freebsd.org/changeset/base/237281 Log: Update the 'fwdownload' command to also flash disks connected over an ATA/SATA transport. The detection logic is automatic, so it should Just Work. While here, also

svn commit: r237282 - head/usr.bin/make

2012-06-19 Thread David E. O'Brien
Author: obrien Date: Wed Jun 20 00:37:00 2012 New Revision: 237282 URL: http://svn.freebsd.org/changeset/base/237282 Log: Correct typo in version. Modified: head/usr.bin/make/Makefile Modified: head/usr.bin/make/Makefile

svn commit: r237284 - head/bin/rm

2012-06-19 Thread Kevin Lo
Author: kevlo Date: Wed Jun 20 02:21:53 2012 New Revision: 237284 URL: http://svn.freebsd.org/changeset/base/237284 Log: Fix potential symlink race condition in rm -P by adding a check that the file we have opened is the one we expected. Also open in non-blocking mode to avoid a potential

svn commit: r237285 - head/sbin/camcontrol

2012-06-19 Thread Scott Long
Author: scottl Date: Wed Jun 20 04:11:34 2012 New Revision: 237285 URL: http://svn.freebsd.org/changeset/base/237285 Log: Add progress.c and progress.h, missed in the previous commit to camcontrol. Submitted by: Garrett Cooper Obtained from: Netflix, Inc. Added: