svn commit: r265781 - stable/10/usr.sbin/daemon

2014-05-09 Thread Jaakko Heinonen
Author: jh Date: Fri May 9 15:55:45 2014 New Revision: 265781 URL: http://svnweb.freebsd.org/changeset/base/265781 Log: MFC r264194: Fork a child process and wait until the process terminates when the -P option is specified. This behavior is documented on the manual page. PR:

svn commit: r264194 - head/usr.sbin/daemon

2014-04-06 Thread Jaakko Heinonen
Author: jh Date: Sun Apr 6 16:35:49 2014 New Revision: 264194 URL: http://svnweb.freebsd.org/changeset/base/264194 Log: Fork a child process and wait until the process terminates when the -P option is specified. This behavior is documented on the manual page. PR: bin/187265

Re: svn commit: r264066 - head/bin/ls

2014-04-04 Thread Jaakko Heinonen
Hi, On 2014-04-03, Greg Lehey wrote: Add information on standards compliance of many options. -n and -A are in POSIX.1-2008. Please see this PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=docs/140435 -- Jaakko ___ svn-src-all@freebsd.org

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:

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:

svn commit: r253252 - head/sbin/devfs

2013-07-12 Thread Jaakko Heinonen
Author: jh Date: Fri Jul 12 06:03:25 2013 New Revision: 253252 URL: http://svnweb.freebsd.org/changeset/base/253252 Log: Clarify how hide and unhide commands work on directories. Modified: head/sbin/devfs/devfs.8 Modified: head/sbin/devfs/devfs.8

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: r251999 - stable/8/sbin/mount

2013-06-19 Thread Jaakko Heinonen
Author: jh Date: Wed Jun 19 18:01:37 2013 New Revision: 251999 URL: http://svnweb.freebsd.org/changeset/base/251999 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: r251565 - head/usr.bin/tail

2013-06-09 Thread Jaakko Heinonen
Author: jh Date: Sun Jun 9 08:06:26 2013 New Revision: 251565 URL: http://svnweb.freebsd.org/changeset/base/251565 Log: Print file names without stdio buffering to avoid mixing buffered and unbuffered ouput. PR: bin/176886 Reviewed by: mjg Modified:

svn commit: r251485 - head/sbin/mount

2013-06-07 Thread Jaakko Heinonen
Author: jh Date: Fri Jun 7 07:17:46 2013 New Revision: 251485 URL: http://svnweb.freebsd.org/changeset/base/251485 Log: 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 already documented

svn commit: r251304 - stable/8/sys/geom

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

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:

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)

svn commit: r250868 - head/sys/geom

2013-05-21 Thread Jaakko Heinonen
Author: jh Date: Tue May 21 18:40:54 2013 New Revision: 250868 URL: http://svnweb.freebsd.org/changeset/base/250868 Log: Remove an extra semicolon from the DOT language output. PR: kern/178540 Submitted by: Trond Endrestol MFC after:1 week Modified:

svn commit: r250706 - head/sys/kern

2013-05-16 Thread Jaakko Heinonen
Author: jh Date: Thu May 16 18:13:10 2013 New Revision: 250706 URL: http://svnweb.freebsd.org/changeset/base/250706 Log: A library function shall not set errno to 0. Reviewed by: mdf Modified: head/sys/kern/subr_sbuf.c Modified: head/sys/kern/subr_sbuf.c

svn commit: r250667 - in head/contrib/nvi: common include

2013-05-15 Thread Jaakko Heinonen
Author: jh Date: Wed May 15 18:41:49 2013 New Revision: 250667 URL: http://svnweb.freebsd.org/changeset/base/250667 Log: Rename O_DIRECTORY to O_TMP_DIRECTORY to avoid shadowing the fcntl.h O_DIRECTORY flag. PR: bin/173924 Obtained from:git://repo.or.cz/nvi.git

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

svn commit: r250598 - stable/8/usr.bin/calendar

2013-05-13 Thread Jaakko Heinonen
Author: jh Date: Mon May 13 14:00:24 2013 New Revision: 250598 URL: http://svnweb.freebsd.org/changeset/base/250598 Log: MFC r249200: Correct the path. PR: 176256 Modified: stable/8/usr.bin/calendar/calendar.1 Directory Properties: stable/8/usr.bin/calendar/ (props

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:

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

2013-05-10 Thread Jaakko Heinonen
Author: jh Date: Fri May 10 09:58:32 2013 New Revision: 250443 URL: http://svnweb.freebsd.org/changeset/base/250443 Log: Check the return value of sbuf_finish(). MFC after:1 week Modified: head/usr.sbin/ctladm/ctladm.c Modified: head/usr.sbin/ctladm/ctladm.c

svn commit: r249650 - head/sys/kern

2013-04-19 Thread Jaakko Heinonen
Author: jh Date: Fri Apr 19 15:19:29 2013 New Revision: 249650 URL: http://svnweb.freebsd.org/changeset/base/249650 Log: Include PID in the error message which is printed when the maxproc limit is exceeded. Improve formatting of the message while here. PR: kern/60550

Re: svn commit: r249508 - in head/sys: conf geom/label

2013-04-16 Thread Jaakko Heinonen
On 2013-04-15, Ivan Voras wrote: Introduce glabel labels based on GEOM ident attributes. In this initial implementation, error on the side of conservatism and only create labels for GEOMs of classes DISK and MULTIPATH. After this commit I get a panic on boot. My kernel has been compiled

svn commit: r249200 - head/usr.bin/calendar

2013-04-06 Thread Jaakko Heinonen
Author: jh Date: Sat Apr 6 13:42:37 2013 New Revision: 249200 URL: http://svnweb.freebsd.org/changeset/base/249200 Log: Correct the path. PR: 176256 Submitted by: jhs Modified: head/usr.bin/calendar/calendar.1 Modified: head/usr.bin/calendar/calendar.1

Re: svn commit: r248571 - in head: . cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zhack cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cm

2013-04-01 Thread Jaakko Heinonen
Hi, On 2013-03-21, Martin Matuska wrote: Merge libzfs_core branch: includes MFV 238590, 238592, 247580 I am getting the following error after this commit: # zpool list failed to read pool configuration: bad address no pools available # zfs list failed to read pool configuration: bad

svn commit: r245891 - head/sys/cam/scsi

2013-01-24 Thread Jaakko Heinonen
Author: jh Date: Thu Jan 24 17:28:39 2013 New Revision: 245891 URL: http://svnweb.freebsd.org/changeset/base/245891 Log: Sanitize the element descriptor string before using it as a device name. Reported and tested by: Vitalij Satanivskij Reviewed by: gibbs, mav Modified:

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

Re: svn commit: r244585 - in head: . sys/geom/label

2013-01-11 Thread Jaakko Heinonen
On 2013-01-09, Warner Losh wrote: I do not object, but IMHO having names with the spaces in /dev is weird and possibly problematic. I agree and my my preference was also to disallow spaces. However I expected that someone might complain. This was the reason of my initial request to

Re: svn commit: r244585 - in head: . sys/geom/label

2013-01-08 Thread Jaakko Heinonen
On 2013-01-07, John Baldwin wrote: I think if it isn't hard to do so, we should aim to preserve labels as they are generally intended to be human readable as-is. Just preserving spaces is probably sufficient for this as they are probably the most commonly used character in labels affected

Re: svn commit: r244585 - in head: . sys/geom/label

2013-01-05 Thread Jaakko Heinonen
On 2013-01-04, John Baldwin wrote: New Revision: 244585 Log: Mangle label names containing spaces, non-printable characters '%' or ''. Mangling is only done for label names read from file system metadata. Encoding resembles URL encoding. For example, the space character

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:

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: r244584 - in head: share/man/man9 sys/kern

2012-12-22 Thread Jaakko Heinonen
Author: jh Date: Sat Dec 22 13:33:28 2012 New Revision: 244584 URL: http://svnweb.freebsd.org/changeset/base/244584 Log: Reject spaces and double quotation marks in device names. devctl(4) and devd(8) can't handle names with such characters properly. PR: bin/144736, kern/161912

svn commit: r244585 - in head: . sys/geom/label

2012-12-22 Thread Jaakko Heinonen
Author: jh Date: Sat Dec 22 13:43:12 2012 New Revision: 244585 URL: http://svnweb.freebsd.org/changeset/base/244585 Log: Mangle label names containing spaces, non-printable characters '%' or ''. Mangling is only done for label names read from file system metadata. Encoding resembles URL

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

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_SAMESORT

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:

svn commit: r243943 - stable/8/sbin/fsck_msdosfs

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

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. For

svn commit: r243618 - stable/8/sys/dev/md

2012-11-27 Thread Jaakko Heinonen
Author: jh Date: Tue Nov 27 16:37:36 2012 New Revision: 243618 URL: http://svnweb.freebsd.org/changeset/base/243618 Log: MFC r238991: Disallow sectorsize larger than MAXPHYS and mediasize smaller than sectorsize. PR: 169947 Modified: stable/8/sys/dev/md/md.c Directory

