The NetBSD Project

CVS log for src/sys/coda/coda_vfsops.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / coda

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.91: download - view: text, markup, annotated - select for diffs
Fri May 17 23:57:46 2024 UTC (11 months ago) by thorpej
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -3 lines
Remove unnecessary include of <sys/malloc.h>.

Revision 1.90: download - view: text, markup, annotated - select for diffs
Mon Mar 28 12:37:46 2022 UTC (3 years ago) by riastradh
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -3 lines
specfs: Let spec_node_lookup_by_dev wait for reclaim to finish.

vdevgone relies on this to ensure that if there is a concurrent
revoke in progress, it will wait for that revoke to finish -- that
way, it can guarantee all I/O operations have completed and the
device is closed.

Revision 1.87.6.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:04 2020 UTC (4 years, 4 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.87: preferred, colored; next MAIN 1.88: preferred, colored
Changes since revision 1.87: +9 -5 lines
Sync w/ HEAD.

Revision 1.89: download - view: text, markup, annotated - select for diffs
Fri Nov 20 10:08:47 2020 UTC (4 years, 4 months ago) by hannken
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +7 -3 lines
When validating the mount device string make sure its length
is below *data_len and below PATH_MAX.

Reported-by: syzbot+2d3af801141509cc858c@syzkaller.appspotmail.com

Revision 1.88: download - view: text, markup, annotated - select for diffs
Sat Nov 14 11:41:29 2020 UTC (4 years, 5 months ago) by hannken
Branches: MAIN
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +4 -4 lines
Respect "lktype" in all paths in coda_root().

Revision 1.86.14.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:08:00 2020 UTC (5 years ago) by martin
Branches: phil-wifi
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +7 -7 lines
Merge changes from current as of 20200406

Revision 1.86.20.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:29 2020 UTC (5 years, 3 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +7 -7 lines
Sync with head.

Revision 1.87: download - view: text, markup, annotated - select for diffs
Fri Jan 17 20:08:06 2020 UTC (5 years, 3 months ago) by ad
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Branch point for: thorpej-futex
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +7 -7 lines
VFS_VGET(), VFS_ROOT(), VFS_FHTOVP(): give them a "int lktype" argument, to
allow us to get shared locks (or no lock) on the returned vnode.  Matches
FreeBSD.

Revision 1.74.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:52 2017 UTC (7 years, 4 months ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.74.2.1: preferred, colored; branchpoint 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74.2.1: +49 -30 lines
update from HEAD

Revision 1.81.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:57 2017 UTC (7 years, 7 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.81.4.1: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.4.1: +12 -15 lines
Sync with HEAD

Revision 1.86.4.1: download - view: text, markup, annotated - select for diffs
Thu Apr 27 05:36:34 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: prg-localcount2
Diff to: previous 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86: +9 -4 lines
Restore all work from the former pgoyette-localcount branch (which is
now abandoned doe to cvs merge botch).

The branch now builds, and installs via anita.  There are still some
problems (cgd is non-functional and all atf tests time-out) but they
will get resolved soon.

Revision 1.84.2.3: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:53:09 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84.2.2: preferred, colored; branchpoint 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84.2.2: +11 -14 lines
Sync with HEAD

Revision 1.84.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:40 2017 UTC (7 years, 11 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +12 -15 lines
Sync with HEAD

Revision 1.86: download - view: text, markup, annotated - select for diffs
Tue Apr 4 07:36:38 2017 UTC (8 years ago) by hannken
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-localcount-20170426, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, bouyer-socketcan-base1, ad-namecache-base
Branch point for: prg-localcount2, phil-wifi, ad-namecache
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +11 -14 lines
Use spec_node_lookup_by_dev() and spec_node_getmountedfs() to
retrieve a mount by device.

Revision 1.84.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:23 2017 UTC (8 years, 1 month ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84.2.1: preferred, colored; branchpoint 1.84: preferred, colored
Changes since revision 1.84.2.1: +3 -3 lines
Sync with HEAD

Revision 1.85: download - view: text, markup, annotated - select for diffs
Fri Feb 17 08:31:23 2017 UTC (8 years, 2 months ago) by hannken
Branches: MAIN
CVS tags: pgoyette-localcount-20170320
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -3 lines
Add generic genfs_suspendctl() and use it for all file systems.
Layered file systems need work.

Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 20 23:47:55 2016 UTC (8 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +9 -4 lines
Adapt machine-independant code to the new {b,c}devsw reference-counting
(using localcount(9)).  All callers of {b,c}devsw_lookup() now call
{b,c}devsw_lookup_acquire() which retains a reference on the 'struct
{b,c}devsw'.  This reference must be released by the caller once it is
finished with the structure's content (or other data that would disappear
if the 'struct {b,c}devsw' were to disappear).

Revision 1.81.4.1: download - view: text, markup, annotated - select for diffs
Mon Apr 6 15:18:05 2015 UTC (10 years ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +41 -19 lines
Sync with HEAD

Revision 1.84: download - view: text, markup, annotated - select for diffs
Sat Dec 13 15:59:30 2014 UTC (10 years, 4 months ago) by hannken
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +39 -7 lines
Change coda from hashlist to vcache.
- Replace all hash list crawlers with vfs_vnode_iterator.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sat Dec 13 15:58:39 2014 UTC (10 years, 4 months ago) by hannken
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +2 -8 lines
Move the definition of NVCODA and CODA_COMPAT_5 to coda.h,
remove them from coda_vfsops.c and coda_psdev.c.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Dec 13 15:57:46 2014 UTC (10 years, 4 months ago) by hannken
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +4 -8 lines
Attach the control object vnode to the coda mount and release it
on unmount.  Initialize special files with NODEV.

Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:31 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +34 -38 lines
Rebase to HEAD as of a few days ago.

Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:54:29 2014 UTC (10 years, 8 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80: +4 -2 lines
Rebase.

Revision 1.70.2.3: download - view: text, markup, annotated - select for diffs
Thu May 22 11:40:15 2014 UTC (10 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.70.2.2: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.2.2: +34 -38 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.74.4.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:31 2014 UTC (10 years, 11 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +34 -38 lines
sync with head

Revision 1.66.22.1: download - view: text, markup, annotated - select for diffs
Mon Apr 28 16:05:35 2014 UTC (10 years, 11 months ago) by sborrill
Branches: netbsd-5-2
CVS tags: netbsd-5-2-3-RELEASE
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +4 -2 lines
Pull up the following revisions(s) (requested by maxv in ticket #1901):
	sys/kern/vfs_syscalls.c:	revision 1.478, 1.480 via patch
	sys/coda/coda_vfsops.c:		revision 1.81
	sys/fs/adosfs/advfsops.c:	revision 1.70
	sys/fs/cd9660/cd9660_vfsops.c:	revision 1.84
	sys/fs/efs/efs_vfsops.c:	revision 1.25
	sys/fs/filecorefs/filecore_vfsops.c:	revision 1.76
	sys/fs/hfs/hfs_vfsops.c:	revision 1.31
	sys/fs/msdosfs/msdosfs_vfsops.c:	revision 1.107
	sys/fs/ntfs/ntfs_vfsops.c:	revision 1.94
	sys/fs/ptyfs/ptyfs_vfsops.c:	revision 1.50 via patch
	sys/fs/puffs/puffs_vfsops.c:	revision 1.110 via patch
	sys/fs/smbfs/smbfs_vfsops.c:	revision 1.100
	sys/fs/sysvbfs/sysvbfs_vfsops.c:	revision 1.43
	sys/fs/tmpfs/tmpfs_vfsops.c:	revision 1.59 via patch
	sys/fs/udf/udf_vfsops.c:	revision 1.67
	sys/fs/union/union_vfsops.c:	revision 1.72
	sys/fs/unionfs/unionfs_vfsops.c:	revision 1.13
	sys/kern/vfs_syscalls.c:	revision 1.479
	sys/miscfs/nullfs/null_vfsops.c:	revision 1.88 via patch
	sys/miscfs/overlay/overlay_vfsops.c:	revision 1.61
	sys/miscfs/procfs/procfs_vfsops.c:	revision 1.91
	sys/miscfs/umapfs/umap_vfsops.c:	revision 1.92
	sys/nfs/nfs_vfsops.c:		revision 1.227
	sys/ufs/ext2fs/ext2fs_vfsops.c:	revision 1.180
	sys/ufs/ffs/ffs_vfsops.c:	revision 1.297
	sys/ufs/lfs/lfs_vfsops.c:	revision 1.321
	sys/ufs/mfs/mfs_vfsops.c:	revision 1.107

Due to missing checks in the mount syscall, and a wrong assumption on the
file systems side, the kernel could allocate an unbounded or zero-sized
memory buffer, and could dereference a NULL pointer when particular
arguments are given by a user.

Revision 1.66.18.1: download - view: text, markup, annotated - select for diffs
Mon Apr 28 16:03:14 2014 UTC (10 years, 11 months ago) by sborrill
Branches: netbsd-5-1
CVS tags: netbsd-5-1-5-RELEASE
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +4 -2 lines
Pull up the following revisions(s) (requested by maxv in ticket #1901):
	sys/kern/vfs_syscalls.c:	revision 1.478, 1.480 via patch
	sys/coda/coda_vfsops.c:		revision 1.81
	sys/fs/adosfs/advfsops.c:	revision 1.70
	sys/fs/cd9660/cd9660_vfsops.c:	revision 1.84
	sys/fs/efs/efs_vfsops.c:	revision 1.25
	sys/fs/filecorefs/filecore_vfsops.c:	revision 1.76
	sys/fs/hfs/hfs_vfsops.c:	revision 1.31
	sys/fs/msdosfs/msdosfs_vfsops.c:	revision 1.107
	sys/fs/ntfs/ntfs_vfsops.c:	revision 1.94
	sys/fs/ptyfs/ptyfs_vfsops.c:	revision 1.50 via patch
	sys/fs/puffs/puffs_vfsops.c:	revision 1.110 via patch
	sys/fs/smbfs/smbfs_vfsops.c:	revision 1.100
	sys/fs/sysvbfs/sysvbfs_vfsops.c:	revision 1.43
	sys/fs/tmpfs/tmpfs_vfsops.c:	revision 1.59 via patch
	sys/fs/udf/udf_vfsops.c:	revision 1.67
	sys/fs/union/union_vfsops.c:	revision 1.72
	sys/fs/unionfs/unionfs_vfsops.c:	revision 1.13
	sys/kern/vfs_syscalls.c:	revision 1.479
	sys/miscfs/nullfs/null_vfsops.c:	revision 1.88 via patch
	sys/miscfs/overlay/overlay_vfsops.c:	revision 1.61
	sys/miscfs/procfs/procfs_vfsops.c:	revision 1.91
	sys/miscfs/umapfs/umap_vfsops.c:	revision 1.92
	sys/nfs/nfs_vfsops.c:		revision 1.227
	sys/ufs/ext2fs/ext2fs_vfsops.c:	revision 1.180
	sys/ufs/ffs/ffs_vfsops.c:	revision 1.297
	sys/ufs/lfs/lfs_vfsops.c:	revision 1.321
	sys/ufs/mfs/mfs_vfsops.c:	revision 1.107

Due to missing checks in the mount syscall, and a wrong assumption on the
file systems side, the kernel could allocate an unbounded or zero-sized
memory buffer, and could dereference a NULL pointer when particular
arguments are given by a user.

Revision 1.66.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 25 15:43:49 2014 UTC (10 years, 11 months ago) by sborrill
Branches: netbsd-5
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +4 -2 lines
Pull up the following revisions(s) (requested by maxv in ticket #1901):
	sys/kern/vfs_syscalls.c:	revision 1.478, 1.480 via patch
	sys/coda/coda_vfsops.c:		revision 1.81
	sys/fs/adosfs/advfsops.c:	revision 1.70
	sys/fs/cd9660/cd9660_vfsops.c:	revision 1.84
	sys/fs/efs/efs_vfsops.c:	revision 1.25
	sys/fs/filecorefs/filecore_vfsops.c:	revision 1.76
	sys/fs/hfs/hfs_vfsops.c:	revision 1.31
	sys/fs/msdosfs/msdosfs_vfsops.c:	revision 1.107
	sys/fs/ntfs/ntfs_vfsops.c:	revision 1.94
	sys/fs/ptyfs/ptyfs_vfsops.c:	revision 1.50 via patch
	sys/fs/puffs/puffs_vfsops.c:	revision 1.110 via patch
	sys/fs/smbfs/smbfs_vfsops.c:	revision 1.100
	sys/fs/sysvbfs/sysvbfs_vfsops.c:	revision 1.43
	sys/fs/tmpfs/tmpfs_vfsops.c:	revision 1.59 via patch
	sys/fs/udf/udf_vfsops.c:	revision 1.67
	sys/fs/union/union_vfsops.c:	revision 1.72
	sys/fs/unionfs/unionfs_vfsops.c:	revision 1.13
	sys/kern/vfs_syscalls.c:	revision 1.479
	sys/miscfs/nullfs/null_vfsops.c:	revision 1.88 via patch
	sys/miscfs/overlay/overlay_vfsops.c:	revision 1.61
	sys/miscfs/procfs/procfs_vfsops.c:	revision 1.91
	sys/miscfs/umapfs/umap_vfsops.c:	revision 1.92
	sys/nfs/nfs_vfsops.c:		revision 1.227
	sys/ufs/ext2fs/ext2fs_vfsops.c:	revision 1.180
	sys/ufs/ffs/ffs_vfsops.c:	revision 1.297
	sys/ufs/lfs/lfs_vfsops.c:	revision 1.321
	sys/ufs/mfs/mfs_vfsops.c:	revision 1.107

Due to missing checks in the mount syscall, and a wrong assumption on the
file systems side, the kernel could allocate an unbounded or zero-sized
memory buffer, and could dereference a NULL pointer when particular
arguments are given by a user.

Revision 1.70.14.1: download - view: text, markup, annotated - select for diffs
Mon Apr 21 10:17:48 2014 UTC (10 years, 11 months ago) by bouyer
Branches: netbsd-6-1
CVS tags: netbsd-6-1-5-RELEASE
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +4 -2 lines
Pull up following revision(s) (requested by maxv in ticket #1050):
	sys/ufs/chfs/chfs_vfsops.c: revision 1.11
	sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
	sys/fs/nilfs/nilfs_vfsops.c: revision 1.16
	sys/ufs/mfs/mfs_vfsops.c: revision 1.107
	sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
	sys/ufs/ffs/ffs_vfsops.c: revision 1.297
	sys/kern/vfs_syscalls.c: revision 1.478
	sys/kern/vfs_syscalls.c: revision 1.479
	sys/fs/puffs/puffs_vfsops.c: revision 1.110
	sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
	sys/nfs/nfs_vfsops.c: revision 1.227
	sys/fs/v7fs/v7fs_vfsops.c: revision 1.10
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
	sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
	sys/miscfs/nullfs/null_vfsops.c: revision 1.88
	sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50
	sys/coda/coda_vfsops.c: revision 1.81
	sys/ufs/lfs/lfs_vfsops.c: revision 1.321
	sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59
	sys/fs/hfs/hfs_vfsops.c: revision 1.31
	sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
	sys/fs/union/union_vfsops.c: revision 1.72
	sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
	sys/kern/vfs_syscalls.c: revision 1.480
	sys/fs/efs/efs_vfsops.c: revision 1.25
	sys/kern/vfs_syscalls.c: revision 1.482
	sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
	external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
	sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
	sys/fs/adosfs/advfsops.c: revision 1.70
	sys/fs/udf/udf_vfsops.c: revision 1.67
Limit check for 'data_len'. Otherwise a (un)privileged user can easily
panic the system by passing a huge size.
ok christos@
An (un)privileged user can easily make the kernel dereference a NULL
pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).
ok christos@
Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check
to prevent an (un)privileged user from requesting a zero-sized allocation
(and thus a panic).
This thing is totally buggy: 'data_len' is modified by the fs, so calling
kmem_free with it while its value has changed since the kmem_alloc is far
from being a good idea.
If the kernel figures out that something mismatches, it will panic
(typically with kernfs).

Revision 1.70.12.1: download - view: text, markup, annotated - select for diffs
Mon Apr 21 10:15:37 2014 UTC (10 years, 11 months ago) by bouyer
Branches: netbsd-6-0
CVS tags: netbsd-6-0-6-RELEASE
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +4 -2 lines
Pull up following revision(s) (requested by maxv in ticket #1050):
	sys/ufs/chfs/chfs_vfsops.c: revision 1.11
	sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
	sys/fs/nilfs/nilfs_vfsops.c: revision 1.16
	sys/ufs/mfs/mfs_vfsops.c: revision 1.107
	sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
	sys/ufs/ffs/ffs_vfsops.c: revision 1.297
	sys/kern/vfs_syscalls.c: revision 1.478
	sys/kern/vfs_syscalls.c: revision 1.479
	sys/fs/puffs/puffs_vfsops.c: revision 1.110
	sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
	sys/nfs/nfs_vfsops.c: revision 1.227
	sys/fs/v7fs/v7fs_vfsops.c: revision 1.10
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
	sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
	sys/miscfs/nullfs/null_vfsops.c: revision 1.88
	sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50
	sys/coda/coda_vfsops.c: revision 1.81
	sys/ufs/lfs/lfs_vfsops.c: revision 1.321
	sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59
	sys/fs/hfs/hfs_vfsops.c: revision 1.31
	sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
	sys/fs/union/union_vfsops.c: revision 1.72
	sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
	sys/kern/vfs_syscalls.c: revision 1.480
	sys/fs/efs/efs_vfsops.c: revision 1.25
	sys/kern/vfs_syscalls.c: revision 1.482
	sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
	external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
	sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
	sys/fs/adosfs/advfsops.c: revision 1.70
	sys/fs/udf/udf_vfsops.c: revision 1.67
Limit check for 'data_len'. Otherwise a (un)privileged user can easily
panic the system by passing a huge size.
ok christos@
An (un)privileged user can easily make the kernel dereference a NULL
pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).
ok christos@
Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check
to prevent an (un)privileged user from requesting a zero-sized allocation
(and thus a panic).
This thing is totally buggy: 'data_len' is modified by the fs, so calling
kmem_free with it while its value has changed since the kmem_alloc is far
from being a good idea.
If the kernel figures out that something mismatches, it will panic
(typically with kernfs).

Revision 1.70.8.1: download - view: text, markup, annotated - select for diffs
Mon Apr 21 10:14:18 2014 UTC (10 years, 11 months ago) by bouyer
Branches: netbsd-6
Diff to: previous 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70: +4 -2 lines
Pull up following revision(s) (requested by maxv in ticket #1050):
	sys/ufs/chfs/chfs_vfsops.c: revision 1.11
	sys/fs/unionfs/unionfs_vfsops.c: revision 1.13
	sys/fs/nilfs/nilfs_vfsops.c: revision 1.16
	sys/ufs/mfs/mfs_vfsops.c: revision 1.107
	sys/fs/sysvbfs/sysvbfs_vfsops.c: revision 1.43
	sys/ufs/ffs/ffs_vfsops.c: revision 1.297
	sys/kern/vfs_syscalls.c: revision 1.478
	sys/kern/vfs_syscalls.c: revision 1.479
	sys/fs/puffs/puffs_vfsops.c: revision 1.110
	sys/fs/cd9660/cd9660_vfsops.c: revision 1.84
	sys/nfs/nfs_vfsops.c: revision 1.227
	sys/fs/v7fs/v7fs_vfsops.c: revision 1.10
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.180
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.92
	sys/fs/filecorefs/filecore_vfsops.c: revision 1.76
	sys/miscfs/nullfs/null_vfsops.c: revision 1.88
	sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.50
	sys/coda/coda_vfsops.c: revision 1.81
	sys/ufs/lfs/lfs_vfsops.c: revision 1.321
	sys/fs/tmpfs/tmpfs_vfsops.c: revision 1.59
	sys/fs/hfs/hfs_vfsops.c: revision 1.31
	sys/miscfs/overlay/overlay_vfsops.c: revision 1.61
	sys/fs/union/union_vfsops.c: revision 1.72
	sys/fs/ntfs/ntfs_vfsops.c: revision 1.94
	sys/kern/vfs_syscalls.c: revision 1.480
	sys/fs/efs/efs_vfsops.c: revision 1.25
	sys/kern/vfs_syscalls.c: revision 1.482
	sys/fs/msdosfs/msdosfs_vfsops.c: revision 1.107
	external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c: revision 1.12
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.91
	sys/fs/smbfs/smbfs_vfsops.c: revision 1.100
	sys/fs/adosfs/advfsops.c: revision 1.70
	sys/fs/udf/udf_vfsops.c: revision 1.67
Limit check for 'data_len'. Otherwise a (un)privileged user can easily
panic the system by passing a huge size.
ok christos@
An (un)privileged user can easily make the kernel dereference a NULL
pointer.
The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).
ok christos@
Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check
to prevent an (un)privileged user from requesting a zero-sized allocation
(and thus a panic).
This thing is totally buggy: 'data_len' is modified by the fs, so calling
kmem_free with it while its value has changed since the kmem_alloc is far
from being a good idea.
If the kernel figures out that something mismatches, it will panic
(typically with kernfs).

Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Apr 16 18:55:17 2014 UTC (11 years ago) by maxv
Branches: MAIN
CVS tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +4 -2 lines
An (un)privileged user can easily make the kernel dereference a NULL
pointer.

The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).

ok christos@

Revision 1.80: download - view: text, markup, annotated - select for diffs
Sun Mar 23 15:21:15 2014 UTC (11 years ago) by hannken
Branches: MAIN
CVS tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +25 -27 lines
Change all vfsops to use C99 designated initializers.

No functional changes intended.

Revision 1.79: download - view: text, markup, annotated - select for diffs
Tue Feb 25 18:30:08 2014 UTC (11 years, 1 month ago) by pooka
Branches: MAIN
CVS tags: riastradh-drm2-base3
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +3 -7 lines
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.

Revision 1.78: download - view: text, markup, annotated - select for diffs
Wed Nov 27 17:24:44 2013 UTC (11 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -3 lines
Change the queue.3 *_END(&head) macros to NULL. Since we don't have CIRCLEQ
anymore, all the macros expand to NULL anyway, so this improves readability.
Requested by rmind@

Revision 1.77: download - view: text, markup, annotated - select for diffs
Sat Nov 23 23:14:55 2013 UTC (11 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +4 -3 lines
tuck in code inside the mutex

Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Nov 23 17:57:23 2013 UTC (11 years, 4 months ago) by christos
Branches: MAIN
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +8 -8 lines
replace open-coded scan with macro; fix locking

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sat Nov 23 16:15:24 2013 UTC (11 years, 4 months ago) by riz
Branches: MAIN
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -4 lines
Since mountlist is now a TAILQ, convert some missed usages
so things build again.

Revision 1.70.2.2: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:20:38 2012 UTC (12 years, 5 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.70.2.1: preferred, colored; branchpoint 1.70: preferred, colored
Changes since revision 1.70.2.1: +3 -3 lines
sync with head

Revision 1.74: download - view: text, markup, annotated - select for diffs
Thu Aug 2 16:06:58 2012 UTC (12 years, 8 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +3 -3 lines
- move debugging functions to vcoda so modules with -DDEBUG link
- fix writing to coda files. this is probably not the right way to do
  this, but it satisfies the locking protocol:
	1. Sometimes coda_open() is called with an unlocked vnode which
	   does not satisfy the locking protocol. Lock it for now. We
	   need to find out why this happens
	2. VFS_VGET sometimes returns the container vnode unlocked. What
	   is the locking protocol for VFS_VGET? We also lock it here.

Revision 1.70.6.2: download - view: text, markup, annotated - select for diffs
Sat Jun 2 11:09:13 2012 UTC (12 years, 10 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.70.6.1: preferred, colored; branchpoint 1.70: preferred, colored; next MAIN 1.71: preferred, colored
Changes since revision 1.70.6.1: +3 -3 lines
sync to latest -current.

Revision 1.70.2.1: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:52 2012 UTC (12 years, 10 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +4 -9 lines
sync with head.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Fri May 4 02:06:27 2012 UTC (12 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 lines
depend on "vcoda" since it has symbols we need.

Revision 1.70.6.1: download - view: text, markup, annotated - select for diffs
Sun Apr 29 23:04:45 2012 UTC (12 years, 11 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -8 lines
sync to latest -current.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Thu Apr 26 17:18:33 2012 UTC (12 years, 11 months ago) by christos
Branches: MAIN
CVS tags: jmcneill-usbmp-base9
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -7 lines
remove multiple definitions.

Revision 1.71: download - view: text, markup, annotated - select for diffs
Thu Apr 26 03:04:54 2012 UTC (12 years, 11 months ago) by christos
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3 lines
re-arrange things so that vcoda does not depend on coda.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Tue Sep 27 00:54:47 2011 UTC (13 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, netbsd-6-1, netbsd-6-0, netbsd-6, jmcneill-usbmp
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3 lines
use CODA_MAXNAMLEN instead of bogus MAXNAMLEN

Revision 1.68.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 23 23:31:38 2009 UTC (15 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68: +4 -6 lines
Sync with HEAD.

Revision 1.64.10.3: download - view: text, markup, annotated - select for diffs
Sat Jul 18 14:52:56 2009 UTC (15 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.64.10.2: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.10.2: +4 -6 lines
sync with head.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Mon Jun 29 05:08:15 2009 UTC (15 years, 9 months ago) by dholland
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +4 -6 lines
Convert 67 namei call sites to use namei_simple, in these functions:

check_console, veriexecclose, veriexec_delete, veriexec_file_add,
emul_find_root, coff_load_shlib (sh3 version), coff_load_shlib,
compat_20_sys_statfs, compat_20_netbsd32_statfs,
ELFNAME2(netbsd32,probe_noteless), darwin_sys_statfs,
ibcs2_sys_statfs, ibcs2_sys_statvfs, linux_sys_uselib,
osf1_sys_statfs, sunos_sys_statfs, sunos32_sys_statfs,
ultrix_sys_statfs, do_sys_mount, fss_create_files (3 of 4),
adosfs_mount, cd9660_mount, coda_ioctl, coda_mount, ext2fs_mount,
ffs_mount, filecore_mount, hfs_mount, lfs_mount, msdosfs_mount,
ntfs_mount, sysvbfs_mount, udf_mount, union_mount, sys_chflags,
sys_lchflags, sys_chmod, sys_lchmod, sys_chown, sys_lchown,
sys___posix_chown, sys___posix_lchown, sys_link, do_sys_pstatvfs,
sys_quotactl, sys_revoke, sys_truncate, do_sys_utimes, sys_extattrctl,
sys_extattr_set_file, sys_extattr_set_link, sys_extattr_get_file,
sys_extattr_get_link, sys_extattr_delete_file,
sys_extattr_delete_link, sys_extattr_list_file, sys_extattr_list_link,
sys_setxattr, sys_lsetxattr, sys_getxattr, sys_lgetxattr,
sys_listxattr, sys_llistxattr, sys_removexattr, sys_lremovexattr

All have been scrutinized (several times, in fact) and compile-tested,
but not all have been explicitly tested in action.

XXX: While I haven't (intentionally) changed the use or nonuse of
XXX: TRYEMULROOT in any of these places, I'm not convinced all the
XXX: uses are correct; an audit might be desirable.

Revision 1.64.10.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:12:17 2009 UTC (15 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.64.10.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.10.1: +4 -4 lines
sync with head.

Revision 1.66.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:17:13 2009 UTC (16 years, 3 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +4 -4 lines
Sync with HEAD.

Revision 1.64.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:40 2009 UTC (16 years, 3 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.64.6.1: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.6.1: +2 -2 lines
Sync with HEAD.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:46 2009 UTC (16 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jym-xensuspend-base
Branch point for: jym-xensuspend
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -3 lines
merge christos-time_t

Revision 1.66.10.3: download - view: text, markup, annotated - select for diffs
Tue Dec 30 18:50:25 2008 UTC (16 years, 3 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.66.10.2: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.10.2: +3 -3 lines
sync with head.

Revision 1.67: download - view: text, markup, annotated - select for diffs
Tue Dec 30 12:56:12 2008 UTC (16 years, 3 months ago) by pooka
Branches: MAIN
CVS tags: christos-time_t-nbase, christos-time_t-base
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +3 -3 lines
#ifdef _LKM -> #ifndef _KERNEL_OPT

Revision 1.66.10.2: download - view: text, markup, annotated - select for diffs
Sun Nov 9 01:58:50 2008 UTC (16 years, 5 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.66.10.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.10.1: +635 -0 lines
account for major and minor being unsigned long long

Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:51 2008 UTC (16 years, 9 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65: +18 -3 lines
Sync w/ -current. 34 merge conflicts to follow.

Revision 1.64.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:56 2008 UTC (16 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +19 -3 lines
Sync with HEAD.

Revision 1.64.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:33:09 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +19 -3 lines
sync with head.

Revision 1.64.10.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:23:34 2008 UTC (16 years, 11 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +19 -3 lines
sync with head.

Revision 1.66.10.1
Sat May 10 02:26:09 2008 UTC (16 years, 11 months ago) by christos
Branches: christos-time_t
FILE REMOVED
Changes since revision 1.66: +0 -635 lines
file coda_vfsops.c was added on branch christos-time_t on 2008-11-09 01:58:50 +0000

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat May 10 02:26:09 2008 UTC (16 years, 11 months ago) by rumble
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5-2, netbsd-5-1, netbsd-5, christos-time_t
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +18 -3 lines
Convert file systems to dynamically attach with the new module interface.
Make VFS hooks dynamic while we're here and say farewell to VFS_ATTACH and
VFS_HOOKS_ATTACH linksets.

As a consequence, most of the file systems can now be loaded as new style
modules.

Quick sanity check by ad@.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Tue Apr 29 18:18:08 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
Branch point for: wrstuden-revivesa
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +3 -2 lines
PR kern/38057 ffs makes assuptions about devvp file system
PR kern/33406 softdeps get stuck in endless loop

Introduce VFS_FSYNC() and call it when syncing a block device, if it
has a mounted file system.

Revision 1.58.4.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:31 2008 UTC (17 years ago) by matt
Branches: matt-armv6
Diff to: previous 1.58.4.2: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.4.2: +6 -3 lines
sync with HEAD

Revision 1.59.4.3: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:05:22 2008 UTC (17 years, 2 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.59.4.2: preferred, colored; branchpoint 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59.4.2: +6 -3 lines
Sync with HEAD.

Revision 1.44.2.8: download - view: text, markup, annotated - select for diffs
Mon Feb 4 09:22:58 2008 UTC (17 years, 2 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.44.2.7: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.2.7: +5 -2 lines
sync with head.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Mon Jan 28 14:31:15 2008 UTC (17 years, 2 months ago) by dholland
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +5 -2 lines
Fix some race conditions in rename.
Introduce a per-FS rename lock and new vfsops to manipulate it.
Get this lock while renaming. Also add another relookup() in do_sys_rename,
which is a hack to kludge around some of the worst deficiencies of
ufs_rename.
reviewed-by: pooka (and an earlier rev by ad)
posted on tech-kern with no objections.

Revision 1.44.2.7: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:40:39 2008 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.44.2.6: preferred, colored
Changes since revision 1.44.2.6: +4 -4 lines
sync with head

Revision 1.62.4.1: download - view: text, markup, annotated - select for diffs
Sat Jan 19 12:14:52 2008 UTC (17 years, 3 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +3 -3 lines
Sync with HEAD

Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Jan 15 18:11:25 2008 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
Use vp->v_rdev, don't look at the union.

Revision 1.58.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:50:26 2008 UTC (17 years, 3 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.58.4.1: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.4.1: +14 -19 lines
sync with HEAD

Revision 1.59.4.2: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:43:32 2007 UTC (17 years, 3 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.59.4.1: preferred, colored; branchpoint 1.59: preferred, colored
Changes since revision 1.59.4.1: +3 -3 lines
Sync with HEAD.

Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:56:57 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +3 -3 lines
Sync with head.

Revision 1.58.2.4: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:36:35 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.58.2.3: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.2.3: +3 -3 lines
Sync with HEAD.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sat Dec 8 19:29:37 2007 UTC (17 years, 4 months ago) by pooka
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-merge1
Branch point for: bouyer-xeni386
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
Remove cn_lwp from struct componentname.  curlwp should be used
from on.  The NDINIT() macro no longer takes the lwp parameter and
associates the credentials of the calling thread with the namei
structure.

Revision 1.59.4.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:18:32 2007 UTC (17 years, 4 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +13 -18 lines
Sync with HEAD.

Revision 1.44.2.6: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:27:36 2007 UTC (17 years, 4 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.44.2.5: preferred, colored
Changes since revision 1.44.2.5: +13 -18 lines
sync with head

Revision 1.58.2.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 16:14:27 2007 UTC (17 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.58.2.2: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.2: +5 -3 lines
Sync with HEAD.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Dec 1 00:09:41 2007 UTC (17 years, 4 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base
Branch point for: vmlocking2
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +5 -3 lines
Ensure the mount data is a 0-terminated string - otherwise namei() might
process garbage (or unmapped addresses).

Revision 1.58.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:36:38 2007 UTC (17 years, 4 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.58.2.1: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.2.1: +10 -17 lines
Sync with HEAD. amd64 Xen support needs testing.

Revision 1.60: download - view: text, markup, annotated - select for diffs
Mon Nov 26 19:01:28 2007 UTC (17 years, 4 months ago) by pooka
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +10 -17 lines
Remove the "struct lwp *" argument from all VFS and VOP interfaces.
The general trend is to remove it from all kernel interfaces and
this is a start.  In case the calling lwp is desired, curlwp should
be used.

quick consensus on tech-kern

Revision 1.58.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:24:44 2007 UTC (17 years, 5 months ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -4 lines
sync with HEAD

Revision 1.44.2.5: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:29:28 2007 UTC (17 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.44.2.4: preferred, colored
Changes since revision 1.44.2.4: +4 -4 lines
sync with head.

Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:43:50 2007 UTC (17 years, 5 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -4 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.58.6.1: download - view: text, markup, annotated - select for diffs
Sun Oct 14 11:47:54 2007 UTC (17 years, 6 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +4 -4 lines
sync with head.

Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Oct 10 20:42:21 2007 UTC (17 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +4 -4 lines
Merge from vmlocking:

- Split vnode::v_flag into three fields, depending on field locking.
- simple_lock -> kmutex in a few places.
- Fix some simple locking problems.

Revision 1.44.2.4: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:31:46 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.44.2.3: preferred, colored
Changes since revision 1.44.2.3: +18 -10 lines
sync with head.

Revision 1.54.6.3: download - view: text, markup, annotated - select for diffs
Mon Aug 20 21:27:21 2007 UTC (17 years, 8 months ago) by ad
Branches: vmlocking
Diff to: previous 1.54.6.2: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.6.2: +9 -9 lines
Sync with HEAD.

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:48:06 2007 UTC (17 years, 8 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +7 -7 lines
Sync with HEAD.

Revision 1.58.8.2: download - view: text, markup, annotated - select for diffs
Tue Jul 31 21:14:20 2007 UTC (17 years, 8 months ago) by pooka
Branches: matt-mips64
Diff to: previous 1.58.8.1: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.8.1: +621 -0 lines
* nuke the nameidata parameter from VFS_MOUNT().  Nobody on tech-kern
  knew what it was supposed to be used for and wrstuden gave a go-ahead
* while rototilling, convert file systems which went easily to
  use VFS_PROTOS() instead of manually prototyping the methods

Revision 1.58.8.1
Tue Jul 31 21:14:19 2007 UTC (17 years, 8 months ago) by pooka
Branches: matt-mips64
FILE REMOVED
Changes since revision 1.58: +0 -621 lines
file coda_vfsops.c was added on branch matt-mips64 on 2007-07-31 21:14:20 +0000

Revision 1.58: download - view: text, markup, annotated - select for diffs
Tue Jul 31 21:14:19 2007 UTC (17 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: yamt-x86pmap-base2, yamt-x86pmap-base, nick-csl-alignment-base5, matt-mips64-base
Branch point for: yamt-x86pmap, matt-mips64, matt-armv6, jmcneill-pm
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +6 -6 lines
* nuke the nameidata parameter from VFS_MOUNT().  Nobody on tech-kern
  knew what it was supposed to be used for and wrstuden gave a go-ahead
* while rototilling, convert file systems which went easily to
  use VFS_PROTOS() instead of manually prototyping the methods

Revision 1.57: download - view: text, markup, annotated - select for diffs
Thu Jul 26 22:57:37 2007 UTC (17 years, 8 months ago) by pooka
Branches: MAIN
CVS tags: hpcarm-cleanup
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +3 -3 lines
Use eopnotsupp() instead of vfs_stdsuspendctl() and retire the latter.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Tue Jul 17 11:19:31 2007 UTC (17 years, 9 months ago) by pooka
Branches: MAIN
CVS tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +4 -4 lines
Make set_statvfs_info() take a parameter for the vfs name instead
of always retrieving it from mp->mnt_op->vfs_name

christos ok

Revision 1.54.6.2: download - view: text, markup, annotated - select for diffs
Sun Jul 15 13:26:58 2007 UTC (17 years, 9 months ago) by ad
Branches: vmlocking
Diff to: previous 1.54.6.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.6.1: +12 -4 lines
Sync with head.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Thu Jul 12 19:38:26 2007 UTC (17 years, 9 months ago) by dsl
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +12 -4 lines
Update coda for VFS_MOUNT() change

Revision 1.54.6.1: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:30:44 2007 UTC (17 years, 10 months ago) by ad
Branches: vmlocking
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +4 -4 lines
- Increase the number of thread priorities from 128 to 256. How the space
  is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
  is provided, with hooks for fast-path MD code that can run the interrupt
  threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
  locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.

Revision 1.44.2.3: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:08:58 2007 UTC (18 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.44.2.2: preferred, colored
Changes since revision 1.44.2.2: +3 -2 lines
sync with head.

Revision 1.52.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 17 23:27:43 2007 UTC (18 years, 2 months ago) by tron
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +4 -4 lines
Apply patch (requested by chs in ticket #422):
- Fix various deadlock problems with nullfs and unionfs.
- Speed up path lookups by upto 25%.

Revision 1.50.2.3: download - view: text, markup, annotated - select for diffs
Thu Feb 1 08:48:13 2007 UTC (18 years, 2 months ago) by ad
Branches: newlock2
Diff to: previous 1.50.2.2: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.2: +3 -2 lines
Sync with head.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Fri Jan 19 14:49:08 2007 UTC (18 years, 3 months ago) by hannken
Branches: MAIN
CVS tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, mjf-ufs-trans-base, mjf-ufs-trans, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +3 -2 lines
New file system suspension API to replace vn_start_write and vn_finished_write.
The suspension helpers are now put into file system specific operations.
This means every file system not supporting these helpers cannot be suspended
and therefore snapshots are no longer possible.

Implemented for file systems of type ffs.

The new API is enabled on a kernel option NEWVNGATE.  This option is
not enabled by default in any kernel config.

Presented and discussed on tech-kern with much input from
Bill Studenmund <wrstuden@netbsd.org> and YAMAMOTO Takashi <yamt@netbsd.org>.

Welcome to 4.99.9 (new vfs op vfs_suspendctl).

Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:04:02 2007 UTC (18 years, 3 months ago) by ad
Branches: newlock2
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.1: +4 -4 lines
Sync with head.

Revision 1.44.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:47:31 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.44.2.1: preferred, colored
Changes since revision 1.44.2.1: +24 -21 lines
sync with head.

Revision 1.50.4.2: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:43 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.50.4.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.4.1: +17 -17 lines
sync with head.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sat Dec 9 16:11:50 2006 UTC (18 years, 4 months ago) by chs
Branches: MAIN
CVS tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +4 -4 lines
a smorgasbord of improvements to vnode locking and path lookup:
 - LOCKPARENT is no longer relevant for lookup(), relookup() or VOP_LOOKUP().
   these now always return the parent vnode locked.  namei() works as before.
   lookup() and various other paths no longer acquire vnode locks in the
   wrong order via vrele().  fixes PR 32535.
   as a nice side effect, path lookup is also up to 25% faster.
 - the above allows us to get rid of PDIRUNLOCK.
 - also get rid of WANTPARENT (just use LOCKPARENT and unlock it).
 - remove an assumption in layer_node_find() that all file systems implement
   a recursive VOP_LOCK() (unionfs doesn't).
 - require that all file systems supply vfs_vptofh and vfs_fhtovp routines.
   fill in eopnotsupp() for file systems that don't support being exported
   and remove the checks for NULL.  (layerfs calls these without checking.)
 - in union_lookup1(), don't change refcounts in the ISDOTDOT case, just
   adjust which vnode is locked.  fixes PR 33374.
 - apply fixes for ufs_rename() from ufs_vnops.c rev. 1.61 to ext2fs_rename().

Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Sat Nov 18 21:39:04 2006 UTC (18 years, 5 months ago) by ad
Branches: newlock2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +14 -11 lines
Sync with head.

Revision 1.52: download - view: text, markup, annotated - select for diffs
Thu Nov 16 01:32:41 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: netbsd-4-base
Branch point for: netbsd-4
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +15 -15 lines
__unused removal on arguments; approved by core.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Sun Oct 22 06:05:21 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +18 -15 lines
sync with head

Revision 1.51: download - view: text, markup, annotated - select for diffs
Thu Oct 12 01:30:47 2006 UTC (18 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +18 -15 lines
- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.47.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:45:06 2006 UTC (18 years, 7 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +13 -12 lines
sync with head

Revision 1.47.8.3: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:23:37 2006 UTC (18 years, 7 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.47.8.2: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.8.2: +5 -4 lines
sync with head.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Tue Aug 29 23:45:23 2006 UTC (18 years, 7 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +5 -4 lines
fix incomplete initializer

Revision 1.47.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:43:16 2006 UTC (18 years, 8 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.47.8.1: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.8.1: +7 -8 lines
sync with head

Revision 1.49: download - view: text, markup, annotated - select for diffs
Fri Jul 21 16:48:47 2006 UTC (18 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +7 -8 lines
- Use the LWP cached credentials where sane.
- Minor cosmetic changes.

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:58:24 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +29 -63 lines
sync with head.

Revision 1.47.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:35:40 2006 UTC (18 years, 10 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +8 -7 lines
Sync with head.

Revision 1.47.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:48:26 2006 UTC (18 years, 10 months ago) by tron
Branches: peter-altq
Diff to: previous 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47: +8 -7 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.47.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:57:23 2006 UTC (18 years, 10 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +8 -7 lines
sync with head.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun May 14 21:24:49 2006 UTC (18 years, 11 months ago) by elad
Branches: MAIN
CVS tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +8 -7 lines
integrate kauth.

Revision 1.47.10.2: download - view: text, markup, annotated - select for diffs
Sat May 6 23:31:26 2006 UTC (18 years, 11 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.47.10.1: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.10.1: +3 -2 lines
- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.47.10.1: download - view: text, markup, annotated - select for diffs
Wed Mar 8 00:26:16 2006 UTC (19 years, 1 month ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +7 -7 lines
Adapt to kernel authorization KPI.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:19:50 2005 UTC (19 years, 4 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base, elad-kernelauth-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +12 -11 lines
merge ktrace-lwp.

Revision 1.26.2.11: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:00:34 2005 UTC (19 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.26.2.10: preferred, colored; next MAIN 1.27: preferred, colored
Changes since revision 1.26.2.10: +27 -62 lines
Sync with HEAD. Here we go again...

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Sep 23 12:10:32 2005 UTC (19 years, 6 months ago) by jmmv
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +4 -8 lines
Apply the NFS exports list rototill patch:

- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Aug 30 22:24:11 2005 UTC (19 years, 7 months ago) by xtraeme
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +20 -52 lines
* Remove __P()
* Use ANSI function declarations

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Jul 2 07:05:27 2005 UTC (19 years, 9 months ago) by blymn
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +3 -2 lines
Add attach call so coda gets added to list of vfs supported by the kernel.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun May 29 21:05:25 2005 UTC (19 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +6 -6 lines
- sprinkle const
- avoid shadowed variables.

Revision 1.41.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:30 2005 UTC (19 years, 11 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +47 -47 lines
sync with -current

Revision 1.41.4.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 08:33:28 2005 UTC (20 years, 1 month ago) by yamt
Branches: yamt-km
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +47 -47 lines
sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.26.2.10: download - view: text, markup, annotated - select for diffs
Fri Mar 4 16:39:22 2005 UTC (20 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.26.2.9: preferred, colored
Changes since revision 1.26.2.9: +47 -47 lines
Sync with HEAD.

Hi Perry!

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Feb 26 23:04:16 2005 UTC (20 years, 1 month ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +47 -47 lines
nuke trailing whitespace

Revision 1.26.2.9: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:30:28 2005 UTC (20 years, 3 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.26.2.8: preferred, colored
Changes since revision 1.26.2.8: +3 -2 lines
Sync with HEAD.

Revision 1.41: download - view: text, markup, annotated - select for diffs
Sun Jan 2 16:08:28 2005 UTC (20 years, 3 months ago) by thorpej
Branches: MAIN
CVS tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +3 -2 lines
Add the system call and VFS infrastructure for file system extended
attributes.

From FreeBSD.

Revision 1.26.2.8: download - view: text, markup, annotated - select for diffs
Sun Oct 24 07:39:57 2004 UTC (20 years, 5 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.26.2.7: preferred, colored
Changes since revision 1.26.2.7: +3 -3 lines
Reduce diff to HEAD

Revision 1.26.2.7: download - view: text, markup, annotated - select for diffs
Tue Oct 19 15:56:42 2004 UTC (20 years, 6 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.26.2.6: preferred, colored
Changes since revision 1.26.2.6: +3 -3 lines
Sync with HEAD

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Oct 15 09:09:09 2004 UTC (20 years, 6 months ago) by skrll
Branches: MAIN
CVS tags: kent-audio1-base, kent-audio1
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
Revert previous. set_statvfs_info needs the struct proc * arg.

Problem noted by Tom Ivar Helbekkmo on current-users

Revision 1.26.2.6: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:24:45 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.26.2.5: preferred, colored
Changes since revision 1.26.2.5: +18 -17 lines
Fix the sync with head I botched.

Revision 1.26.2.5: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:43:02 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.26.2.4: preferred, colored
Changes since revision 1.26.2.4: +18 -19 lines
Sync with HEAD.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Fri Sep 17 14:11:23 2004 UTC (20 years, 7 months ago) by skrll
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +3 -3 lines
There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).

OK'd by Jason Thorpe

Revision 1.26.2.4: download - view: text, markup, annotated - select for diffs
Tue Aug 24 17:57:36 2004 UTC (20 years, 7 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.26.2.3: preferred, colored
Changes since revision 1.26.2.3: +11 -16 lines
Undo part of the ktrace/lwp changes.  In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.

Revision 1.26.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:43:19 2004 UTC (20 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.26.2.2: preferred, colored
Changes since revision 1.26.2.2: +61 -54 lines
Sync with HEAD

Revision 1.33.2.1: download - view: text, markup, annotated - select for diffs
Sat May 29 09:04:35 2004 UTC (20 years, 10 months ago) by tron
Branches: netbsd-2-0
CVS tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Diff to: previous 1.33: preferred, colored; next MAIN 1.34: preferred, colored
Changes since revision 1.33: +6 -4 lines
Pull up revision 1.37 (requested by atatat in ticket #393):
Sysctl descriptions under vfs subtree

Revision 1.38: download - view: text, markup, annotated - select for diffs
Tue May 25 14:54:56 2004 UTC (20 years, 10 months ago) by hannken
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -2 lines
Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.

- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
    may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
    Snapshots may not be opened for writing and the attributes are read-only.
    Use the mtime as the time this snapshot was taken.
    Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
  one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
  a vnode.
- Add snapshot support to ls, fsck_ffs and dump.

Welcome to 2.0F.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>

Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue May 25 04:44:43 2004 UTC (20 years, 10 months ago) by atatat
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +6 -4 lines
Sysctl descriptions under vfs subtree

Revision 1.36: download - view: text, markup, annotated - select for diffs
Tue Apr 27 17:37:30 2004 UTC (20 years, 11 months ago) by jrf
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -3 lines
First pass for some caddr_t removal and changes to get rid of it where we
no longer use and/or need it

	- removed casts from unionfs, deadfs and fdesc
	  (there are more to hunt down still)
	- changed vfs_quotactl args argumet from caddr_t to void *
	- changed vfs_quotactl structures/callers to reflect the api change

Compiled fine and ran for about a day. Approved/reviewed by
christos@netbsd.org and gimpy@netbsd.org.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Wed Apr 21 02:41:52 2004 UTC (21 years ago) by christos
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +3 -2 lines
add sys/dirent.h

Revision 1.34: download - view: text, markup, annotated - select for diffs
Wed Apr 21 01:05:35 2004 UTC (21 years ago) by christos
Branches: MAIN
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +16 -10 lines
Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Mar 24 15:34:52 2004 UTC (21 years ago) by atatat
Branches: MAIN
CVS tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +8 -5 lines
Tango on sysctl_createv() and flags.  The flags have all been renamed,
and sysctl_createv() now uses more arguments.

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Mar 9 03:14:09 2004 UTC (21 years, 1 month ago) by atatat
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -4 lines
Fix spelling of "orphan" and placement of */

Revision 1.31: download - view: text, markup, annotated - select for diffs
Thu Dec 4 19:38:22 2003 UTC (21 years, 4 months ago) by atatat
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +23 -24 lines
Dynamic sysctl.

Gone are the old kern_sysctl(), cpu_sysctl(), hw_sysctl(),
vfs_sysctl(), etc, routines, along with sysctl_int() et al.  Now all
nodes are registered with the tree, and nodes can be added (or
removed) easily, and I/O to and from the tree is handled generically.

Since the nodes are registered with the tree, the mapping from name to
number (and back again) can now be discovered, instead of having to be
hard coded.  Adding new nodes to the tree is likewise much simpler --
the new infrastructure handles almost all the work for simple types,
and just about anything else can be done with a small helper function.

All existing nodes are where they were before (numerically speaking),
so all existing consumers of sysctl information should notice no
difference.

PS - I'm sorry, but there's a distinct lack of documentation at the
moment.  I'm working on sysctl(3/8/9) right now, and I promise to
watch out for buses.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Thu Oct 30 02:07:38 2003 UTC (21 years, 5 months ago) by simonb
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +2 -4 lines
Remove some assigned-to but otherwise unused variables.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Wed Aug 27 17:49:49 2003 UTC (21 years, 7 months ago) by drochner
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +12 -18 lines
update for the protocol used by coda>=6,
patches supplied by the coda-6.0.2 distribution,
with small changes to support the old protocol optionally
(options CODA_COMPAT_5)

Revision 1.28: download - view: text, markup, annotated - select for diffs
Mon Aug 25 10:05:46 2003 UTC (21 years, 7 months ago) by drochner
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +3 -0 lines
fix a deadlock during mount:
The client manager (venus) blocks in sys_mount() before entering its
event loop answering requests from the kernel device (cfs). sys_mount()
calls VFS_STATFS() internally which caused an upcall through cfs,
which was never answered.
Now don't consider the fs fully mounted before the VFS_START() was
called at the vey end of sys_mount(). So VFS_STATFS() will return
an error which is ignored.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Mon Aug 25 09:24:53 2003 UTC (21 years, 7 months ago) by drochner
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -3 lines
nuke an over-zealous memset() which broke statfs() et al. completely

Revision 1.26.2.2: download - view: text, markup, annotated - select for diffs
Tue Aug 19 19:53:46 2003 UTC (21 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.26.2.1: preferred, colored
Changes since revision 1.26.2.1: +3 -3 lines
LWPify

Revision 1.26.2.1: download - view: text, markup, annotated - select for diffs
Wed Jul 2 15:25:37 2003 UTC (21 years, 9 months ago) by darrenr
Branches: ktrace-lwp
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +33 -27 lines
Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.26: download - view: text, markup, annotated - select for diffs
Sun Jun 29 22:29:10 2003 UTC (21 years, 9 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +24 -27 lines
Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Jun 29 18:43:21 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +11 -14 lines
Undo part of the ktrace/lwp changes.  In particular:
* Remove the "lwp *" argument that was added to vget().  Turns out
  that nothing actually used it!
* Remove the "lwp *" arguments that were added to VFS_ROOT(), VFS_VGET(),
  and VFS_FHTOVP(); all they did was pass it to vget() (which, as noted
  above, didn't use it).
* Remove all of the "lwp *" arguments to internal functions that were added
  just to appease the above.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Jun 29 02:17:00 2003 UTC (21 years, 9 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -3 lines
Adjust for ktrace/lwp changes.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Jun 28 14:21:15 2003 UTC (21 years, 9 months ago) by darrenr
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +33 -27 lines
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Apr 16 21:44:18 2003 UTC (22 years ago) by christos
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +6 -9 lines
PR/1796: John Kohl: statfs misbehaves under chrooted environments.

- Under chroot it displays only the visible filesystems with appropriate paths.
- The statfs f_mntonname gets adjusted to contain the real path from root.
- While was there, fixed a bug in ext2fs, locking problems with vfs_getfsstat(),
  and factored out some of the vfsop statfs() code to copy_statfs_info(). This
  fixes the problem where some filesystems forgot to set fsid.
- Made coda look more like a normal fs.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Sat Feb 1 06:23:36 2003 UTC (22 years, 2 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -2 lines
Add extensible malloc types, adapted from FreeBSD.  This turns
malloc types into a structure, a pointer to which is passed around,
instead of an int constant.  Allow the limit to be adjusted when the
malloc type is defined, or with a function call, as suggested by
Jonathan Stone.

Revision 1.11.2.11: download - view: text, markup, annotated - select for diffs
Sun Dec 29 19:42:44 2002 UTC (22 years, 3 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.11.2.10: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.10: +2 -3 lines
Sync with HEAD.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Dec 26 12:40:01 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, fvdl_fs64_base
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -3 lines
coda_nc_initialized is not used here, remove local extern defition

Revision 1.19.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 18 01:05:43 2002 UTC (22 years, 4 months ago) by gmcgarry
Branches: gmcgarry_ucred
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +5 -5 lines
Merge pcred and ucred, and poolify.  TBD: check backward compatibility
and factor-out some higher-level functionality.

Revision 1.11.2.10: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:40:54 2002 UTC (22 years, 6 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.2.9: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.9: +2 -0 lines
Catch up to -current.

Revision 1.11.4.5: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:37:49 2002 UTC (22 years, 6 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.11.4.4: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.4.4: +9 -6 lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat Sep 21 18:10:34 2002 UTC (22 years, 7 months ago) by christos
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Branch point for: gmcgarry_ucred
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -2 lines
MNT_GETARGS support

Revision 1.11.2.9: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:18:54 2002 UTC (22 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.2.8: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.8: +5 -4 lines
Catch up to -current.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Sep 6 13:18:43 2002 UTC (22 years, 7 months ago) by gehenna
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +7 -6 lines
Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.11.4.4: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:42:57 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.11.4.3: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.3: +3 -3 lines
sync kqueue branch with HEAD

Revision 1.16.2.2: download - view: text, markup, annotated - select for diffs
Thu Aug 29 05:22:10 2002 UTC (22 years, 7 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.16.2.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.2.1: +3 -3 lines
catch up with -current.

Revision 1.11.2.8: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:44:08 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.2.7: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.7: +3 -3 lines
Catch up to -current.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Tue Jul 30 07:40:16 2002 UTC (22 years, 8 months ago) by soren
Branches: MAIN
CVS tags: gehenna-devsw-base
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +3 -3 lines
Die, qaddr_t, die! - mnt_data in struct mount is already effectively
a void *, so stop pretending otherwise.

Revision 1.11.2.7: download - view: text, markup, annotated - select for diffs
Mon Jun 24 22:09:16 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.2.6: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.6: +4 -4 lines
Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.11.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:43:38 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.11.4.2: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.2: +28 -19 lines
catch up with -current on kqueue branch

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Thu May 16 04:19:18 2002 UTC (22 years, 11 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -6 lines
Replace the direct-access to devsw table with calling devsw API.

Revision 1.11.2.6: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:43:47 2002 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.2.5: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.5: +28 -19 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Mar 27 05:10:41 2002 UTC (23 years ago) by phil
Branches: MAIN
CVS tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6
Branch point for: gehenna-devsw
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +28 -19 lines
Add the statfs upcall so df now reports cache size and usage.

Revision 1.11.4.2: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:50:54 2002 UTC (23 years, 3 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.11.4.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.4.1: +6 -6 lines
Sync kqueue branch with -current.

Revision 1.11.2.5: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:28:59 2002 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.2.4: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.4: +3 -3 lines
Catch up to -current.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Nov 23 17:42:48 2001 UTC (23 years, 4 months ago) by perry
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base, eeh-devprop-base, eeh-devprop
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -3 lines
__FUNCTION__ -> __func__

Revision 1.11.2.4: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:12:51 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.2.3: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.3: +4 -1 lines
Catch up to -current.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Nov 12 23:08:57 2001 UTC (23 years, 5 months ago) by lukem
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +4 -1 lines
add RCSIDs

Revision 1.12.2.2: download - view: text, markup, annotated - select for diffs
Mon Oct 1 12:43:21 2001 UTC (23 years, 6 months ago) by fvdl
Branches: thorpej-devvp
Diff to: previous 1.12.2.1: preferred, colored; branchpoint 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12.2.1: +2 -5 lines
Catch up with -current.

Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 21 22:35:13 2001 UTC (23 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.2.2: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.2: +2 -5 lines
Catch up to -current.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Sep 15 16:12:55 2001 UTC (23 years, 7 months ago) by chs
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -5 lines
add a new VFS op, vfs_reinit, which is called when desiredvnodes is
adjusted via sysctl.  file systems that have hash tables which are
sized based on the value of this variable now resize those hash tables
using the new value.  the max number of FFS softdeps is also recalculated.

convert various file systems to use the <sys/queue.h> macros for
their hash tables.

Revision 1.12.2.1: download - view: text, markup, annotated - select for diffs
Fri Sep 7 04:45:21 2001 UTC (23 years, 7 months ago) by thorpej
Branches: thorpej-devvp
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2 lines
Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:08:43 2001 UTC (23 years, 7 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.1: +2 -2 lines
Catch up with -current.

Revision 1.11.4.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:12:40 2001 UTC (23 years, 8 months ago) by lukem
Branches: kqueue
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
update to -current

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Jul 18 16:12:31 2001 UTC (23 years, 9 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2 lines
bzero -> memset

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:17 2001 UTC (24 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -3 lines
Initial commit of scheduler activations and lightweight process support.

Revision 1.8.2.2: download - view: text, markup, annotated - select for diffs
Sun Feb 11 19:13:15 2001 UTC (24 years, 2 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +3 -3 lines
Sync with HEAD.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon Jan 22 12:17:35 2001 UTC (24 years, 3 months ago) by jdolecek
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const

Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:08:05 2000 UTC (24 years, 5 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +15 -4 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Mar 30 11:24:17 2000 UTC (25 years ago) by augustss
Branches: MAIN
CVS tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +4 -4 lines
Kill register declarations.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Mar 16 18:08:21 2000 UTC (25 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +12 -1 lines
Add new VFS op routine - vfs_done and call it on filesystem detach
in vfs_detach(). vfs_done may free global filesystem's resources,
typically those allocated in respective filesystem's init function.
Needed so those filesystems which went in via LKM have a chance to
clean after themselves before unloading. This fixes random panics
when LKM for filesystem using pools was loaded and unloaded several
times.

For each leaf filesystem, add appropriate vfs_done routine.

Revision 1.7.8.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:34:22 1999 UTC (25 years, 3 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +1 -150 lines
Pull up to last week's -current.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sun Oct 17 23:39:16 1999 UTC (25 years, 6 months ago) by cgd
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +1 -150 lines
nuke RCS "Log" tags.  They cause problems for third parties importing
our sources, and for NetBSD release engineering folks.  (They've
been against the NetBSD coding style forever, but they crept in anyway.)

Revision 1.7: download - view: text, markup, annotated - select for diffs
Fri Feb 26 23:44:44 1999 UTC (26 years, 1 month ago) by wrstuden
Branches: MAIN
CVS tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc2-base, chs-ubc2
Branch point for: wrstuden-devbsize
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +7 -3 lines
Modify vfsops to seperate vfs_fhtovp() into two routines. vfs_fhtovp() now
only handles the file handle to vnode conversion, and a new call,
vfs_checkexp(), performs the export verification.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Dec 10 02:22:52 1998 UTC (26 years, 4 months ago) by rvb
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +8 -2 lines
Commit a couple of old fixes

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Sep 25 15:01:13 1998 UTC (26 years, 6 months ago) by rvb
Branches: MAIN
CVS tags: chs-ubc-base, chs-ubc
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +8 -1 lines
Conditionalize "stray" printouts under DIAGNOSTIC and DEBUG.
Make files compile if DEBUG is on (from  Alan Barrett).  Finally,
make coda an lkm.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Sep 15 02:03:00 1998 UTC (26 years, 7 months ago) by rvb
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +11 -7 lines
Final piece of rename cfs->coda

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Sep 12 15:05:49 1998 UTC (26 years, 7 months ago) by rvb
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +121 -118 lines
Change cfs/CFS in symbols, strings and constants to coda/CODA
to avoid fs conflicts.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Tue Sep 8 17:12:47 1998 UTC (26 years, 7 months ago) by rvb
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +41 -190 lines
Pass2 complete

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Aug 29 21:26:45 1998 UTC (26 years, 7 months ago) by rvb
Branches: CODA
CVS tags: C0828
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Very Preliminary Coda

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Aug 29 21:26:45 1998 UTC (26 years, 7 months ago) by rvb
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>