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

2012-06-19 Thread Eitan Adler
Author: eadler Date: Wed Jun 20 06:38:41 2012 New Revision: 237286 URL: http://svn.freebsd.org/changeset/base/237286 Log: Don't close an uninitialized descriptor. [1] Add a sanity check for the validity of the passed fd. PR: kern/139080 [1] Submitted by: Andrey Simonenko [1]

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: head/sbin/camcontrol

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: 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: 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 imp

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: 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 correspond

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 with

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

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 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@

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

2012-06-19 Thread Dag-Erling Smørgrav
Alexey Dokuchaev 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 sha512 to blf, as

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" 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 link, I didn't

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 reques

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

2012-06-19 Thread Chris Rees
On Jun 19, 2012 5:15 PM, "Alexey Dokuchaev" 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 passwo

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

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 i

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 w

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: 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: 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 renamin

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 rea

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 l

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 mm

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 augme