svn commit: r237253 - head/usr.sbin/bsdinstall/partedit

2012-06-19 Thread Eitan Adler
Author: eadler Date: Tue Jun 19 06:09:47 2012 New Revision: 237253 URL: http://svn.freebsd.org/changeset/base/237253 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: 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: 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: r237260 - head/usr.sbin/mfiutil

2012-06-19 Thread Eitan Adler
Author: eadler Date: Tue Jun 19 06:18:42 2012 New Revision: 237260 URL: http://svn.freebsd.org/changeset/base/237260 Log: Add __unused macros to appropriate places in order to allow building with WARNS=6 on base gcc, gcc46, and clang Approved by: cperciva MFC after:1 week

svn commit: r237261 - stable/9/lib/libusb

2012-06-19 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 19 06:46:54 2012 New Revision: 237261 URL: http://svn.freebsd.org/changeset/base/237261 Log: MFC r236944: LibUSB v1.0 API compliance and bugfixes. Modified: stable/9/lib/libusb/Makefile stable/9/lib/libusb/libusb10.c stable/9/lib/libusb/libusb10_io.c

svn commit: r237262 - stable/8/lib/libusb

2012-06-19 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jun 19 06:52:21 2012 New Revision: 237262 URL: http://svn.freebsd.org/changeset/base/237262 Log: MFC r236944: LibUSB v1.0 API compliance and bugfixes. Modified: stable/8/lib/libusb/Makefile stable/8/lib/libusb/libusb10.c stable/8/lib/libusb/libusb10_io.c

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: r237265 - stable/9/sbin/fsck_ffs

2012-06-19 Thread Konstantin Belousov
Author: kib Date: Tue Jun 19 10:04:36 2012 New Revision: 237265 URL: http://svn.freebsd.org/changeset/base/237265 Log: MFC r236976: For incompleted block allocations or frees, the inode block count usage must be recalculated. The blk_check pass of suj checker explicitely marks inodes

svn commit: r237266 - stable/9/lib/libc/gen

2012-06-19 Thread Konstantin Belousov
Author: kib Date: Tue Jun 19 10:06:34 2012 New Revision: 237266 URL: http://svn.freebsd.org/changeset/base/237266 Log: MFC r237159: Fix reading of netgroup(5) file which contains more then one netgroup. Modified: stable/9/lib/libc/gen/getnetgrent.c Directory Properties:

svn commit: r237267 - stable/9/lib/libc/gen

2012-06-19 Thread Konstantin Belousov
Author: kib Date: Tue Jun 19 10:07:50 2012 New Revision: 237267 URL: http://svn.freebsd.org/changeset/base/237267 Log: MFC r237160: More style. Modified: stable/9/lib/libc/gen/getnetgrent.c Directory Properties: stable/9/lib/libc/ (props changed) Modified:

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: r237269 - in head: etc lib/libutil

2012-06-19 Thread Dag-Erling Smorgrav
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. MFC after:1 week Modified: head/etc/login.conf head/lib/libutil/login.conf.5 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

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: r237279 - in head: etc/mtree include

2012-06-19 Thread David E. O'Brien
Author: obrien Date: Wed Jun 20 00:09:47 2012 New Revision: 237279 URL: http://svn.freebsd.org/changeset/base/237279 Log: Install filemon.h into /usr/include for userland consumption. Modified: head/etc/mtree/BSD.include.dist head/include/Makefile Modified: head/etc/mtree/BSD.include.dist

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: