svn commit: r212660 - head/sys/fs/devfs

2010-09-15 Thread Jaakko Heinonen
Author: jh Date: Wed Sep 15 14:23:55 2010 New Revision: 212660 URL: http://svn.freebsd.org/changeset/base/212660 Log: Remove empty devfs directories automatically. devfs_delete() now recursively removes empty parent directories unless the DEVFS_DEL_NORECURSE flag is specified. devfs_delet

svn commit: r212826 - head/sys/fs/devfs

2010-09-18 Thread Jaakko Heinonen
Author: jh Date: Sat Sep 18 18:37:41 2010 New Revision: 212826 URL: http://svn.freebsd.org/changeset/base/212826 Log: - For consistency, remove "." and ".." entries from de_dlist before calling devfs_delete() (and thus possibly dropping dm_lock) in devfs_rmdir_empty(). - Assert that we

svn commit: r212966 - head/sys/fs/devfs

2010-09-21 Thread Jaakko Heinonen
Author: jh Date: Tue Sep 21 16:49:02 2010 New Revision: 212966 URL: http://svn.freebsd.org/changeset/base/212966 Log: Modify devfs_fqpn() for future use in devfs path reference counting code: - Accept devfs_mount and devfs_dirent as the arguments instead of a vnode. This generalizes t

svn commit: r213186 - stable/8/sbin/bsdlabel

2010-09-26 Thread Jaakko Heinonen
Author: jh Date: Sun Sep 26 16:52:05 2010 New Revision: 213186 URL: http://svn.freebsd.org/changeset/base/213186 Log: MFC r211873: Don't attempt to write label with GEOM_BSD based method if the class is not available. This improves error reporting when bsdlabel(8) is unable to open a de

svn commit: r213215 - in head/sys: conf fs/devfs

2010-09-27 Thread Jaakko Heinonen
else if (de->de_dirent->d_type == DT_DIR) Added: head/sys/fs/devfs/devfs_dir.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/fs/devfs/devfs_dir.c Mon Sep 27 17:47:09 2010 (r213215) @@ -0,0 +1,175 @@ +/*- + * Copyright (c)

svn commit: r213221 - head/sys/fs/devfs

2010-09-27 Thread Jaakko Heinonen
Author: jh Date: Mon Sep 27 18:20:56 2010 New Revision: 213221 URL: http://svn.freebsd.org/changeset/base/213221 Log: Add a new function devfs_dev_exists() to be able to find out if a specific devfs path already exists. The function will be used from kern_conf.c to detect duplicate device

svn commit: r213273 - stable/8/share/man/man9

2010-09-29 Thread Jaakko Heinonen
Author: jh Date: Wed Sep 29 14:36:25 2010 New Revision: 213273 URL: http://svn.freebsd.org/changeset/base/213273 Log: MFC r209168: Update vfs_busy(9) and vfs_unbusy(9) manual pages to better match the current behaviour of the functions. Modified: stable/8/share/man/man9/vfs_busy.9 st

svn commit: r213298 - head/sbin/mount

2010-09-30 Thread Jaakko Heinonen
Author: jh Date: Thu Sep 30 13:31:35 2010 New Revision: 213298 URL: http://svn.freebsd.org/changeset/base/213298 Log: Fix printing of the "rw" mount option in fstab(5) format (-p option). fstab(5) format requires that one of "rw", "rq" or "ro" is always specified. PR: bin/1230

svn commit: r213526 - in head: share/man/man9 sys/kern sys/sys

2010-10-07 Thread Jaakko Heinonen
Author: jh Date: Thu Oct 7 18:00:55 2010 New Revision: 213526 URL: http://svn.freebsd.org/changeset/base/213526 Log: Check the device name validity on device registration. A new function prep_devname() sanitizes a device name by removing leading and redundant sequential slashes. The func

svn commit: r213668 - head/sbin/mksnap_ffs

2010-10-10 Thread Jaakko Heinonen
Author: jh Date: Sun Oct 10 09:24:19 2010 New Revision: 213668 URL: http://svn.freebsd.org/changeset/base/213668 Log: - Print the nmount(2) provided error message only when it is set. - Ensure that the error message is NUL-terminated before printing it. PR: bin/147482 MFC afte

svn commit: r213690 - stable/7/usr.bin/truss

2010-10-11 Thread Jaakko Heinonen
Author: jh Date: Mon Oct 11 13:31:09 2010 New Revision: 213690 URL: http://svn.freebsd.org/changeset/base/213690 Log: MFC r200752: Avoid sharing the file descriptor of the output file with traced processes by setting the FD_CLOEXEC flag for the output file. PR: bin/140493

svn commit: r213725 - head/sys/fs/devfs

2010-10-12 Thread Jaakko Heinonen
Author: jh Date: Tue Oct 12 15:58:52 2010 New Revision: 213725 URL: http://svn.freebsd.org/changeset/base/213725 Log: Format prototypes to follow style(9) more closely. Discussed with: kib, phk Modified: head/sys/fs/devfs/devfs.h head/sys/fs/devfs/devfs_int.h Modified: head/sys/

svn commit: r213776 - stable/8/sys/cam/scsi

2010-10-13 Thread Jaakko Heinonen
Author: jh Date: Wed Oct 13 14:02:45 2010 New Revision: 213776 URL: http://svn.freebsd.org/changeset/base/213776 Log: MFC r200036 by scottl: Fix several cases where the periph lock was held over malloc. PR: kern/130735 Modified: stable/8/sys/cam/scsi/scsi_cd.c Directory Pr

svn commit: r213835 - head/gnu/usr.bin/groff/tmac

2010-10-14 Thread Jaakko Heinonen
Author: jh Date: Thu Oct 14 14:48:11 2010 New Revision: 213835 URL: http://svn.freebsd.org/changeset/base/213835 Log: Add FreeBSD 8.2. Reviewed by: ru MFC after:3 days Modified: head/gnu/usr.bin/groff/tmac/mdoc.local Modified: head/gnu/usr.bin/groff/tmac/mdoc.local ==

svn commit: r213843 - stable/7/sys/cam/scsi

2010-10-14 Thread Jaakko Heinonen
Author: jh Date: Thu Oct 14 18:02:31 2010 New Revision: 213843 URL: http://svn.freebsd.org/changeset/base/213843 Log: MFC r200036 by scottl: Fix several cases where the periph lock was held over malloc. PR: kern/130735 Modified: stable/7/sys/cam/scsi/scsi_cd.c Directory Pr

svn commit: r213951 - stable/8/gnu/usr.bin/groff/tmac

2010-10-17 Thread Jaakko Heinonen
Author: jh Date: Sun Oct 17 11:40:29 2010 New Revision: 213951 URL: http://svn.freebsd.org/changeset/base/213951 Log: MFC r213835: Add FreeBSD 8.2. Modified: stable/8/gnu/usr.bin/groff/tmac/mdoc.local Directory Properties: stable/8/gnu/usr.bin/groff/ (props changed) Modified: stable/8/gn

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

2010-10-17 Thread Jaakko Heinonen
Author: jh Date: Sun Oct 17 14:48:53 2010 New Revision: 213978 URL: http://svn.freebsd.org/changeset/base/213978 Log: MFC r213298: Fix printing of the "rw" mount option in fstab(5) format (-p option). fstab(5) format requires that one of "rw", "rq" or "ro" is always specified. PR:

svn commit: r214023 - stable/7/sbin/mount

2010-10-18 Thread Jaakko Heinonen
Author: jh Date: Mon Oct 18 14:36:51 2010 New Revision: 214023 URL: http://svn.freebsd.org/changeset/base/214023 Log: Remove incorrectly placed mergeinfo. This is a direct commit to stable/7. Modified: Directory Properties: stable/7/sbin/mount/mount_fs.c (props changed)

svn commit: r214024 - stable/7/sbin/mount

2010-10-18 Thread Jaakko Heinonen
Author: jh Date: Mon Oct 18 14:40:48 2010 New Revision: 214024 URL: http://svn.freebsd.org/changeset/base/214024 Log: MFC r213298: Fix printing of the "rw" mount option in fstab(5) format (-p option). fstab(5) format requires that one of "rw", "rq" or "ro" is always specified. PR:

Re: svn commit: r213817 - in stable/8: . contrib/top etc/periodic/daily gnu/usr.bin lib/libusb release/picobsd/floppy.tree/sbin sbin/geom/class/sched tools/regression/lib/msun tools/regression/usr.bin

2010-10-18 Thread Jaakko Heinonen
On 2010-10-14, David E. O'Brien wrote: > MFC r212770 & r212832: > + Add the SCRIPT environmental variable to the sub-shell. > + Add the 'command' argument (if supplied on the command line) > to the typescript file. I don't think that this commit placed mergeinfo correctly. The merg

svn commit: r214063 - head/sys/geom

2010-10-19 Thread Jaakko Heinonen
Author: jh Date: Tue Oct 19 16:48:49 2010 New Revision: 214063 URL: http://svn.freebsd.org/changeset/base/214063 Log: Use make_dev_p(9) with the MAKEDEV_CHECKNAME flag instead of make_dev(9) and print a diagnostic if the call fails. This avoids a panic when a device with an invalid name i

Re: svn commit: r214148 - head/lib/libc/stdlib

2010-10-21 Thread Jaakko Heinonen
On 2010-10-21, Benedict Reuschling wrote: > Document strtonum()s behavior of setting errno to 0 when no error is found. strtonum(3) doesn't behave like this. Anyway setting errno to 0 in a library function would violate the C99 standard. %%% #include #include #include #include int main() {

svn commit: r214277 - head/share/man/man9

2010-10-24 Thread Jaakko Heinonen
Author: jh Date: Sun Oct 24 15:56:21 2010 New Revision: 214277 URL: http://svn.freebsd.org/changeset/base/214277 Log: Document make_dev_p(9). Reviewed by: brueffer, kib Modified: head/share/man/man9/Makefile head/share/man/man9/make_dev.9 Modified: head/share/man/man9/Makefile ==

svn commit: r214278 - head/share/man/man9

2010-10-24 Thread Jaakko Heinonen
Author: jh Date: Sun Oct 24 16:10:32 2010 New Revision: 214278 URL: http://svn.freebsd.org/changeset/base/214278 Log: Use .Dv with NULL. Modified: head/share/man/man9/make_dev.9 Modified: head/share/man/man9/make_dev.9 =

svn commit: r214418 - head/sys/nfsclient

2010-10-27 Thread Jaakko Heinonen
Author: jh Date: Wed Oct 27 14:08:37 2010 New Revision: 214418 URL: http://svn.freebsd.org/changeset/base/214418 Log: Add missing "readahead" to the nfs_opts list. PR: 151321 Tested by:Simon Walton MFC after:2 weeks Modified: head/sys/nfsclient/nfs_vfsops.c Modifie

svn commit: r214419 - head/sbin/mount_nfs

2010-10-27 Thread Jaakko Heinonen
Author: jh Date: Wed Oct 27 14:11:11 2010 New Revision: 214419 URL: http://svn.freebsd.org/changeset/base/214419 Log: Correct a typo. PR: 151321 Submitted by: Simon Walton MFC after:3 days Modified: head/sbin/mount_nfs/mount_nfs.c Modified: head/sbin/mount_nfs/mount_nf

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

2010-10-29 Thread Jaakko Heinonen
Author: jh Date: Fri Oct 29 15:03:29 2010 New Revision: 214514 URL: http://svn.freebsd.org/changeset/base/214514 Log: - Note that non-superusers are not allowed to set the SF_ARCHIVED flag. [1] - Note that also fchflags(2) will return EPERM for attempts to set or unset the SF_SNAPSHOT

svn commit: r214618 - stable/8/sbin/mksnap_ffs

2010-10-31 Thread Jaakko Heinonen
Author: jh Date: Mon Nov 1 06:17:02 2010 New Revision: 214618 URL: http://svn.freebsd.org/changeset/base/214618 Log: MFC r213668: - Print the nmount(2) provided error message only when it is set. - Ensure that the error message is NUL-terminated before printing it. PR: bin

svn commit: r214619 - stable/8/sbin/mount_nfs

2010-10-31 Thread Jaakko Heinonen
Author: jh Date: Mon Nov 1 06:19:44 2010 New Revision: 214619 URL: http://svn.freebsd.org/changeset/base/214619 Log: MFC r214419: Correct a typo. PR: 151321 Modified: stable/8/sbin/mount_nfs/mount_nfs.c Directory Properties: stable/8/sbin/mount_nfs/ (props changed) Modifi

svn commit: r227823 - in head: share/man/man4 sys/dev/acpi_support

2011-11-22 Thread Jaakko Heinonen
Author: jh Date: Tue Nov 22 16:44:50 2011 New Revision: 227823 URL: http://svn.freebsd.org/changeset/base/227823 Log: Append unit number to the WMI status device name to allow attaching multiple acpi_wmi(4) instances. PR: kern/162491 Reviewed by: avg Modified: head/share/m

svn commit: r228021 - head/sys/conf

2011-11-27 Thread Jaakko Heinonen
Author: jh Date: Sun Nov 27 13:53:36 2011 New Revision: 228021 URL: http://svn.freebsd.org/changeset/base/228021 Log: Add LINT-NOINET LINT-NOINET6 and LINT-NOIP to the make clean target. This was missed in r221353. Modified: head/sys/conf/makeLINT.mk Modified: head/sys/conf/makeLINT.mk ===

Re: svn commit: r228071 - head/sys/net

2011-11-28 Thread Jaakko Heinonen
On 2011-11-28, Bjoern A. Zeeb wrote: > > static void > > if_clone_free(struct if_clone *ifc) > > { > > - for (int bytoff = 0; bytoff < ifc->ifc_bmlen; bytoff++) { > > - KASSERT(ifc->ifc_units[bytoff] == 0x00, > > - ("ifc_units[%d] is not empty", bytoff)); > > - } > > >

svn commit: r228163 - head

2011-11-30 Thread Jaakko Heinonen
Author: jh Date: Wed Nov 30 20:08:30 2011 New Revision: 228163 URL: http://svn.freebsd.org/changeset/base/228163 Log: Add an entry for r227823. Modified: head/UPDATING Modified: head/UPDATING == --- head/UPDATING

svn commit: r228358 - head/share/man/man9

2011-12-09 Thread Jaakko Heinonen
Author: jh Date: Fri Dec 9 13:15:19 2011 New Revision: 228358 URL: http://svn.freebsd.org/changeset/base/228358 Log: - Fix markup. - Remove trailing whitespace. Modified: head/share/man/man9/sbuf.9 Modified: head/share/man/man9/sbuf.9 ==

svn commit: r228359 - head/share/man/man9

2011-12-09 Thread Jaakko Heinonen
Author: jh Date: Fri Dec 9 13:28:41 2011 New Revision: 228359 URL: http://svn.freebsd.org/changeset/base/228359 Log: sbuf_data() hasn't returned NULL for overflowed buffers since r71721. Modified: head/share/man/man9/sbuf.9 Modified: head/share/man/man9/sbuf.9 ==

svn commit: r228784 - head/share/man/man9

2011-12-21 Thread Jaakko Heinonen
Author: jh Date: Wed Dec 21 17:03:30 2011 New Revision: 228784 URL: http://svn.freebsd.org/changeset/base/228784 Log: Follow style(9) more closely in the example. Modified: head/share/man/man9/sbuf.9 Modified: head/share/man/man9/sbuf.9 ===

svn commit: r214748 - head/sys/geom

2010-11-03 Thread Jaakko Heinonen
Author: jh Date: Wed Nov 3 16:19:35 2010 New Revision: 214748 URL: http://svn.freebsd.org/changeset/base/214748 Log: Extend the g_eventlock mutex coverage in one_event() to include setting of the EV_DONE flag and use the mutex to protect against losing wakeups in g_waitfor_event(). Rep

svn commit: r214839 - stable/8/usr.sbin/freebsd-update

2010-11-05 Thread Jaakko Heinonen
Author: jh Date: Fri Nov 5 16:04:10 2010 New Revision: 214839 URL: http://svn.freebsd.org/changeset/base/214839 Log: MFC r212505: In backup_kernel(), support backing up subdirectories and handle files with spaces correctly. Modified: stable/8/usr.sbin/freebsd-update/freebsd-update.sh

svn commit: r214917 - head/sys/kern

2010-11-07 Thread Jaakko Heinonen
Author: jh Date: Sun Nov 7 14:28:01 2010 New Revision: 214917 URL: http://svn.freebsd.org/changeset/base/214917 Log: Add missing curly brackets. By chance, the missing brackets didn't alter the code behavior. Submitted by: Lucius Windschuh Modified: head/sys/kern/kern_conf.c Modified

svn commit: r215091 - stable/8/sys/nfsclient

2010-11-10 Thread Jaakko Heinonen
Author: jh Date: Wed Nov 10 17:17:38 2010 New Revision: 215091 URL: http://svn.freebsd.org/changeset/base/215091 Log: MFC r214418: Add missing "readahead" to the nfs_opts list. PR: 151321 Modified: stable/8/sys/nfsclient/nfs_vfsops.c Directory Properties: stable/8/sys/ (pro

svn commit: r215235 - head/usr.bin/truss

2010-11-13 Thread Jaakko Heinonen
Author: jh Date: Sat Nov 13 09:28:49 2010 New Revision: 215235 URL: http://svn.freebsd.org/changeset/base/215235 Log: Set FD_CLOEXEC for the output file only when the file has been specified with the -o option. Setting the flag for stderr (the default) could cause the traced process to redir

svn commit: r215466 - stable/8/usr.bin/truss

2010-11-18 Thread Jaakko Heinonen
Author: jh Date: Thu Nov 18 19:06:56 2010 New Revision: 215466 URL: http://svn.freebsd.org/changeset/base/215466 Log: MFC r215235: Set FD_CLOEXEC for the output file only when the file has been specified with the -o option. Setting the flag for stderr (the default) could cause the trace

svn commit: r215467 - stable/7/usr.bin/truss

2010-11-18 Thread Jaakko Heinonen
Author: jh Date: Thu Nov 18 19:08:56 2010 New Revision: 215467 URL: http://svn.freebsd.org/changeset/base/215467 Log: MFC r215235: Set FD_CLOEXEC for the output file only when the file has been specified with the -o option. Setting the flag for stderr (the default) could cause the trace

svn commit: r215687 - head/sys/geom

2010-11-22 Thread Jaakko Heinonen
Author: jh Date: Mon Nov 22 16:47:53 2010 New Revision: 215687 URL: http://svn.freebsd.org/changeset/base/215687 Log: Use g_eventlock to protect against losing wakeups in the g_event process and replace tsleep(9) with msleep(9) which doesn't use a timeout. The previously used timeout caused

svn commit: r216098 - head/sys/geom/label

2010-12-01 Thread Jaakko Heinonen
Author: jh Date: Wed Dec 1 19:24:07 2010 New Revision: 216098 URL: http://svn.freebsd.org/changeset/base/216098 Log: - Report an error when a label with invalid name is attempted to be created with glabel(8). - Fix a typo in an error message. - Fix comment typos. Approved by: pjd

svn commit: r216177 - head/lib/libgeom

2010-12-04 Thread Jaakko Heinonen
Author: jh Date: Sat Dec 4 08:44:56 2010 New Revision: 216177 URL: http://svn.freebsd.org/changeset/base/216177 Log: Remove stale link. PR: 151252 Modified: head/lib/libgeom/libgeom.3 Modified: head/lib/libgeom/libgeom.3 ===

svn commit: r216224 - head/usr.bin/truss

2010-12-06 Thread Jaakko Heinonen
Author: jh Date: Mon Dec 6 09:18:11 2010 New Revision: 216224 URL: http://svn.freebsd.org/changeset/base/216224 Log: Don't write the terminating NUL past end of buffer. PR: bin/152345 Submitted by: Mateusz Guzik Modified: head/usr.bin/truss/syscalls.c Modified: head/usr.bin

svn commit: r216391 - head/sys/fs/devfs

2010-12-12 Thread Jaakko Heinonen
Author: jh Date: Sun Dec 12 08:52:13 2010 New Revision: 216391 URL: http://svn.freebsd.org/changeset/base/216391 Log: Handle the special ruleset 0 in devfs_ruleset_use(). An attempt set the current ruleset to 0 with command "devfs ruleset 0" triggered a KASSERT in devfs_ruleset_create().

svn commit: r216461 - head/sys/fs/devfs

2010-12-15 Thread Jaakko Heinonen
Author: jh Date: Wed Dec 15 16:42:44 2010 New Revision: 216461 URL: http://svn.freebsd.org/changeset/base/216461 Log: - Assert that dm_lock is exclusively held in devfs_rules_apply() and in devfs_vmkdir() while adding the entry to de_list of the parent. - Apply devfs rules to newly created

svn commit: r216462 - head/sys/fs/devfs

2010-12-15 Thread Jaakko Heinonen
Author: jh Date: Wed Dec 15 16:49:47 2010 New Revision: 216462 URL: http://svn.freebsd.org/changeset/base/216462 Log: Don't allow user created symbolic links to cover another entries marked with DE_USER. If a devfs rule hid such entry, it was possible to create infinite number of symbolic li

Re: svn commit: r216461 - head/sys/fs/devfs

2010-12-15 Thread Jaakko Heinonen
On 2010-12-15, Jaakko Heinonen wrote: > - Assert that dm_lock is exclusively held in devfs_rules_apply() and > in devfs_vmkdir() while adding the entry to de_list of the parent. > - Apply devfs rules to newly created directories and symbolic links. > > PR:

svn commit: r216489 - head/libexec/rtld-elf

2010-12-16 Thread Jaakko Heinonen
Author: jh Date: Thu Dec 16 16:56:44 2010 New Revision: 216489 URL: http://svn.freebsd.org/changeset/base/216489 Log: If dlclose() is called recursively from a _fini() function, the inner dlclose() call may unload the object of the outer call prematurely because objects are unreferenced befo

Re: svn commit: r196650 - head/lib/libpam/modules/pam_lastlog

2009-08-30 Thread Jaakko Heinonen
On 2009-08-30, Jonathan Chen wrote: > New Revision: 196650 > > Prevents pam_lastlog from segfaulting on session close when tty is null. Thanks! This is PR bin/112694. -- Jaakko ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailma

svn commit: r197776 - head/share/misc

2009-10-05 Thread Jaakko Heinonen
burkholder\nj...@freebsd.org\n2000/05/16"] jamie [label="Jamie gritton\nja...@freebsd.org\n2009/01/28"] jayanth [label="Jayanth vijayaraghavan\njaya...@freebsd.org\n2000/05/08"] +jh [label="Jaakko heinonen\...@freebsd.org\n2009/10/02"] jilles [label="Jilles

svn commit: r197833 - head/usr.sbin/cdcontrol

2009-10-07 Thread Jaakko Heinonen
Author: jh Date: Wed Oct 7 13:25:22 2009 New Revision: 197833 URL: http://svn.freebsd.org/changeset/base/197833 Log: When run() returns an error, print the error message also in non-interactive mode. Previously error messages were printed only in interactive mode. PR: bin/124

svn commit: r197956 - head/usr.bin/systat

2009-10-11 Thread Jaakko Heinonen
Author: jh Date: Sun Oct 11 12:32:25 2009 New Revision: 197956 URL: http://svn.freebsd.org/changeset/base/197956 Log: - Catch SIGHUP to perform cleanup before exiting. - Exit if getch() returns with an error other than EINTR. Otherwise systat(1) may get stuck in an infinite loop if it does

svn commit: r198175 - head/usr.bin/touch

2009-10-16 Thread Jaakko Heinonen
Author: jh Date: Fri Oct 16 20:52:45 2009 New Revision: 198175 URL: http://svn.freebsd.org/changeset/base/198175 Log: - If lstat()/stat() fails with an error other than ENOENT, don't ignore the error and assume that the file doesn't exist. Touch could return success with -c option even i

svn commit: r198290 - head/sys/fs/nfsclient

2009-10-20 Thread Jaakko Heinonen
Author: jh Date: Tue Oct 20 15:01:46 2009 New Revision: 198290 URL: http://svn.freebsd.org/changeset/base/198290 Log: Fix ordering of nfscl_modevent() and ncl_uninit(). nfscl_modevent() must be called after ncl_uninit() when unloading the nfscl module because ncl_uninit() uses ncl_iod_mutex

svn commit: r198289 - head/sys/fs/nfsclient

2009-10-20 Thread Jaakko Heinonen
Author: jh Date: Tue Oct 20 14:57:26 2009 New Revision: 198289 URL: http://svn.freebsd.org/changeset/base/198289 Log: Fix comment typos. Reviewed by: rmacklem Approved by: trasz (mentor) Modified: head/sys/fs/nfsclient/nfs_clstate.c Modified: head/sys/fs/nfsclient/nfs_clstate.c

svn commit: r198291 - head/sys/fs/nfsclient

2009-10-20 Thread Jaakko Heinonen
Author: jh Date: Tue Oct 20 15:06:18 2009 New Revision: 198291 URL: http://svn.freebsd.org/changeset/base/198291 Log: Unloading of the nfscl module is unsupported because newnfslock doesn't support unloading. It's not trivial to implement newnfslock unloading so for now just admit that unloa

svn commit: r198491 - head/sbin/mount_nfs

2009-10-26 Thread Jaakko Heinonen
Author: jh Date: Mon Oct 26 14:57:33 2009 New Revision: 198491 URL: http://svn.freebsd.org/changeset/base/198491 Log: Fix parsing of mount options specified with -o in case an option with value is preceded by an option without value (for example -o option1,option2=value). Options must be sep

svn commit: r198519 - head/sys/dev/ata

2009-10-27 Thread Jaakko Heinonen
Author: jh Date: Tue Oct 27 17:12:59 2009 New Revision: 198519 URL: http://svn.freebsd.org/changeset/base/198519 Log: Don't ignore the return value of g_modevent() in acd_modevent(). Approved by: trasz (mentor) Modified: head/sys/dev/ata/atapi-cd.c Modified: head/sys/dev/ata/atapi-cd.c

svn commit: r198520 - head/sys/dev/fdc

2009-10-27 Thread Jaakko Heinonen
Author: jh Date: Tue Oct 27 17:14:22 2009 New Revision: 198520 URL: http://svn.freebsd.org/changeset/base/198520 Log: Don't ignore the return value of g_modevent() in fdc_modevent(). Approved by: trasz (mentor) Modified: head/sys/dev/fdc/fdc.c Modified: head/sys/dev/fdc/fdc.c =

svn commit: r198857 - head/sys/dev/fdc

2009-11-03 Thread Jaakko Heinonen
Author: jh Date: Tue Nov 3 19:05:05 2009 New Revision: 198857 URL: http://svn.freebsd.org/changeset/base/198857 Log: fdc(4) module unload fixes: - Tear down the interrupt handler before killing the worker thread. - Do geom withering as GEOM event to avoid acquiring the GEOM topology

Re: svn commit: r224778 - in head: sys/amd64/linux32 sys/cddl/compat/opensolaris/sys sys/compat/freebsd32 sys/compat/linux sys/compat/svr4 sys/dev/aac sys/dev/amr sys/dev/hwpmc sys/dev/ipmi sys/dev/is

2011-08-16 Thread Jaakko Heinonen
Hi, On 2011-08-11, Robert Watson wrote: > Second-to-last commit implementing Capsicum capabilities in the FreeBSD > kernel for FreeBSD 9.0: This commit seems to have broken nfsd for me. > Modified: head/sys/fs/nfsserver/nfs_nfsdport.c > ==

Re: svn commit: r224778 - in head: sys/amd64/linux32 sys/cddl/compat/opensolaris/sys sys/compat/freebsd32 sys/compat/linux sys/compat/svr4 sys/dev/aac sys/dev/amr sys/dev/hwpmc sys/dev/ipmi sys/dev/is

2011-08-16 Thread Jaakko Heinonen
On 2011-08-16, Jonathan Anderson wrote: > Fixed in r224911. Thanks! > On 16 August 2011 14:57, Jonathan Anderson wrote: > > It looks like r224086 added "goto out" error handling, so our "return > > (error)" seems to be a merge conflict. -- Jaakko ___

svn commit: r224944 - stable/8/usr.bin/rs

2011-08-17 Thread Jaakko Heinonen
Author: jh Date: Wed Aug 17 15:19:25 2011 New Revision: 224944 URL: http://svn.freebsd.org/changeset/base/224944 Log: MFC r218410: Handle EOF when skipping lines. Modified: stable/8/usr.bin/rs/rs.c Directory Properties: stable/8/usr.bin/rs/ (props changed) Modified: stable/8/usr.bin/rs/r

svn commit: r224945 - stable/8/usr.bin/rs

2011-08-17 Thread Jaakko Heinonen
Author: jh Date: Wed Aug 17 15:22:58 2011 New Revision: 224945 URL: http://svn.freebsd.org/changeset/base/224945 Log: MFC r218411: - Use LINE_MAX from limits.h as the maximum line length instead of BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE). - Error out if we encounter a line

svn commit: r224946 - stable/8/usr.bin/rs

2011-08-17 Thread Jaakko Heinonen
Author: jh Date: Wed Aug 17 15:24:25 2011 New Revision: 224946 URL: http://svn.freebsd.org/changeset/base/224946 Log: MFC r219038: Document the input line length limit. Modified: stable/8/usr.bin/rs/rs.1 Directory Properties: stable/8/usr.bin/rs/ (props changed) Modified: stable/8/usr.bi

svn commit: r225039 - stable/7/sys/fs/devfs

2011-08-20 Thread Jaakko Heinonen
Author: jh Date: Sat Aug 20 15:21:02 2011 New Revision: 225039 URL: http://svn.freebsd.org/changeset/base/225039 Log: MFC r208717: Don't try to call cdevsw d_close() method when devfs_close() is called because of insmntque1() failure. Modified: stable/7/sys/fs/devfs/devfs_vnops.c Direc

svn commit: r225353 - head/sys/boot/forth

2011-09-02 Thread Jaakko Heinonen
Author: jh Date: Fri Sep 2 19:29:37 2011 New Revision: 225353 URL: http://svn.freebsd.org/changeset/base/225353 Log: Restore behavior of the autoboot_delay="-1" boot menu setting to the pre-r222417 state. The behavior was essentially reversed in r222417 which can cause confusion. PR:

svn commit: r225587 - head/etc/defaults

2011-09-15 Thread Jaakko Heinonen
Author: jh Date: Thu Sep 15 13:32:43 2011 New Revision: 225587 URL: http://svn.freebsd.org/changeset/base/225587 Log: Expose "log" in the default devfs rules. /etc/rc.d/jail creates /dev/log as a symbolic link. PR: conf/160711 Submitted by: Jase Thew Approved by: re (kib)

svn commit: r225731 - stable/8/etc/defaults

2011-09-22 Thread Jaakko Heinonen
Author: jh Date: Thu Sep 22 17:59:33 2011 New Revision: 225731 URL: http://svn.freebsd.org/changeset/base/225731 Log: MFC r225587: Expose "log" in the default devfs rules. /etc/rc.d/jail creates /dev/log as a symbolic link. PR: conf/160711 Modified: stable/8/etc/defaults

svn commit: r225732 - stable/7/etc/defaults

2011-09-22 Thread Jaakko Heinonen
Author: jh Date: Thu Sep 22 18:21:15 2011 New Revision: 225732 URL: http://svn.freebsd.org/changeset/base/225732 Log: MFC r225587: Expose "log" in the default devfs rules. /etc/rc.d/jail creates /dev/log as a symbolic link. PR: conf/160711 Modified: stable/7/etc/defaults

svn commit: r226106 - stable/7/usr.bin/rs

2011-10-07 Thread Jaakko Heinonen
Author: jh Date: Fri Oct 7 14:27:20 2011 New Revision: 226106 URL: http://svn.freebsd.org/changeset/base/226106 Log: MFC r218410: Handle EOF when skipping lines. Modified: stable/7/usr.bin/rs/rs.c Directory Properties: stable/7/usr.bin/rs/ (props changed) Modified: stable/7/usr.bin/rs/r

svn commit: r226107 - stable/7/usr.bin/rs

2011-10-07 Thread Jaakko Heinonen
Author: jh Date: Fri Oct 7 14:29:15 2011 New Revision: 226107 URL: http://svn.freebsd.org/changeset/base/226107 Log: MFC r218411: - Use LINE_MAX from limits.h as the maximum line length instead of BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE). - Error out if we encounter a line

svn commit: r226108 - stable/7/usr.bin/rs

2011-10-07 Thread Jaakko Heinonen
Author: jh Date: Fri Oct 7 14:30:45 2011 New Revision: 226108 URL: http://svn.freebsd.org/changeset/base/226108 Log: MFC r219038: Document the input line length limit. Modified: stable/7/usr.bin/rs/rs.1 Directory Properties: stable/7/usr.bin/rs/ (props changed) Modified: stable/7/usr.bi

Re: svn commit: r226151 - head/usr.bin/kdump

2011-10-10 Thread Jaakko Heinonen
Hi, On 2011-10-08, Dag-Erling Smorgrav wrote: > Fix casting. > > Modified: head/usr.bin/kdump/kdump.c > == > --- head/usr.bin/kdump/kdump.cSat Oct 8 12:10:16 2011 > (r226150) > +++ head/usr.bin/kdump/k

Re: svn commit: r226151 - head/usr.bin/kdump

2011-10-11 Thread Jaakko Heinonen
On 2011-10-11, Dag-Erling Smørgrav wrote: > Jaakko Heinonen writes: > > Dag-Erling Smorgrav writes: > > > +#define print_number(i,n,c) \ > > > + do {\

Re: svn commit: r226151 - head/usr.bin/kdump

2011-10-11 Thread Jaakko Heinonen
On 2011-10-11, Dag-Erling Smørgrav wrote: > @@ -113,6 +114,8 @@ > #define print_number(i,n,c) do { \ > if (decimal)\ > printf("%c%jd", c, (intmax_t)*i); \ > + else if (sizeof(*i) == sizeof

svn commit: r216922 - head/bin/setfacl

2011-01-03 Thread Jaakko Heinonen
Author: jh Date: Mon Jan 3 17:17:31 2011 New Revision: 216922 URL: http://svn.freebsd.org/changeset/base/216922 Log: Increase carried_error if we skip a file due to an error. This ensures that setfacl(1) exits with proper exit status on failure. PR: bin/149780 Submitted by: Æ

Re: svn commit: r216954 - head/sys/kern

2011-01-05 Thread Jaakko Heinonen
On 2011-01-04, John Baldwin wrote: > Err, no, the point of NOTREACHED is to serve as documentation for lint(1), but > that has subsequently been obsoleted by __dead2. style(9) is out of date then? -- Jaakko ___ svn-src-all@freebsd.org mailing list http

svn commit: r217090 - head/etc

2011-01-07 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 7 10:59:22 2011 New Revision: 217090 URL: http://svn.freebsd.org/changeset/base/217090 Log: Warn if rules could not be read from a ruleset file. Now at least something gets logged if the file has syntax errors. PR: conf/91342 Silence on: freebsd-rc

Re: svn commit: r217090 - head/etc

2011-01-07 Thread Jaakko Heinonen
Hi, On 2011-01-07, Doug Barton wrote: > If by silence you mean that there was no comment on the PR in the future > please don't take that as tacit approval. There are a non-trivial number > of PRs assigned to -rc, and historically the practice has been not to > comment on them until someone in

svn commit: r217187 - head/etc/defaults

2011-01-09 Thread Jaakko Heinonen
Author: jh Date: Sun Jan 9 09:21:11 2011 New Revision: 217187 URL: http://svn.freebsd.org/changeset/base/217187 Log: Replace nfs4 with newnfs in netfs_types. nfs4 was removed in r192578 and mount(8) has supported newnfs since r192930. PR: conf/153655 Submitted by: Anonymous

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

2011-01-14 Thread Jaakko Heinonen
Author: jh Date: Fri Jan 14 11:12:56 2011 New Revision: 217392 URL: http://svn.freebsd.org/changeset/base/217392 Log: MFC r214748: Extend the g_eventlock mutex coverage in one_event() to include setting of the EV_DONE flag and use the mutex to protect against losing wakeups in g_waitfor

svn commit: r217443 - stable/7/sys/geom

2011-01-15 Thread Jaakko Heinonen
Author: jh Date: Sat Jan 15 09:36:31 2011 New Revision: 217443 URL: http://svn.freebsd.org/changeset/base/217443 Log: MFC r214748: Extend the g_eventlock mutex coverage in one_event() to include setting of the EV_DONE flag and use the mutex to protect against losing wakeups in g_waitfor

svn commit: r217544 - stable/8/sys/kern

2011-01-18 Thread Jaakko Heinonen
Author: jh Date: Tue Jan 18 16:49:51 2011 New Revision: 217544 URL: http://svn.freebsd.org/changeset/base/217544 Log: MFC r205682: Support only LOOKUP operation for "/" in relookup() because lookup() can't succeed for CREATE, DELETE and RENAME. Modified: stable/8/sys/kern/vfs_lookup.c

svn commit: r217719 - head/share/man/man9

2011-01-22 Thread Jaakko Heinonen
Author: jh Date: Sat Jan 22 15:19:25 2011 New Revision: 217719 URL: http://svn.freebsd.org/changeset/base/217719 Log: Fix typos. Modified: head/share/man/man9/make_dev.9 Modified: head/share/man/man9/make_dev.9 == --

svn commit: r217792 - head/sys/kern

2011-01-24 Thread Jaakko Heinonen
Author: jh Date: Mon Jan 24 17:08:26 2011 New Revision: 217792 URL: http://svn.freebsd.org/changeset/base/217792 Log: Replace spaces with tabs. Modified: head/sys/kern/vfs_mount.c Modified: head/sys/kern/vfs_mount.c

svn commit: r218172 - stable/8/bin/setfacl

2011-02-01 Thread Jaakko Heinonen
Author: jh Date: Tue Feb 1 16:11:31 2011 New Revision: 218172 URL: http://svn.freebsd.org/changeset/base/218172 Log: MFC r216922: Increase carried_error if we skip a file due to an error. This ensures that setfacl(1) exits with proper exit status on failure. PR: bin/149780

svn commit: r218197 - stable/8/etc/defaults

2011-02-02 Thread Jaakko Heinonen
Author: jh Date: Wed Feb 2 17:31:01 2011 New Revision: 218197 URL: http://svn.freebsd.org/changeset/base/218197 Log: MFC r217187: Replace nfs4 with newnfs in netfs_types. nfs4 was removed in r192578 and mount(8) has supported newnfs since r192930. PR: conf/153655 Modified

svn commit: r218410 - head/usr.bin/rs

2011-02-07 Thread Jaakko Heinonen
Author: jh Date: Mon Feb 7 18:05:56 2011 New Revision: 218410 URL: http://svn.freebsd.org/changeset/base/218410 Log: Handle EOF when skipping lines. Modified: head/usr.bin/rs/rs.c Modified: head/usr.bin/rs/rs.c == -

svn commit: r218411 - head/usr.bin/rs

2011-02-07 Thread Jaakko Heinonen
Author: jh Date: Mon Feb 7 18:10:18 2011 New Revision: 218411 URL: http://svn.freebsd.org/changeset/base/218411 Log: - Use LINE_MAX from limits.h as the maximum line length instead of BUFSIZ. Use LINE_MAX * 2 as the buffer size (BSIZE). - Error out if we encounter a line longer than LINE_

svn commit: r218489 - stable/8/etc

2011-02-09 Thread Jaakko Heinonen
Author: jh Date: Wed Feb 9 15:55:48 2011 New Revision: 218489 URL: http://svn.freebsd.org/changeset/base/218489 Log: MFC r217090: Warn if rules could not be read from a ruleset file. Now at least something gets logged if the file has syntax errors. PR: conf/91342 Modified

svn commit: r218549 - stable/7/etc

2011-02-11 Thread Jaakko Heinonen
Author: jh Date: Fri Feb 11 10:06:49 2011 New Revision: 218549 URL: http://svn.freebsd.org/changeset/base/218549 Log: MFC r217090: Warn if rules could not be read from a ruleset file. Now at least something gets logged if the file has syntax errors. PR: conf/91342 Modified

svn commit: r218852 - head/sys/kern

2011-02-19 Thread Jaakko Heinonen
Author: jh Date: Sat Feb 19 14:27:14 2011 New Revision: 218852 URL: http://svn.freebsd.org/changeset/base/218852 Log: Don't restore old mount options and flags if VFS_MOUNT(9) succeeds but vfs_export() fails. Restoring old options and flags after successful VFS_MOUNT(9) call may cause the fi

svn commit: r218919 - stable/8/sys/geom/label

2011-02-21 Thread Jaakko Heinonen
Author: jh Date: Mon Feb 21 16:30:27 2011 New Revision: 218919 URL: http://svn.freebsd.org/changeset/base/218919 Log: MFC r216098: - Report an error when a label with invalid name is attempted to be created with glabel(8). - Fix a typo in an error message. - Fix comment typos. Modi

svn commit: r218920 - stable/7/sys/geom/label

2011-02-21 Thread Jaakko Heinonen
Author: jh Date: Mon Feb 21 16:33:01 2011 New Revision: 218920 URL: http://svn.freebsd.org/changeset/base/218920 Log: MFC r216098: - Report an error when a label with invalid name is attempted to be created with glabel(8). - Fix a typo in an error message. - Fix comment typos. Modi

svn commit: r218951 - head/sbin/newfs

2011-02-22 Thread Jaakko Heinonen
Author: jh Date: Tue Feb 22 15:31:40 2011 New Revision: 218951 URL: http://svn.freebsd.org/changeset/base/218951 Log: Xref makefs(8). PR: 154708 Submitted by: jhs Modified: head/sbin/newfs/newfs.8 Modified: head/sbin/newfs/newfs.8

  1   2   3   4   5   >