svn commit: r243477 - stable/7/lib/libc/rpc

2012-11-24 Thread Jaakko Heinonen
Author: jh Date: Sat Nov 24 08:33:27 2012 New Revision: 243477 URL: http://svnweb.freebsd.org/changeset/base/243477 Log: MFC r235143 by kib: Plug a leak. PR: 167068 Tested by:Oliver Pinter Modified: stable/7/lib/libc/rpc/auth_unix.c Directory Properties:

svn commit: r243372 - in head: sbin/mdconfig sys/dev/md

2012-11-21 Thread Jaakko Heinonen
Author: jh Date: Wed Nov 21 16:56:47 2012 New Revision: 243372 URL: http://svnweb.freebsd.org/changeset/base/243372 Log: Disallow attaching preloaded memory disks via ioctl. - The feature is dangerous because the kernel code didn't check validity of the memory address provided from

svn commit: r243373 - head/sys/dev/md

2012-11-21 Thread Jaakko Heinonen
Author: jh Date: Wed Nov 21 17:05:57 2012 New Revision: 243373 URL: http://svnweb.freebsd.org/changeset/base/243373 Log: Print correct unit number when attaching preloaded memory disks. Retire now unused mdunits variable. Modified: head/sys/dev/md/md.c Modified: head/sys/dev/md/md.c

Re: svn commit: r243328 - head/lib/libutil

2012-11-20 Thread Jaakko Heinonen
Hi! On 2012-11-20, Baptiste Daroussin wrote: change mode the group file to 0644 after a successfull rename(2) int gr_mkdb(void) { - return (rename(tempname, group_file)); + int ret; + + ret = rename(tempname, group_file); + + if (ret == 0) +

svn commit: r243333 - in head/sys: dev/fdc geom geom/bde geom/cache geom/label geom/mountver geom/multipath geom/nop geom/sched vm

2012-11-20 Thread Jaakko Heinonen
Author: jh Date: Tue Nov 20 12:32:18 2012 New Revision: 24 URL: http://svnweb.freebsd.org/changeset/base/24 Log: - Don't pass geom and provider names as format strings. - Add __printflike() attributes. - Remove an extra argument for the g_new_geomf() call in swapongeom_ev().

Re: svn commit: r243328 - head/lib/libutil

2012-11-20 Thread Jaakko Heinonen
On 2012-11-20, Baptiste Daroussin wrote: Does this looks better to you? http://people.freebsd.org/~bapt/gr_util.diff Yes. Thank you. -- Jaakko ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To

Re: svn commit: r242725 - head/bin/ls

2012-11-08 Thread Jaakko Heinonen
On 2012-11-08, Greg Lehey wrote: New Revision: 242725 - return (strcoll(a-fts_name, b-fts_name)); +if (f_samesort) + return (strcoll(b-fts_name, a-fts_name)); +else + return (strcoll(a-fts_name, b-fts_name)); Please use tabs instead of spaces in

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

svn commit: r242511 - head/sbin/fsck_msdosfs

2012-11-03 Thread Jaakko Heinonen
Author: jh Date: Sat Nov 3 09:18:37 2012 New Revision: 242511 URL: http://svn.freebsd.org/changeset/base/242511 Log: Print a newline after the error message. PR: bin/168447 Submitted by: Boris Kochergin Modified: head/sbin/fsck_msdosfs/check.c Modified:

svn commit: r242399 - stable/8/bin/cat

2012-10-31 Thread Jaakko Heinonen
Author: jh Date: Wed Oct 31 17:00:36 2012 New Revision: 242399 URL: http://svn.freebsd.org/changeset/base/242399 Log: MFC r238652: style(9). Modified: stable/8/bin/cat/cat.c Directory Properties: stable/8/bin/cat/ (props changed) Modified: stable/8/bin/cat/cat.c

svn commit: r242400 - stable/8/bin/cat

2012-10-31 Thread Jaakko Heinonen
Author: jh Date: Wed Oct 31 17:01:56 2012 New Revision: 242400 URL: http://svn.freebsd.org/changeset/base/242400 Log: MFC r238653: Use proper error message when fstat(2) fails on stdout. PR: bin/159746 Modified: stable/8/bin/cat/cat.c Directory Properties: stable/8/bin/cat/

svn commit: r242130 - head/lib/libgeom

2012-10-26 Thread Jaakko Heinonen
Author: jh Date: Fri Oct 26 12:46:33 2012 New Revision: 242130 URL: http://svn.freebsd.org/changeset/base/242130 Log: 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 syntax errors.

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

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)

svn commit: r241098 - stable/8/usr.sbin/lpr/common_source

2012-10-01 Thread Jaakko Heinonen
Author: jh Date: Mon Oct 1 14:52:34 2012 New Revision: 241098 URL: http://svn.freebsd.org/changeset/base/241098 Log: MFC r238546: Remove trailing whitespace. Modified: stable/8/usr.sbin/lpr/common_source/common.c Directory Properties: stable/8/usr.sbin/lpr/ (props changed)

svn commit: r241099 - stable/8/usr.sbin/lpr/common_source

2012-10-01 Thread Jaakko Heinonen
Author: jh Date: Mon Oct 1 14:55:22 2012 New Revision: 241099 URL: http://svn.freebsd.org/changeset/base/241099 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

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

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

svn commit: r239612 - head/sbin/camcontrol

2012-08-23 Thread Jaakko Heinonen
Author: jh Date: Thu Aug 23 16:25:36 2012 New Revision: 239612 URL: http://svn.freebsd.org/changeset/base/239612 Log: Check the return value of sbuf_finish(). Modified: head/sbin/camcontrol/camcontrol.c Modified: head/sbin/camcontrol/camcontrol.c

svn commit: r239257 - head/sys/kern

2012-08-14 Thread Jaakko Heinonen
Author: jh Date: Tue Aug 14 19:16:30 2012 New Revision: 239257 URL: http://svn.freebsd.org/changeset/base/239257 Log: Reserve room for the terminating NUL when setting or getting kernel environment variables. KENV_MNAMELEN and KENV_MVALLEN doesn't include space for the terminating NUL.

svn commit: r238991 - head/sys/dev/md

2012-08-02 Thread Jaakko Heinonen
Author: jh Date: Thu Aug 2 15:05:34 2012 New Revision: 238991 URL: http://svn.freebsd.org/changeset/base/238991 Log: Disallow sectorsize larger than MAXPHYS and mediasize smaller than sectorsize. PR: 169947 Submitted by: Filip Palian (original version) Reviewed by: kib

svn commit: r238652 - head/bin/cat

2012-07-20 Thread Jaakko Heinonen
Author: jh Date: Fri Jul 20 08:31:36 2012 New Revision: 238652 URL: http://svn.freebsd.org/changeset/base/238652 Log: style(9). Modified: head/bin/cat/cat.c Modified: head/bin/cat/cat.c == --- head/bin/cat/cat.c

svn commit: r238653 - head/bin/cat

2012-07-20 Thread Jaakko Heinonen
Author: jh Date: Fri Jul 20 08:33:23 2012 New Revision: 238653 URL: http://svn.freebsd.org/changeset/base/238653 Log: Use proper error message when fstat(2) fails on stdout. PR: bin/159746 Submitted by: Alex K. Modified: head/bin/cat/cat.c Modified: head/bin/cat/cat.c

svn commit: r238546 - head/usr.sbin/lpr/common_source

2012-07-17 Thread Jaakko Heinonen
Author: jh Date: Tue Jul 17 09:31:05 2012 New Revision: 238546 URL: http://svn.freebsd.org/changeset/base/238546 Log: Remove trailing whitespace. MFC after:2 weeks Modified: head/usr.sbin/lpr/common_source/common.c Modified: head/usr.sbin/lpr/common_source/common.c

svn commit: r238547 - head/usr.sbin/lpr/common_source

2012-07-17 Thread Jaakko Heinonen
Author: jh Date: Tue Jul 17 09:34:52 2012 New Revision: 238547 URL: http://svn.freebsd.org/changeset/base/238547 Log: 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 differently compared to

svn commit: r238497 - stable/7/sbin/mount_ntfs

2012-07-15 Thread Jaakko Heinonen
Author: jh Date: Sun Jul 15 19:05:58 2012 New Revision: 238497 URL: http://svn.freebsd.org/changeset/base/238497 Log: MFC r230642: Remove trailing whitespace. Modified: stable/7/sbin/mount_ntfs/mount_ntfs.c Directory Properties: stable/7/sbin/mount_ntfs/ (props changed) Modified:

svn commit: r236901 - stable/8/sbin/mount

