svn commit: r208795 - head/bin/date

2010-06-03 Thread Brian Somers
Author: brian Date: Fri Jun 4 06:56:58 2010 New Revision: 208795 URL: http://svn.freebsd.org/changeset/base/208795 Log: Explain that setting an absolute day value can fail and that the month should usually be set first when using -v. Adjust an example that sets the day to 30 before setti

svn commit: r208794 - in head/sys: mips/mips vm

2010-06-03 Thread Jayachandran C.
Author: jchandra Date: Fri Jun 4 06:35:36 2010 New Revision: 208794 URL: http://svn.freebsd.org/changeset/base/208794 Log: Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig() fails to allocate MIPS page table pages. The current usage of VM_WAIT in case of vm_phys_all

svn commit: r208793 - in head: share/misc usr.bin/calendar/calendars

2010-06-03 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 3 21:12:51 2010 New Revision: 208793 URL: http://svn.freebsd.org/changeset/base/208793 Log: - Add myself to committers-src.dot - Add myself to calendar.freebsd Approved by: kib (mentor) Modified: head/share/misc/committers-src.dot head/usr.bin/calendar/cale

svn commit: r208792 - head/usr.sbin/chown

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 20:46:23 2010 New Revision: 208792 URL: http://svn.freebsd.org/changeset/base/208792 Log: Make chown(1) emit more useful error message when user/group name is invalid. Modified: head/usr.sbin/chown/chown.c Modified: head/usr.sbin/chown/chown.c =

svn commit: r208791 - head/sys/vm

2010-06-03 Thread Konstantin Belousov
Author: kib Date: Thu Jun 3 18:34:34 2010 New Revision: 208791 URL: http://svn.freebsd.org/changeset/base/208791 Log: Do not leak vm page lock in vm_contig_launder(), vm_pageout_page_lock() always returns with the page locked. Submitted by: alc Pointy hat to:kib Modified: he

Re: svn commit: r208789 - in head/sys/boot: i386/boot0 i386/btx/btx i386/btx/btxldr i386/cdboot i386/mbr i386/pmbr pc98/boot0 pc98/boot0.5 pc98/btx/btx pc98/btx/btxldr pc98/cdboot sparc64/boot1

2010-06-03 Thread Kostik Belousov
On Thu, Jun 03, 2010 at 05:42:32PM +, Ed Schouten wrote: > Author: ed > Date: Thu Jun 3 17:42:32 2010 > New Revision: 208789 > URL: http://svn.freebsd.org/changeset/base/208789 > > Log: > Use -Wl,-N instead of the undocumented -N option for GCC. > > GCC forwards the -N flag directly to

Re: svn commit: r208789 - in head/sys/boot: i386/boot0 i386/btx/btx i386/btx/btxldr i386/cdboot i386/mbr i386/pmbr pc98/boot0 pc98/boot0.5 pc98/btx/btx pc98/btx/btxldr pc98/cdboot sparc64/boot1

2010-06-03 Thread Ed Schouten
* Ed Schouten wrote: > Author: ed > Date: Thu Jun 3 17:42:32 2010 > New Revision: 208789 > URL: http://svn.freebsd.org/changeset/base/208789 > > Log: > Use -Wl,-N instead of the undocumented -N option for GCC. > > GCC forwards the -N flag directly to ld. This flag is not documented and >

svn commit: r208789 - in head/sys/boot: i386/boot0 i386/btx/btx i386/btx/btxldr i386/cdboot i386/mbr i386/pmbr pc98/boot0 pc98/boot0.5 pc98/btx/btx pc98/btx/btxldr pc98/cdboot sparc64/boot1

2010-06-03 Thread Ed Schouten
Author: ed Date: Thu Jun 3 17:42:32 2010 New Revision: 208789 URL: http://svn.freebsd.org/changeset/base/208789 Log: Use -Wl,-N instead of the undocumented -N option for GCC. GCC forwards the -N flag directly to ld. This flag is not documented and not supported by (for example) Clang. Ju

Re: svn commit: r208589 - head/sys/mips/mips

2010-06-03 Thread Alan Cox
C. Jayachandran wrote: On Thu, Jun 3, 2010 at 10:20 AM, C. Jayachandran wrote: On Thu, Jun 3, 2010 at 10:07 AM, Alan Cox wrote: C. Jayachandran wrote: On Wed, Jun 2, 2010 at 11:57 AM, Alan Cox wrote: C. Jayachandran wrote: On Wed, Jun 2, 2010 at 3:23 A

