svn commit: r264047 - stable/9/usr.bin/tail

2014-04-02 Thread Jaakko Heinonen
Author: jh Date: Wed Apr 2 17:10:17 2014 New Revision: 264047 URL: http://svnweb.freebsd.org/changeset/base/264047 Log: MFC r251565: Print file names without stdio buffering to avoid mixing buffered and unbuffered ouput. PR: bin/176886 Modified: stable/9/usr.bin/tail/ex

svn commit: r263945 - stable/9/sbin/devfs

2014-03-30 Thread Jaakko Heinonen
Author: jh Date: Sun Mar 30 17:59:32 2014 New Revision: 263945 URL: http://svnweb.freebsd.org/changeset/base/263945 Log: MFC r253252: Clarify how "hide" and "unhide" commands work on directories. Modified: stable/9/sbin/devfs/devfs.8 Directory Properties: stable/9/sbin/devfs/ (props

svn commit: r255856 - stable/9/sys/kern

2013-09-24 Thread Jaakko Heinonen
Author: jh Date: Tue Sep 24 17:09:28 2013 New Revision: 255856 URL: http://svnweb.freebsd.org/changeset/base/255856 Log: MFC r250706: A library function shall not set errno to 0. Modified: stable/9/sys/kern/subr_sbuf.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/

svn commit: r251998 - stable/9/sbin/mount

2013-06-19 Thread Jaakko Heinonen
Author: jh Date: Wed Jun 19 18:00:00 2013 New Revision: 251998 URL: http://svnweb.freebsd.org/changeset/base/251998 Log: MFC r251485: Revert r238399. The "failok" option doesn't have any effect at all unless specified in fstab(5) and combined with the -a flag. The "failok" option is

svn commit: r251303 - stable/9/sys/geom

2013-06-03 Thread Jaakko Heinonen
Author: jh Date: Mon Jun 3 16:09:23 2013 New Revision: 251303 URL: http://svnweb.freebsd.org/changeset/base/251303 Log: MFC r250868: Remove an extra semicolon from the DOT language output. PR: kern/178540 Modified: stable/9/sys/geom/geom_dump.c Directory Properties: stable/9

svn commit: r250976 - stable/9/usr.sbin/ctladm

2013-05-25 Thread Jaakko Heinonen
Author: jh Date: Sat May 25 09:47:33 2013 New Revision: 250976 URL: http://svnweb.freebsd.org/changeset/base/250976 Log: MFC r250443: Check the return value of sbuf_finish(). Modified: stable/9/usr.sbin/ctladm/ctladm.c Directory Properties: stable/9/usr.sbin/ctladm/ (props changed) Modif

svn commit: r250597 - stable/9/usr.bin/calendar

2013-05-13 Thread Jaakko Heinonen
Author: jh Date: Mon May 13 13:57:06 2013 New Revision: 250597 URL: http://svnweb.freebsd.org/changeset/base/250597 Log: MFC r249200: Correct the path. PR: 176256 Modified: stable/9/usr.bin/calendar/calendar.1 Directory Properties: stable/9/usr.bin/calendar/ (props changed)

svn commit: r250558 - stable/9/sys/kern

2013-05-12 Thread Jaakko Heinonen
Author: jh Date: Sun May 12 09:42:17 2013 New Revision: 250558 URL: http://svnweb.freebsd.org/changeset/base/250558 Log: MFC r249650: Include PID in the error message which is printed when the maxproc limit is exceeded. Improve formatting of the message while here. PR: kern

svn commit: r245590 - stable/9/sys/dev/md

2013-01-18 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 18 08:10:00 2013 New Revision: 245590 URL: http://svnweb.freebsd.org/changeset/base/245590 Log: MFC r243373: Print correct unit number when attaching preloaded memory disks. Retire now unused mdunits variable. Modified: stable/9/sys/dev/md/md.c Directory Proper

svn commit: r245038 - in stable/9: sbin/mdconfig sys/dev/md

2013-01-04 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 4 12:06:59 2013 New Revision: 245038 URL: http://svnweb.freebsd.org/changeset/base/245038 Log: MFC r243372: Disallow attaching preloaded memory disks via ioctl. - The feature is dangerous because the kernel code didn't check validity of the memory address

svn commit: r245037 - stable/9/sbin/mdconfig

2013-01-04 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 4 11:57:27 2013 New Revision: 245037 URL: http://svnweb.freebsd.org/changeset/base/245037 Log: MFC r234047 by bjk: Fix a couple of style issues. Tweak grammar and markup while here. Modified: stable/9/sbin/mdconfig/mdconfig.8 Directory Properties: stable/9/sbi

svn commit: r244547 - in stable/9/sys: dev/fdc geom geom/bde geom/cache geom/label geom/mountver geom/multipath geom/nop geom/sched vm

2012-12-21 Thread Jaakko Heinonen
Author: jh Date: Fri Dec 21 18:25:05 2012 New Revision: 244547 URL: http://svnweb.freebsd.org/changeset/base/244547 Log: MFC r24: - Don't pass geom and provider names as format strings. - Add __printflike() attributes. - Remove an extra argument for the g_new_geomf() call in swapong

svn commit: r244208 - stable/9/lib/libgeom

2012-12-14 Thread Jaakko Heinonen
Author: jh Date: Fri Dec 14 11:38:15 2012 New Revision: 244208 URL: http://svnweb.freebsd.org/changeset/base/244208 Log: MFC r242130: Improve libgeom XML parsing error handling. - Abort parsing and return an error if we run out of memory. - Return EILSEQ from geom_xml2tree() for XML

Re: svn commit: r244075 - stable/9/bin/ls

2012-12-11 Thread Jaakko Heinonen
On 2012-12-10, Greg Lehey wrote: > MFC to r242840: I found confusing that this commit merges changes not mentioned in the commit message below. It make me while to notice "to" before the revision number. Also the commit didn't record mergeinfo. > Add y flag and environment variable LS_SAMES

Re: svn commit: r243942 - stable/9/sbin/fsck_msdosfs

2012-12-06 Thread Jaakko Heinonen
On 2012-12-06, Alfred Perlstein wrote: > I think perror writes to STDERR, printf to STDOUT. (am I wrong?) perror(3) prints on stderr. However fsck uses its own perror() (renamed to perr() in head) which prints on stdout. > You might better use warn()? Using warn(3) here wouldn't be correct. Fo

svn commit: r243942 - stable/9/sbin/fsck_msdosfs

2012-12-06 Thread Jaakko Heinonen
Author: jh Date: Thu Dec 6 08:35:46 2012 New Revision: 243942 URL: http://svnweb.freebsd.org/changeset/base/243942 Log: MFC r242511: Print a newline after the error message. PR: bin/168447 Modified: stable/9/sbin/fsck_msdosfs/check.c Directory Properties: stable/9/sbin/fsck_

svn commit: r242699 - stable/9/sys/dev/md

2012-11-07 Thread Jaakko Heinonen
Author: jh Date: Wed Nov 7 16:52:01 2012 New Revision: 242699 URL: http://svnweb.freebsd.org/changeset/base/242699 Log: MFC r238991: Disallow sectorsize larger than MAXPHYS and mediasize smaller than sectorsize. PR: 169947 Modified: stable/9/sys/dev/md/md.c Directory Pr

svn commit: r241223 - stable/9/sbin/camcontrol

2012-10-05 Thread Jaakko Heinonen
Author: jh Date: Fri Oct 5 10:44:50 2012 New Revision: 241223 URL: http://svn.freebsd.org/changeset/base/241223 Log: MFC r239612: Check the return value of sbuf_finish(). Modified: stable/9/sbin/camcontrol/camcontrol.c Directory Properties: stable/9/sbin/camcontrol/ (props changed) Modi

svn commit: r241222 - stable/9/sys/kern

2012-10-05 Thread Jaakko Heinonen
Author: jh Date: Fri Oct 5 09:47:54 2012 New Revision: 241222 URL: http://svn.freebsd.org/changeset/base/241222 Log: MFC r239257: Reserve room for the terminating NUL when setting or getting kernel environment variables. KENV_MNAMELEN and KENV_MVALLEN doesn't include space for the term

svn commit: r240408 - stable/9/bin/cat

2012-09-12 Thread Jaakko Heinonen
Author: jh Date: Wed Sep 12 16:01:48 2012 New Revision: 240408 URL: http://svn.freebsd.org/changeset/base/240408 Log: MFC r238653: Use proper error message when fstat(2) fails on stdout. PR: bin/159746 Modified: stable/9/bin/cat/cat.c Directory Properties: stable/9/bin/cat/

svn commit: r240407 - stable/9/bin/cat

2012-09-12 Thread Jaakko Heinonen
Author: jh Date: Wed Sep 12 15:59:03 2012 New Revision: 240407 URL: http://svn.freebsd.org/changeset/base/240407 Log: MFC r238652: style(9). Modified: stable/9/bin/cat/cat.c Directory Properties: stable/9/bin/cat/ (props changed) Modified: stable/9/bin/cat/cat.c =

svn commit: r240322 - stable/9/usr.sbin/lpr/common_source

2012-09-10 Thread Jaakko Heinonen
Author: jh Date: Mon Sep 10 16:28:45 2012 New Revision: 240322 URL: http://svn.freebsd.org/changeset/base/240322 Log: MFC r238547: Make sure that arraysz is initialized to a value larger than zero. arraysz could get initialized to zero on ZFS because ZFS reports directory sizes differen

svn commit: r240319 - stable/9/usr.sbin/lpr/common_source

2012-09-10 Thread Jaakko Heinonen
Author: jh Date: Mon Sep 10 16:24:16 2012 New Revision: 240319 URL: http://svn.freebsd.org/changeset/base/240319 Log: MFC r238546: Remove trailing whitespace. Modified: stable/9/usr.sbin/lpr/common_source/common.c Directory Properties: stable/9/usr.sbin/lpr/ (props changed) stable/9/usr