2012-06-11 Thread Jaakko Heinonen
Author: jh Date: Mon Jun 11 18:02:30 2012 New Revision: 236901 URL: http://svn.freebsd.org/changeset/base/236901 Log: MFC r230373: Change mount_fs() to not exit on error. The failok mount option requires that errors are passed to the caller. PR: 163668 Modified:

svn commit: r236904 - stable/8/sbin/mount

2012-06-11 Thread Jaakko Heinonen
Author: jh Date: Mon Jun 11 18:22:04 2012 New Revision: 236904 URL: http://svn.freebsd.org/changeset/base/236904 Log: MFC r230377: Don't print the nmount(2) provided error message if it is empty. Modified: stable/8/sbin/mount/mount_fs.c Directory Properties: stable/8/sbin/mount/

svn commit: r236440 - stable/8/sbin/mount_ntfs

2012-06-02 Thread Jaakko Heinonen
Author: jh Date: Sat Jun 2 10:14:55 2012 New Revision: 236440 URL: http://svn.freebsd.org/changeset/base/236440 Log: MFC r230642: Remove trailing whitespace. Modified: stable/8/sbin/mount_ntfs/mount_ntfs.c Directory Properties: stable/8/sbin/mount_ntfs/ (props changed) Modified:

svn commit: r235509 - stable/8/usr.sbin/wake

2012-05-16 Thread Jaakko Heinonen
Author: jh Date: Wed May 16 17:26:14 2012 New Revision: 235509 URL: http://svn.freebsd.org/changeset/base/235509 Log: MFC r232102: Exit with proper status when wake() fails. PR: bin/153527 Modified: stable/8/usr.sbin/wake/wake.c Directory Properties: stable/8/usr.sbin/wake/

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).

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)

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: r234489 - head/sys/kern

2012-04-20 Thread Jaakko Heinonen
Author: jh Date: Fri Apr 20 10:08:30 2012 New Revision: 234489 URL: http://svn.freebsd.org/changeset/base/234489 Log: 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). Discussed

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

2012-04-18 Thread Jaakko Heinonen
Author: jh Date: Wed Apr 18 15:19:00 2012 New Revision: 234421 URL: http://svn.freebsd.org/changeset/base/234421 Log: The part about exec atime no longer applies in the comment. Pointed out by: bde Modified: head/sys/ufs/ufs/ufs_vnops.c Modified: head/sys/ufs/ufs/ufs_vnops.c

svn commit: r234422 - head/sys/fs/tmpfs

2012-04-18 Thread Jaakko Heinonen
Author: jh Date: Wed Apr 18 15:22:08 2012 New Revision: 234422 URL: http://svn.freebsd.org/changeset/base/234422 Log: Return EOPNOTSUPP rather than EPERM for the SF_SNAPSHOT flag because tmpfs doesn't support snapshots. Suggested by: bde Modified: head/sys/fs/tmpfs/tmpfs_subr.c

svn commit: r234346 - head/sys/fs/tmpfs

2012-04-16 Thread Jaakko Heinonen
Author: jh Date: Mon Apr 16 18:07:42 2012 New Revision: 234346 URL: http://svn.freebsd.org/changeset/base/234346 Log: tmpfs: Allow update mounts only for certain options. Since r230208 update mounts were allowed if the list of mount options contained the export option. This is not

svn commit: r234347 - head/sys/fs/tmpfs

2012-04-16 Thread Jaakko Heinonen
Author: jh Date: Mon Apr 16 18:10:34 2012 New Revision: 234347 URL: http://svn.freebsd.org/changeset/base/234347 Log: Sync tmpfs_chflags() with the recent changes to UFS: - Add a check for unsupported file flags. - Return EPERM when an user without PRIV_VFS_SYSFLAGS privilege attempts

Re: svn commit: r230252 - head/sys/fs/tmpfs

2012-04-13 Thread Jaakko Heinonen
On 2012-01-23, Mikolaj Golub wrote: I see two issues with this patch: What do you think about this patch? %%% Index: sys/fs/tmpfs/tmpfs.h === --- sys/fs/tmpfs/tmpfs.h(revision 234201) +++ sys/fs/tmpfs/tmpfs.h

svn commit: r234202 - head/lib/libc/sys

2012-04-12 Thread Jaakko Heinonen
Author: jh Date: Fri Apr 13 05:40:26 2012 New Revision: 234202 URL: http://svn.freebsd.org/changeset/base/234202 Log: Additional manual page updates for r234103. Submitted by: bde Modified: head/lib/libc/sys/chflags.2 Modified: head/lib/libc/sys/chflags.2

svn commit: r234203 - head/sys/fs/ext2fs

2012-04-12 Thread Jaakko Heinonen
Author: jh Date: Fri Apr 13 05:48:31 2012 New Revision: 234203 URL: http://svn.freebsd.org/changeset/base/234203 Log: Apply changes from r234103 to ext2fs: Return EPERM from ext2_setattr() when an user without PRIV_VFS_SYSFLAGS privilege attempts to toggle SF_SETTABLE flags. Flags

svn commit: r234139 - head/sys/fs/ext2fs

2012-04-11 Thread Jaakko Heinonen
Author: jh Date: Wed Apr 11 15:48:50 2012 New Revision: 234139 URL: http://svn.freebsd.org/changeset/base/234139 Log: Restore the blank line incorrectly removed in r234104. Pointed out by: bde Modified: head/sys/fs/ext2fs/ext2_vnops.c Modified: head/sys/fs/ext2fs/ext2_vnops.c

svn commit: r234103 - in head: lib/libc/sys sys/ufs/ufs

2012-04-10 Thread Jaakko Heinonen
Author: jh Date: Tue Apr 10 15:59:37 2012 New Revision: 234103 URL: http://svn.freebsd.org/changeset/base/234103 Log: - Return EPERM from ufs_setattr() when an user without PRIV_VFS_SYSFLAGS privilege attempts to toggle SF_SETTABLE flags. - Use the '^' operator in the SF_SNAPSHOT

svn commit: r234104 - head/sys/fs/ext2fs

2012-04-10 Thread Jaakko Heinonen
Author: jh Date: Tue Apr 10 16:05:52 2012 New Revision: 234104 URL: http://svn.freebsd.org/changeset/base/234104 Log: 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 functional change

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread Jaakko Heinonen
Hi, On 2012-04-06, Justin T. Gibbs wrote: Fix interrupt load balancing regression, introduced in revision 222813, that left all un-pinned interrupts assigned to CPU 0. sys/x86/x86/intr_machdep.c: In intr_shuffle_irqs(), remove CPU_SETOF() call that initialized the

Re: svn commit: r233961 - head/sys/x86/x86

2012-04-09 Thread Jaakko Heinonen
On 2012-04-09, John Baldwin wrote: I suspect in your case intr_add_cpu() is never called. I think Attilio is not correct in that it is not called for the BSP. Yes, it is not called for the BSP in set_interrupt_apic_ids(). This used to work because bit 0 was assigned statically. Also,

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

2012-04-04 Thread Jaakko Heinonen
Author: jh Date: Wed Apr 4 14:50:21 2012 New Revision: 233875 URL: http://svn.freebsd.org/changeset/base/233875 Log: Add a check for unsupported file flags to ufs_setattr(). Discussed with: bde MFC after:2 weeks Modified: head/sys/ufs/ufs/ufs_vnops.c Modified:

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

2012-04-02 Thread Jaakko Heinonen
Author: jh Date: Mon Apr 2 16:33:21 2012 New Revision: 233787 URL: http://svn.freebsd.org/changeset/base/233787 Log: - 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 the flags. -

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:

Re: svn commit: r233419 - head/sys/x86/include

2012-03-29 Thread Jaakko Heinonen
Hi, On 2012-03-24, Dimitry Andric wrote: Fix the following clang warning in sys/dev/dcons/dcons.c, caused by the recent changes in sys/x86/include/endian.h: sys/dev/dcons/dcons.c:190:15: error: implicit conversion from '__uint32_t' (aka 'unsigned int') to '__uint16_t' (aka

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

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)

svn commit: r233126 - head/sys/kern

2012-03-18 Thread Jaakko Heinonen
Author: jh Date: Sun Mar 18 19:13:32 2012 New Revision: 233126 URL: http://svn.freebsd.org/changeset/base/233126 Log: Cast wallclock.tv_sec to uint64_t to avoid overflow in the calculation. PR: kern/161552 Reviewed by: trasz Tested by:Nikos Vassiliadis MFC after:1

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

svn commit: r232975 - head/sys/kern

2012-03-14 Thread Jaakko Heinonen
Author: jh Date: Wed Mar 14 15:52:23 2012 New Revision: 232975 URL: http://svn.freebsd.org/changeset/base/232975 Log: Add an assert for proctree_lock to proc_to_reap(). Discussed with: kib MFC after:1 week Modified: head/sys/kern/kern_exit.c Modified:

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/

  1   2   3   4   5   >