svn commit: r208787 - head/sys/kern

2010-06-03 Thread John Baldwin
Author: jhb Date: Thu Jun 3 16:02:11 2010 New Revision: 208787 URL: http://svn.freebsd.org/changeset/base/208787 Log: Assert that the thread lock is held in sched_pctcpu() instead of recursively acquiring it. All of the current callers already hold the lock. MFC after:1 month Mod

Re: svn commit: r208771 - head/share/man/man4

2010-06-03 Thread Attilio Rao
2010/6/3 Bjoern A. Zeeb : > On Thu, 3 Jun 2010, Attilio Rao wrote: > >> Author: attilio >> Date: Thu Jun  3 09:54:53 2010 >> New Revision: 208771 >> URL: http://svn.freebsd.org/changeset/base/208771 >> >> Log: >>  [0] Improve wording. >>  [1] Following style for manpages, just do carriage return af

svn commit: r208786 - head/lib/libc/posix1e

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 14:51:29 2010 New Revision: 208786 URL: http://svn.freebsd.org/changeset/base/208786 Log: Don't forget to free the string in error case. Found with: Coverity Prevent CID: 6585 Modified: head/lib/libc/posix1e/acl_to_text_nfs4.c Modified: head/l

Re: svn commit: r208771 - head/share/man/man4

2010-06-03 Thread Bjoern A. Zeeb
On Thu, 3 Jun 2010, Attilio Rao wrote: Author: attilio Date: Thu Jun 3 09:54:53 2010 New Revision: 208771 URL: http://svn.freebsd.org/changeset/base/208771 Log: [0] Improve wording. [1] Following style for manpages, just do carriage return after a sentence. Sponsored by: Sand

svn commit: r208785 - head/lib/libc/posix1e

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 14:29:17 2010 New Revision: 208785 URL: http://svn.freebsd.org/changeset/base/208785 Log: _posix1e_acl_sort() never returns anything other than 0; change its return type to void and update callers. This simplifies code and fixes one place where the returned va

svn commit: r208784 - head/lib/libc/posix1e

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 14:27:18 2010 New Revision: 208784 URL: http://svn.freebsd.org/changeset/base/208784 Log: Fix usage of uninitialized variable. Found with: Coverity Prevent CID: 7517 MFC after:2 weeks Modified: head/lib/libc/posix1e/acl_strip.c Modified:

svn commit: r208783 - head/lib/libc/posix1e

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 14:16:58 2010 New Revision: 208783 URL: http://svn.freebsd.org/changeset/base/208783 Log: The 'acl_cnt' field is unsigned; no point in checking if it's >= 0. Found with: Coverity Prevent CID: 6192 Modified: head/lib/libc/posix1e/acl_entry.c Mo

svn commit: r208782 - head/lib/libc/posix1e

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 14:15:08 2010 New Revision: 208782 URL: http://svn.freebsd.org/changeset/base/208782 Log: The 'acl_cnt' field is unsigned; no point in checking if it's >= 0. Found with: Coverity Prevent CID: 6193 Modified: head/lib/libc/posix1e/acl_entry.c Mo

svn commit: r208781 - head/sys/kern

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 13:45:27 2010 New Revision: 208781 URL: http://svn.freebsd.org/changeset/base/208781 Log: The 'acl_cnt' field is unsigned; no point in checking if it's >= 0. Found with: Coverity Prevent CID: 3688 Modified: head/sys/kern/vfs_acl.c Modified: he

svn commit: r208780 - head/sys/kern

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 13:43:58 2010 New Revision: 208780 URL: http://svn.freebsd.org/changeset/base/208780 Log: The 'acl_cnt' field is unsigned; no point in checking if it's >= 0. Found with: Coverity Prevent CID: 3684 Modified: head/sys/kern/subr_acl_posix1e.c Mod

svn commit: r208779 - head/sys/kern

2010-06-03 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 3 13:41:55 2010 New Revision: 208779 URL: http://svn.freebsd.org/changeset/base/208779 Log: The acl_cnt field is unsigned; no point in checking if it's >= 0. Found with: Coverity Prevent CID: 3683 Modified: head/sys/kern/subr_acl_nfs4.c Modified

svn commit: r208778 - head/sbin/geom/class/part

2010-06-03 Thread Marius Strobl
Author: marius Date: Thu Jun 3 13:04:56 2010 New Revision: 208778 URL: http://svn.freebsd.org/changeset/base/208778 Log: - Mention that VTOC8 labels are found in Fujitsu SPARC64 machines as well. - Add information regarding VTOC8 bootrstrap code and how it's handled with r208777 in place.