svn commit: r235449 - in stable/9/sys: i386/conf kern

2012-05-14 Thread Jaakko Heinonen
Author: jh Date: Mon May 14 15:46:37 2012 New Revision: 235449 URL: http://svn.freebsd.org/changeset/base/235449 Log: MFC r234489: The value of flags matching VNOVAL can't be supported. Return EOPNOTSUPP from setfflags() in this case. This fixes the return value of chflags(path, -1). M

svn commit: r235131 - in stable/9/sys: fs/ext2fs i386/conf kern

2012-05-07 Thread Jaakko Heinonen
Author: jh Date: Mon May 7 15:30:53 2012 New Revision: 235131 URL: http://svn.freebsd.org/changeset/base/235131 Log: MFC r234104: Apply changes from r233787 to ext2fs: - Use more natural ip->i_flags instead of vap->va_flags in the final flags check. - Style improvements. No

svn commit: r235010 - in stable/9/sys: i386/conf kern ufs/ufs

2012-05-04 Thread Jaakko Heinonen
Author: jh Date: Fri May 4 15:51:23 2012 New Revision: 235010 URL: http://svn.freebsd.org/changeset/base/235010 Log: MFC r233875: Add a check for unsupported file flags to ufs_setattr(). Modified: stable/9/sys/ufs/ufs/ufs_vnops.c Directory Properties: stable/9/sys/ (props changed) stab

svn commit: r234929 - in stable/9/sys: i386/conf kern ufs/ufs

2012-05-02 Thread Jaakko Heinonen
Author: jh Date: Wed May 2 15:15:28 2012 New Revision: 234929 URL: http://svn.freebsd.org/changeset/base/234929 Log: MFC r233787: - Use more natural ip->i_flags instead of vap->va_flags in the final flags check. - Add a comment for the immutable/append check done after handling of

svn commit: r233755 - stable/9/lib/libcam

2012-04-01 Thread Jaakko Heinonen
Author: jh Date: Sun Apr 1 08:40:52 2012 New Revision: 233755 URL: http://svn.freebsd.org/changeset/base/233755 Log: MFC r232450: Use snprintf(3) constantly when generating CAM error messages. PR: bin/57088 Modified: stable/9/lib/libcam/camlib.c Directory Properties: st

svn commit: r233543 - in stable/9/sys: i386/conf kern

2012-03-27 Thread Jaakko Heinonen
Author: jh Date: Tue Mar 27 14:01:09 2012 New Revision: 233543 URL: http://svn.freebsd.org/changeset/base/233543 Log: MFC r233126: Cast wallclock.tv_sec to uint64_t to avoid overflow in the calculation. PR: kern/161552 Modified: stable/9/sys/kern/kern_racct.c Directory Pro

svn commit: r233281 - in stable/9/sys: i386/conf kern

2012-03-21 Thread Jaakko Heinonen
Author: jh Date: Wed Mar 21 16:16:59 2012 New Revision: 233281 URL: http://svn.freebsd.org/changeset/base/233281 Log: MFC r232975: Add an assert for proctree_lock to proc_to_reap(). Modified: stable/9/sys/kern/kern_exit.c Directory Properties: stable/9/sys/ (props changed) stable/9/sys/

Re: svn commit: r233120 - in stable/9/sys/fs: hpfs msdosfs ntfs

2012-03-18 Thread Jaakko Heinonen
On 2012-03-18, Kevin Lo wrote: > MFC r232483: > > Clean up style(9) nits > Directory Properties: > stable/9/sys/fs/ (props changed) > stable/9/sys/fs/ntfs/ (props changed) This should have been merged to stable/9/sys/. Also, r232995 incorrectly recorded mergeinfo to stable/9/sys/fs

svn commit: r232775 - stable/9/usr.sbin/wake

2012-03-10 Thread Jaakko Heinonen
Author: jh Date: Sat Mar 10 08:27:37 2012 New Revision: 232775 URL: http://svn.freebsd.org/changeset/base/232775 Log: MFC r232102: Exit with proper status when wake() fails. PR: bin/153527 Modified: stable/9/usr.sbin/wake/wake.c Directory Properties: stable/9/usr.sbin/wake/

svn commit: r232774 - stable/9/usr.sbin/wake

2012-03-10 Thread Jaakko Heinonen
Author: jh Date: Sat Mar 10 08:25:49 2012 New Revision: 232774 URL: http://svn.freebsd.org/changeset/base/232774 Log: MFC r232101: style(9). Modified: stable/9/usr.sbin/wake/wake.c Directory Properties: stable/9/usr.sbin/wake/ (props changed) Modified: stable/9/usr.sbin/wake/wake.c =

svn commit: r232722 - stable/9/share/man/man9

2012-03-09 Thread Jaakko Heinonen
Author: jh Date: Fri Mar 9 13:06:24 2012 New Revision: 232722 URL: http://svn.freebsd.org/changeset/base/232722 Log: MFC r232350: Since r199137 namei() returns EINVAL for DELETE and RENAME operations if the last component of the pathname is ".". Modified: stable/9/share/man/man9/namei