svn commit: r208777 - in head: sbin/geom/class/part sys/sys

2010-06-03 Thread Marius Strobl
Author: marius Date: Thu Jun 3 13:01:55 2010 New Revision: 208777 URL: http://svn.freebsd.org/changeset/base/208777 Log: - In gpart_bootfile_read() fix an off-by-one error preventing the bootstrap file to be of maximum size. - Add special handling required for SMI/VTOC8 disklabel partcode

Re: svn commit: r208589 - head/sys/mips/mips

2010-06-03 Thread C. Jayachandran
On Thu, Jun 3, 2010 at 10:20 AM, C. Jayachandran wrote: > On Thu, Jun 3, 2010 at 10:07 AM, Alan Cox wrote: >> C. Jayachandran wrote: >>> >>> On Wed, Jun 2, 2010 at 11:57 AM, Alan Cox wrote: >>> C. Jayachandran wrote: > > On Wed, Jun 2, 2010 at 3:23 AM, Alan Cox wrote: >>>

svn commit: r208776 - head/sys/dev/cas

2010-06-03 Thread Marius Strobl
Author: marius Date: Thu Jun 3 12:09:02 2010 New Revision: 208776 URL: http://svn.freebsd.org/changeset/base/208776 Log: Avoid possible NULL-dereferences. Found with: Coverity Prevent(tm) CID: 3428 MFC after:3 days Modified: head/sys/dev/cas/if_cas.c Modified: head/s

Re: svn commit: r208747 - head/sys/dev/fdt

2010-06-03 Thread Rafal Jaworowski
On 2010-06-02, at 20:58, Doug Barton wrote: > On 06/02/10 10:17, Rafal Jaworowski wrote: >> o simplebus(4) - bus driver representing ePAPR > > Do we write on it with eINK? Hm, it's been eAPPROVED already (http://www.power.org/resources/downloads/Power_ePAPR_APPROVED_v1.0.pdf), but maybe wit

svn commit: r208775 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2010-06-03 Thread Martin Matuska
Author: mm Date: Thu Jun 3 11:08:46 2010 New Revision: 208775 URL: http://svn.freebsd.org/changeset/base/208775 Log: Fix freeing space after deleting large files with holes. OpenSolaris onnv revision:9950:78fc41aa9bc5 Approved by: pjd, delphij (mentor) Obtained from:Ope

svn commit: r208774 - head/sys/ufs/ufs

2010-06-03 Thread Konstantin Belousov
Author: kib Date: Thu Jun 3 10:24:53 2010 New Revision: 208774 URL: http://svn.freebsd.org/changeset/base/208774 Log: Extend the scope of the lock on the quota file vnode in quotaon() to cover the initial read by dqopen(). Assert that vnode is locked in dqopen(). Remove VFS_LOCK_GIANT() fro

svn commit: r208773 - head/sys/kern

2010-06-03 Thread Konstantin Belousov
Author: kib Date: Thu Jun 3 10:20:08 2010 New Revision: 208773 URL: http://svn.freebsd.org/changeset/base/208773 Log: Sometimes vnodes share the lock despite being different vnodes on different mount points, e.g. the nullfs vnode and the covered vnode from the lower filesystem. In this case

svn commit: r208772 - head/sys/vm

2010-06-03 Thread Konstantin Belousov
Author: kib Date: Thu Jun 3 10:11:45 2010 New Revision: 208772 URL: http://svn.freebsd.org/changeset/base/208772 Log: Add assertion and comment in vm_page_flag_set() describing the expectations when the PG_WRITEABLE flag is set. Reviewed by: alc Modified: head/sys/vm/vm_page.c Modif

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

2010-06-03 Thread Attilio Rao
Author: attilio Date: Thu Jun 3 09:54:53 2010 New Revision: 208771 URL: http://svn.freebsd.org/changeset/base/208771 Log: [0] Improve wording. [1] Following style for manpages, just do carriage return after a sentence. Sponsored by: Sandvine Incorporated [0] Submitted by:

svn commit: r208770 - head/sys/modules/zfs

2010-06-03 Thread Pawel Jakub Dawidek
Author: pjd Date: Thu Jun 3 09:29:54 2010 New Revision: 208770 URL: http://svn.freebsd.org/changeset/base/208770 Log: opensolaris_kmem.c is already part of opensolaris.ko which zfs.ko depends on. Reported by: avg MFC after:3 days Modified: head/sys/modules/zfs/Makefile Modified: