The NetBSD Project

CVS log for src/sys/miscfs/umapfs/umap_vfsops.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.104 / (download) - annotate - [select for diffs], Fri Nov 4 11:20:40 2022 UTC (15 months, 2 weeks ago) by hannken
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.103: +8 -3 lines
Diff to previous 1.103 (colored)

Add a helper to set or clear lower mount and use it.
Always add a reference to the lower mount.

Ride 9.99.105

Revision 1.99.12.4 / (download) - annotate - [select for diffs], Tue Apr 21 18:42:43 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.99.12.3: +1 -1 lines
Diff to previous 1.99.12.3 (colored) to branchpoint 1.99 (colored) next main 1.100 (colored)

Sync with HEAD

Revision 1.102.2.1 / (download) - annotate - [select for diffs], Mon Apr 20 11:29:11 2020 UTC (3 years, 10 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored) next main 1.103 (colored)

Sync with HEAD

Revision 1.103 / (download) - annotate - [select for diffs], Mon Apr 13 19:23:19 2020 UTC (3 years, 10 months ago) by ad
Branch: 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-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.102: +3 -3 lines
Diff to previous 1.102 (colored)

Replace most uses of vp->v_usecount with a call to vrefcnt(vp), a function
that hides the details and does atomic_load_relaxed().  Signature matches
FreeBSD.

Revision 1.99.12.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:05 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.99.12.2: +25 -2 lines
Diff to previous 1.99.12.2 (colored) to branchpoint 1.99 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.99.12.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:54 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since 1.99.12.1: +18 -16 lines
Diff to previous 1.99.12.1 (colored) to branchpoint 1.99 (colored)

Merge changes from current as of 20200406

Revision 1.102 / (download) - annotate - [select for diffs], Mon Mar 16 21:20:11 2020 UTC (3 years, 11 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base
Branch point for: bouyer-xenpvh
Changes since 1.101: +18 -16 lines
Diff to previous 1.101 (colored)

Use the module subsystem's ability to process SYSCTL_SETUP() entries to
automate installation of sysctl nodes.

Note that there are still a number of device and pseudo-device modules
that create entries tied to individual device units, rather than to the
module itself.  These are not changed.

Revision 1.101 / (download) - annotate - [select for diffs], Tue Aug 20 20:18:54 2019 UTC (4 years, 6 months ago) by perseant
Branch: MAIN
CVS Tags: phil-wifi-20191119, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.100: +27 -4 lines
Diff to previous 1.100 (colored)

Allow the user to specify the filesystem ID for umapfs at mount time,
allowing a consistent filesystem ID across reboots.  Closes PR #54471.

Revision 1.99.12.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:06 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.99: +4 -3 lines
Diff to previous 1.99 (colored)

Sync with HEAD

Revision 1.100 / (download) - annotate - [select for diffs], Wed Feb 20 10:06:00 2019 UTC (5 years ago) by hannken
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, 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, isaki-audio2-base, isaki-audio2
Changes since 1.99: +4 -3 lines
Diff to previous 1.99 (colored)

Set "mnt_lower" before the first file system operation on the new file system.

Revision 1.88.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:48 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.88.2.1: +8 -6 lines
Diff to previous 1.88.2.1 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored)

update from HEAD

Revision 1.95.2.1 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:09 2017 UTC (6 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.95: +10 -7 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Sync with HEAD

Revision 1.95.4.2 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:28 2017 UTC (6 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.95.4.1: +9 -7 lines
Diff to previous 1.95.4.1 (colored) to branchpoint 1.95 (colored) next main 1.96 (colored)

Sync with HEAD

Revision 1.95.6.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:04 2017 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.95: +10 -7 lines
Diff to previous 1.95 (colored) next main 1.96 (colored)

Sync with HEAD

Revision 1.99 / (download) - annotate - [select for diffs], Tue Apr 11 07:51:37 2017 UTC (6 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, 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-8-base, 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, bouyer-socketcan-base1
Branch point for: phil-wifi
Changes since 1.98: +6 -6 lines
Diff to previous 1.98 (colored)

Field "layerm_vfs" of "struct layer_mount" got superseded by "mnt_lower".
Adapt consumers and remove the now unused field.

Ride 7.99.68

Revision 1.98 / (download) - annotate - [select for diffs], Thu Mar 30 09:13:01 2017 UTC (6 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: jdolecek-ncq-base, jdolecek-ncq
Changes since 1.97: +6 -4 lines
Diff to previous 1.97 (colored)

Change _fstrans_start() to allocate per lwp info for layered file
systems to get a reference on the mount.

Set mnt_lower on successfull mount only.

Revision 1.95.4.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:49 2017 UTC (6 years, 11 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.95: +4 -3 lines
Diff to previous 1.95 (colored)

Sync with HEAD

Revision 1.97 / (download) - annotate - [select for diffs], Mon Mar 6 10:10:07 2017 UTC (6 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320
Changes since 1.96: +3 -2 lines
Diff to previous 1.96 (colored)

Add field "mnt_lower" to "struct mount" to track the file system
a layered file system is mounted on.

Welcome to 7.99.65

Revision 1.96 / (download) - annotate - [select for diffs], Fri Feb 17 08:31:25 2017 UTC (7 years ago) by hannken
Branch: MAIN
Changes since 1.95: +3 -3 lines
Diff to previous 1.95 (colored)

Add generic genfs_suspendctl() and use it for all file systems.
Layered file systems need work.

Revision 1.93.2.2 / (download) - annotate - [select for diffs], Sat Jan 17 12:10:54 2015 UTC (9 years, 1 month ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.93.2.1: +2 -3 lines
Diff to previous 1.93.2.1 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored)

Pull up following revision(s) (requested by maxv in ticket #427):
	sys/compat/svr4/svr4_schedctl.c: revision 1.8
	sys/netinet/tcp_timer.c: revision 1.88
	sys/miscfs/genfs/layer_vfsops.c: revision 1.45
	sys/compat/svr4/svr4_ioctl.c: revision 1.37
	sys/ufs/chfs/chfs_vfsops.c: revision 1.14
	sys/miscfs/fdesc/fdesc_vfsops.c: revision 1.91
	sys/compat/linux/arch/i386/linux_ptrace.c: revision 1.30
	sys/compat/common/kern_time_50.c: revision 1.28
	sys/netinet6/ip6_forward.c: revision 1.74
	sys/miscfs/umapfs/umap_vnops.c: revision 1.57
	sys/compat/svr4/svr4_fcntl.c: revision 1.74
	distrib/sets/lists/comp/mi: revision 1.1931
	sys/netinet6/udp6_output.c: revision 1.46
	sys/fs/puffs/puffs_compat.c: revision 1.3
	sys/fs/udf/udf_rename.c: revision 1.11
	sys/compat/svr4/svr4_filio.c: revision 1.24
	sys/fs/udf/udf_rename.c: revision 1.12
	sys/netinet/tcp_usrreq.c: revision 1.202
	sys/miscfs/umapfs/umap_subr.c: revision 1.29
	sys/compat/linux/common/linux_fadvise64.c: revision 1.3
	sys/netinet/if_atm.c: revision 1.34
	sys/miscfs/procfs/procfs_subr.c: revision 1.106
	sys/miscfs/genfs/layer_subr.c: revision 1.37
	sys/netinet/tcp_sack.c: revision 1.30
	sys/compat/freebsd/freebsd_misc.c: revision 1.33
	sys/compat/freebsd/freebsd_file.c: revision 1.33
	sys/ufs/chfs/chfs_vnode.c: revision 1.12
	sys/compat/svr4/svr4_ttold.c: revision 1.34
	sys/compat/linux/common/linux_file.c: revision 1.114
	sys/compat/linux/arch/mips/linux_machdep.c: revision 1.43
	sys/compat/linux/common/linux_signal.c: revision 1.76
	sys/compat/common/compat_util.c: revision 1.46
	sys/compat/linux/arch/arm/linux_ptrace.c: revision 1.18
	sys/compat/svr4/svr4_sockio.c: revision 1.36
	sys/compat/linux/arch/arm/linux_machdep.c: revision 1.32
	sys/compat/svr4/svr4_signal.c: revision 1.66
	sys/kern/kern_exec.c: revision 1.410
	sys/fs/puffs/puffs_vfsops.c: revision 1.115
	sys/compat/svr4/svr4_exec_elf64.c: revision 1.15
	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.159
	sys/compat/linux/arch/alpha/linux_machdep.c: revision 1.50
	sys/compat/linux32/common/linux32_misc.c: revision 1.24
	sys/netinet/in_pcb.c: revision 1.153
	sys/sys/malloc.h: revision 1.116
	sys/compat/common/if_43.c: revision 1.9
	share/man/man9/Makefile: revision 1.380
	sys/netinet/tcp_vtw.c: revision 1.12
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.95
	sys/ufs/ext2fs/ext2fs_vfsops.c: revision 1.186
	sys/compat/common/uipc_syscalls_43.c: revision 1.46
	sys/ufs/ext2fs/ext2fs_vnops.c: revision 1.115
	sys/fs/puffs/puffs_msgif.c: revision 1.97
	sys/compat/svr4/svr4_ipc.c: revision 1.27
	sys/compat/linux/common/linux_exec.c: revision 1.117
	sys/ufs/ext2fs/ext2fs_readwrite.c: revision 1.66
	sys/netinet/tcp_output.c: revision 1.179
	sys/compat/svr4/svr4_termios.c: revision 1.28
	sys/fs/udf/udf_strat_bootstrap.c: revision 1.4
	sys/fs/puffs/puffs_subr.c: revision 1.67
	sys/fs/puffs/puffs_node.c: revision 1.36
	sys/miscfs/overlay/overlay_vnops.c: revision 1.21
	sys/fs/cd9660/cd9660_node.c: revision 1.34
	sys/netinet/raw_ip.c: revision 1.146
	sys/sys/mallocvar.h: revision 1.13
	sys/miscfs/overlay/overlay_vfsops.c: revision 1.63
	share/man/man9/malloc.9: revision 1.50
	sys/netinet6/dest6.c: revision 1.18
	sys/compat/linux/common/linux_uselib.c: revision 1.33
	sys/compat/linux/common/linux_socket.c: revision 1.120
	share/man/man9/malloc.9: revision 1.51
	sys/netinet/tcp_subr.c: revision 1.257
	sys/compat/linux/common/linux_socketcall.c: revision 1.45
	sys/compat/linux/common/linux_fadvise64_64.c: revision 1.3
	sys/compat/freebsd/freebsd_ipc.c: revision 1.17
	sys/compat/linux/common/linux_misc_notalpha.c: revision 1.109
	sys/compat/linux/arch/alpha/linux_pipe.c: revision 1.17
	sys/netinet6/in6_pcb.c: revision 1.132
	sys/netinet6/in6_ifattach.c: revision 1.94
	sys/compat/svr4/svr4_exec_elf32.c: revision 1.15
	sys/miscfs/nullfs/null_vfsops.c: revision 1.90
	sys/fs/cd9660/cd9660_util.c: revision 1.12
	sys/compat/linux/arch/powerpc/linux_machdep.c: revision 1.48
	sys/compat/freebsd/freebsd_exec_elf32.c: revision 1.20
	sys/miscfs/procfs/procfs_vfsops.c: revision 1.94
	sys/compat/linux/arch/powerpc/linux_ptrace.c: revision 1.28
	sys/compat/linux/common/linux_sched.c: revision 1.67
	sys/compat/linux/common/linux_exec_aout.c: revision 1.67
	sys/compat/linux/common/linux_pipe.c: revision 1.67
	sys/compat/linux/common/linux_llseek.c: revision 1.34
	sys/compat/linux/arch/mips/linux_ptrace.c: revision 1.10
Do not uselessly include <sys/malloc.h>.
Cleanup:
 - remove struct kmembuckets (dead)
 - correctly deadify MALLOC_XX
 - remove MALLOC_DEFINE_LIMIT and MALLOC_JUSTDEFINE_LIMIT (dead)
 - remove malloc_roundup(), malloc_type_setlimit(), MALLOC_DEFINE_LIMIT()
   and MALLOC_JUSTDEFINE_LIMIT() from man 9 malloc
New sentence, new line. Bump date for previous.
Obsolete malloc_roundup(9), malloc_type_setlimit(9) and MALLOC_DEFINE_LIMIT(9)
man pages.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Nov 9 18:08:07 2014 UTC (9 years, 3 months ago) by maxv
Branch: 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, nick-nhusb-base, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, nick-nhusb, bouyer-socketcan
Changes since 1.94: +2 -3 lines
Diff to previous 1.94 (colored)

Do not uselessly include <sys/malloc.h>.

Revision 1.86.18.2 / (download) - annotate - [select for diffs], Wed Aug 27 14:59:22 2014 UTC (9 years, 5 months ago) by msaitoh
Branch: netbsd-6-0
CVS Tags: netbsd-6-0-6-RELEASE
Changes since 1.86.18.1: +5 -4 lines
Diff to previous 1.86.18.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

Pull up following revision(s) (requested by maxv in ticket #1115):
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.94
	sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.52
Overflow if *data_len == OSIZE and args->version >= PTYFS_ARGSVERSION.
Sent on tech-kern@, ok christos@
1) 'error' is returned while it does not even hold an error code. Which
   means that zero is returned, and the kernel keeps mounting (and it
   probably ends up in a deadlock/memory corruption somewhere).
2) 'nentries' and 'gnentries' are int and user-controlled, and there's no
   check to ensure they are greater than zero. Since they are used to
   compute the size of two copyin's, a user can control the copied size
   by giving a negative value (like 128-2^29), and thus overwrite kernel
   memory.
Both triggerable from root only.

Revision 1.86.20.2 / (download) - annotate - [select for diffs], Wed Aug 27 14:59:06 2014 UTC (9 years, 5 months ago) by msaitoh
Branch: netbsd-6-1
CVS Tags: netbsd-6-1-5-RELEASE
Changes since 1.86.20.1: +5 -4 lines
Diff to previous 1.86.20.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

Pull up following revision(s) (requested by maxv in ticket #1115):
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.94
	sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.52
Overflow if *data_len == OSIZE and args->version >= PTYFS_ARGSVERSION.
Sent on tech-kern@, ok christos@
1) 'error' is returned while it does not even hold an error code. Which
   means that zero is returned, and the kernel keeps mounting (and it
   probably ends up in a deadlock/memory corruption somewhere).
2) 'nentries' and 'gnentries' are int and user-controlled, and there's no
   check to ensure they are greater than zero. Since they are used to
   compute the size of two copyin's, a user can control the copied size
   by giving a negative value (like 128-2^29), and thus overwrite kernel
   memory.
Both triggerable from root only.

Revision 1.86.14.2 / (download) - annotate - [select for diffs], Wed Aug 27 14:53:26 2014 UTC (9 years, 5 months ago) by msaitoh
Branch: netbsd-6
Changes since 1.86.14.1: +5 -4 lines
Diff to previous 1.86.14.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

Pull up following revision(s) (requested by maxv in ticket #1115):
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.94
	sys/fs/ptyfs/ptyfs_vfsops.c: revision 1.52
Overflow if *data_len == OSIZE and args->version >= PTYFS_ARGSVERSION.
Sent on tech-kern@, ok christos@
1) 'error' is returned while it does not even hold an error code. Which
   means that zero is returned, and the kernel keeps mounting (and it
   probably ends up in a deadlock/memory corruption somewhere).
2) 'nentries' and 'gnentries' are int and user-controlled, and there's no
   check to ensure they are greater than zero. Since they are used to
   compute the size of two copyin's, a user can control the copied size
   by giving a negative value (like 128-2^29), and thus overwrite kernel
   memory.
Both triggerable from root only.

Revision 1.80.12.2 / (download) - annotate - [select for diffs], Wed Aug 27 06:04:17 2014 UTC (9 years, 5 months ago) by msaitoh
Branch: netbsd-5-1
CVS Tags: netbsd-5-1-5-RELEASE
Changes since 1.80.12.1: +5 -4 lines
Diff to previous 1.80.12.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Pull up following revision(s) (requested by maxv in ticket #1921):
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.94
1) 'error' is returned while it does not even hold an error code. Which
   means that zero is returned, and the kernel keeps mounting (and it
   probably ends up in a deadlock/memory corruption somewhere).
2) 'nentries' and 'gnentries' are int and user-controlled, and there's no
   check to ensure they are greater than zero. Since they are used to
   compute the size of two copyin's, a user can control the copied size
   by giving a negative value (like 128-2^29), and thus overwrite kernel
   memory.
Both triggerable from root only.

Revision 1.80.16.2 / (download) - annotate - [select for diffs], Wed Aug 27 06:04:00 2014 UTC (9 years, 5 months ago) by msaitoh
Branch: netbsd-5-2
CVS Tags: netbsd-5-2-3-RELEASE
Changes since 1.80.16.1: +5 -4 lines
Diff to previous 1.80.16.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Pull up following revision(s) (requested by maxv in ticket #1921):
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.94
1) 'error' is returned while it does not even hold an error code. Which
   means that zero is returned, and the kernel keeps mounting (and it
   probably ends up in a deadlock/memory corruption somewhere).
2) 'nentries' and 'gnentries' are int and user-controlled, and there's no
   check to ensure they are greater than zero. Since they are used to
   compute the size of two copyin's, a user can control the copied size
   by giving a negative value (like 128-2^29), and thus overwrite kernel
   memory.
Both triggerable from root only.

Revision 1.80.6.2 / (download) - annotate - [select for diffs], Wed Aug 27 06:02:48 2014 UTC (9 years, 5 months ago) by msaitoh
Branch: netbsd-5
Changes since 1.80.6.1: +5 -4 lines
Diff to previous 1.80.6.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Pull up following revision(s) (requested by maxv in ticket #1921):
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.94
1) 'error' is returned while it does not even hold an error code. Which
   means that zero is returned, and the kernel keeps mounting (and it
   probably ends up in a deadlock/memory corruption somewhere).
2) 'nentries' and 'gnentries' are int and user-controlled, and there's no
   check to ensure they are greater than zero. Since they are used to
   compute the size of two copyin's, a user can control the copied size
   by giving a negative value (like 128-2^29), and thus overwrite kernel
   memory.
Both triggerable from root only.

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Thu Aug 21 09:05:45 2014 UTC (9 years, 6 months ago) by martin
Branch: netbsd-7
Changes since 1.93: +5 -4 lines
Diff to previous 1.93 (colored)

Pull up following revision(s) (requested by maxv in ticket #43):
	sys/miscfs/umapfs/umap_vfsops.c: revision 1.94
1) 'error' is returned while it does not even hold an error code. Which
   means that zero is returned, and the kernel keeps mounting (and it
   probably ends up in a deadlock/memory corruption somewhere).
2) 'nentries' and 'gnentries' are int and user-controlled, and there's no
   check to ensure they are greater than zero. Since they are used to
   compute the size of two copyin's, a user can control the copied size
   by giving a negative value (like 128-2^29), and thus overwrite kernel
   memory.
Both triggerable from root only.

Revision 1.88.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:31 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-maxphys
Changes since 1.88: +34 -49 lines
Diff to previous 1.88 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.94 / (download) - annotate - [select for diffs], Mon Aug 11 14:02:14 2014 UTC (9 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base
Changes since 1.93: +5 -4 lines
Diff to previous 1.93 (colored)

1) 'error' is returned while it does not even hold an error code. Which
   means that zero is returned, and the kernel keeps mounting (and it
   probably ends up in a deadlock/memory corruption somewhere).
2) 'nentries' and 'gnentries' are int and user-controlled, and there's no
   check to ensure they are greater than zero. Since they are used to
   compute the size of two copyin's, a user can control the copied size
   by giving a negative value (like 128-2^29), and thus overwrite kernel
   memory.

Both triggerable from root only.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:05 2014 UTC (9 years, 6 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.91: +5 -11 lines
Diff to previous 1.91 (colored) next main 1.92 (colored)

Rebase.

Revision 1.93 / (download) - annotate - [select for diffs], Sun May 25 13:51:25 2014 UTC (9 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.92: +3 -11 lines
Diff to previous 1.92 (colored)

Change layerfs from hashlist to vcache.
Make VI_LOCKSHARE public again.

Ride 6.99.43

Revision 1.86.8.3 / (download) - annotate - [select for diffs], Thu May 22 11:41:05 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.86.8.2: +30 -38 lines
Diff to previous 1.86.8.2 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

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.88.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:09 2014 UTC (9 years, 9 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.88: +30 -38 lines
Diff to previous 1.88 (colored) next main 1.89 (colored)

sync with head

Revision 1.80.16.1 / (download) - annotate - [select for diffs], Mon Apr 28 16:05:37 2014 UTC (9 years, 9 months ago) by sborrill
Branch: netbsd-5-2
Changes since 1.80: +4 -2 lines
Diff to previous 1.80 (colored)

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.80.12.1 / (download) - annotate - [select for diffs], Mon Apr 28 16:03:16 2014 UTC (9 years, 9 months ago) by sborrill
Branch: netbsd-5-1
Changes since 1.80: +4 -2 lines
Diff to previous 1.80 (colored)

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.80.6.1 / (download) - annotate - [select for diffs], Fri Apr 25 15:43:51 2014 UTC (9 years, 10 months ago) by sborrill
Branch: netbsd-5
Changes since 1.80: +4 -2 lines
Diff to previous 1.80 (colored)

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.86.20.1 / (download) - annotate - [select for diffs], Mon Apr 21 10:17:48 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-6-1
Changes since 1.86: +4 -2 lines
Diff to previous 1.86 (colored)

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.86.18.1 / (download) - annotate - [select for diffs], Mon Apr 21 10:15:37 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-6-0
Changes since 1.86: +4 -2 lines
Diff to previous 1.86 (colored)

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.86.14.1 / (download) - annotate - [select for diffs], Mon Apr 21 10:14:18 2014 UTC (9 years, 10 months ago) by bouyer
Branch: netbsd-6
Changes since 1.86: +4 -2 lines
Diff to previous 1.86 (colored)

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.92 / (download) - annotate - [select for diffs], Wed Apr 16 18:55:19 2014 UTC (9 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.91: +4 -2 lines
Diff to previous 1.91 (colored)

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.91 / (download) - annotate - [select for diffs], Sun Mar 23 15:21:16 2014 UTC (9 years, 11 months ago) by hannken
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15
Branch point for: tls-earlyentropy
Changes since 1.90: +23 -27 lines
Diff to previous 1.90 (colored)

Change all vfsops to use C99 designated initializers.

No functional changes intended.

Revision 1.90 / (download) - annotate - [select for diffs], Tue Feb 25 18:30:12 2014 UTC (9 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base3
Changes since 1.89: +2 -7 lines
Diff to previous 1.89 (colored)

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.89 / (download) - annotate - [select for diffs], Mon Feb 10 11:23:14 2014 UTC (10 years ago) by hannken
Branch: MAIN
Changes since 1.88: +7 -8 lines
Diff to previous 1.88 (colored)

Change layerfs_vget(), layerfs_fhtovp() and the various layer xxx_mount()
functions to unlock/relock the node for the call to layer_node_create().

Finally remove dirty hacks (LK_NOWAIT, kpause) from layer_node_find().

Revision 1.86.12.2 / (download) - annotate - [select for diffs], Sat Jun 2 11:09:37 2012 UTC (11 years, 8 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.86.12.1: +5 -8 lines
Diff to previous 1.86.12.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored)

sync to latest -current.

Revision 1.86.8.2 / (download) - annotate - [select for diffs], Wed May 23 10:08:14 2012 UTC (11 years, 9 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.86.8.1: +7 -10 lines
Diff to previous 1.86.8.1 (colored) to branchpoint 1.86 (colored)

sync with head.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Apr 30 22:51:28 2012 UTC (11 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.87: +7 -10 lines
Diff to previous 1.87 (colored)

- Replace some malloc(9) uses with kmem(9).
- G/C M_IPMOPTS, M_IPMADDR and M_BWMETER.

Revision 1.86.8.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:35 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.86: +5 -4 lines
Diff to previous 1.86 (colored)

sync with head

Revision 1.86.12.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:42 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.86: +5 -4 lines
Diff to previous 1.86 (colored)

sync to latest -current.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Mar 13 18:40:58 2012 UTC (11 years, 11 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8
Changes since 1.86: +5 -4 lines
Diff to previous 1.86 (colored)

Replace the remaining KAUTH_GENERIC_ISSUSER authorization calls with
something meaningful. All relevant documentation has been updated or
written.

Most of these changes were brought up in the following messages:

    http://mail-index.netbsd.org/tech-kern/2012/01/18/msg012490.html
    http://mail-index.netbsd.org/tech-kern/2012/01/19/msg012502.html
    http://mail-index.netbsd.org/tech-kern/2012/02/17/msg012728.html

Thanks to christos, manu, njoly, and jmmv for input.

Huge thanks to pgoyette for spinning these changes through some build
cycles and ATF.

Revision 1.82.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:34 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.82.4.2: +13 -6 lines
Diff to previous 1.82.4.2 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

sync with head

Revision 1.86 / (download) - annotate - [select for diffs], Fri Nov 19 06:44:46 2010 UTC (13 years, 3 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-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, matt-mips64-premerge-20101231, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, 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, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, netbsd-6-1, netbsd-6-0, netbsd-6, jmcneill-usbmp
Changes since 1.85: +13 -6 lines
Diff to previous 1.85 (colored)

Introduce struct pathbuf. This is an abstraction to hold a pathname
and the metadata required to interpret it. Callers of namei must now
create a pathbuf and pass it to NDINIT (instead of a string and a
uio_seg), then destroy the pathbuf after the namei session is
complete.

Update all namei call sites accordingly. Add a pathbuf(9) man page and
update namei(9).

The pathbuf interface also now appears in a couple of related
additional places that were passing string/uio_seg pairs that were
later fed into NDINIT. Update other call sites accordingly.

Revision 1.82.2.2 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:39 2010 UTC (13 years, 6 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.82.2.1: +1 -1 lines
Diff to previous 1.82.2.1 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored)

Sync with HEAD.

Revision 1.75.10.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:49 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.75.10.2: +5 -5 lines
Diff to previous 1.75.10.2 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

sync with head.

Revision 1.82.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:58 2010 UTC (13 years, 7 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.82.4.1: +3 -3 lines
Diff to previous 1.82.4.1 (colored) to branchpoint 1.82 (colored)

sync with head

Revision 1.85 / (download) - annotate - [select for diffs], Thu Jun 24 13:03:17 2010 UTC (13 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.84: +3 -3 lines
Diff to previous 1.84 (colored)

Clean up vnode lock operations pass 2:

VOP_UNLOCK(vp, flags) -> VOP_UNLOCK(vp): Remove the unneeded flags argument.

Welcome to 5.99.32.

Discussed on tech-kern.

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:18:00 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

sync with head

Revision 1.82.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:44:16 2010 UTC (13 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.82: +4 -4 lines
Diff to previous 1.82 (colored)

Sync with HEAD.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Apr 11 10:26:25 2010 UTC (13 years, 10 months ago) by mlelstv
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.83: +3 -3 lines
Diff to previous 1.83 (colored)

The *_modcmd functions use the module name as prefix.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Apr 11 06:36:25 2010 UTC (13 years, 10 months ago) by pooka
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored)

Make module name match MOUNT_NAME.  Inspired by PR kern/43110.

Revision 1.81.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:22:17 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.81: +3 -7 lines
Diff to previous 1.81 (colored) next main 1.82 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.75.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:14:06 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.75.10.1: +36 -32 lines
Diff to previous 1.75.10.1 (colored) to branchpoint 1.75 (colored)

sync with head.

Revision 1.80.4.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:15 2009 UTC (14 years, 9 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.80.4.1: +3 -7 lines
Diff to previous 1.80.4.1 (colored) to branchpoint 1.80 (colored) next main 1.81 (colored)

Sync with HEAD.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Mar 14 15:36:23 2009 UTC (14 years, 11 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.81: +3 -7 lines
Diff to previous 1.81 (colored)

Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)

Revision 1.80.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:07 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

Sync with HEAD.

Revision 1.75.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:28 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.75.6.2: +1 -1 lines
Diff to previous 1.75.6.2 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored)

Sync with HEAD.

Revision 1.80.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:25 2008 UTC (15 years, 2 months ago) by haad
Branch: haad-dm
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored) next main 1.81 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Dec 5 13:05:38 2008 UTC (15 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.80: +3 -3 lines
Diff to previous 1.80 (colored)

PR kern/40110: null, overlay and umap modules loading -> panic (layerfs symbols not there)

Add a layerfs module.

Revision 1.77.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:58 2008 UTC (15 years, 5 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.77.2.1: +34 -26 lines
Diff to previous 1.77.2.1 (colored) next main 1.78 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:38:18 2008 UTC (15 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.79: +34 -26 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

Sync with head.

Revision 1.75.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:16 2008 UTC (15 years, 7 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.75.6.1: +32 -24 lines
Diff to previous 1.75.6.1 (colored) to branchpoint 1.75 (colored)

Sync with HEAD.

Revision 1.80 / (download) - annotate - [select for diffs], Sat Jun 28 01:34:06 2008 UTC (15 years, 7 months ago) by rumble
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, 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, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5-2, netbsd-5-1, netbsd-5, haad-dm
Changes since 1.79: +34 -26 lines
Diff to previous 1.79 (colored)

Create sysctl entries during module initialisation and destroy them
appropriately.

Many of these file systems are now ready for modularisation.

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:31:57 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.77: +20 -4 lines
Diff to previous 1.77 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.75.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:21 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.75: +26 -6 lines
Diff to previous 1.75 (colored)

Sync with HEAD.

Revision 1.75.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:26 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.75: +26 -6 lines
Diff to previous 1.75 (colored) next main 1.76 (colored)

sync with head.

Revision 1.75.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:40 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.75: +26 -6 lines
Diff to previous 1.75 (colored)

sync with head.

Revision 1.79 / (download) - annotate - [select for diffs], Tue May 13 08:31:13 2008 UTC (15 years, 9 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: simonb-wapbl
Changes since 1.78: +3 -3 lines
Diff to previous 1.78 (colored)

mnt_data is a pointer, set it to NULL not 0 when we're finished with it.

Revision 1.78 / (download) - annotate - [select for diffs], Sat May 10 02:26:10 2008 UTC (15 years, 9 months ago) by rumble
Branch: MAIN
Changes since 1.77: +19 -3 lines
Diff to previous 1.77 (colored)

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.77 / (download) - annotate - [select for diffs], Mon May 5 17:11:17 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.76: +7 -4 lines
Diff to previous 1.76 (colored)

- Convert hashinit() to use kmem_alloc(). The hash tables can be large
  and it's better to not have them in kmem_map.
- Convert a couple of minor items along the way to kmem_alloc().
- Fix some memory leaks.

Revision 1.76 / (download) - annotate - [select for diffs], Tue Apr 29 18:18:09 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.75: +3 -2 lines
Diff to previous 1.75 (colored)

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.69.4.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:04 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.69.4.2: +4 -2 lines
Diff to previous 1.69.4.2 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

sync with HEAD

Revision 1.71.4.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:00 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.71.4.2: +6 -8 lines
Diff to previous 1.71.4.2 (colored) to branchpoint 1.71 (colored) next main 1.72 (colored)

Sync with HEAD.

Revision 1.53.2.8 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:36 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.2.7: +4 -2 lines
Diff to previous 1.53.2.7 (colored) next main 1.54 (colored)

sync with head.

Revision 1.75 / (download) - annotate - [select for diffs], Mon Jan 28 14:31:19 2008 UTC (16 years ago) by dholland
Branch: 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
Changes since 1.74: +4 -2 lines
Diff to previous 1.74 (colored)

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.53.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:57 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.2.6: +5 -9 lines
Diff to previous 1.53.2.6 (colored)

sync with head

Revision 1.69.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:57:07 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.69.4.1: +8 -12 lines
Diff to previous 1.69.4.1 (colored) to branchpoint 1.69 (colored)

sync with HEAD

Revision 1.73.4.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:58 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.73: +4 -8 lines
Diff to previous 1.73 (colored) next main 1.74 (colored)

Sync with HEAD

Revision 1.74 / (download) - annotate - [select for diffs], Wed Jan 2 11:49:02 2008 UTC (16 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.73: +4 -8 lines
Diff to previous 1.73 (colored)

Merge vmlocking2 to head.

Revision 1.71.4.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:46:25 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.71.4.1: +3 -3 lines
Diff to previous 1.71.4.1 (colored) to branchpoint 1.71 (colored)

Sync with HEAD.

Revision 1.72.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:50 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.72.2.1: +3 -3 lines
Diff to previous 1.72.2.1 (colored) to branchpoint 1.72 (colored) next main 1.73 (colored)

Sync with head.

Revision 1.69.2.3 / (download) - annotate - [select for diffs], Sun Dec 9 19:38:32 2007 UTC (16 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.69.2.2: +3 -3 lines
Diff to previous 1.69.2.2 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Sync with HEAD.

Revision 1.73 / (download) - annotate - [select for diffs], Sat Dec 8 19:29:51 2007 UTC (16 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, jmcneill-pm-base, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored)

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.71.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:21:04 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.71: +5 -5 lines
Diff to previous 1.71 (colored)

Sync with HEAD.

Revision 1.53.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:34:13 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.2.5: +5 -5 lines
Diff to previous 1.53.2.5 (colored)

sync with head

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:31 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.72: +4 -8 lines
Diff to previous 1.72 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.69.2.2 / (download) - annotate - [select for diffs], Tue Nov 27 19:38:55 2007 UTC (16 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.69.2.1: +5 -5 lines
Diff to previous 1.69.2.1 (colored) to branchpoint 1.69 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.72 / (download) - annotate - [select for diffs], Mon Nov 26 19:02:18 2007 UTC (16 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base
Branch point for: vmlocking2
Changes since 1.71: +5 -5 lines
Diff to previous 1.71 (colored)

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.69.4.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:33:24 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.69: +7 -5 lines
Diff to previous 1.69 (colored)

sync with HEAD

Revision 1.53.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:35:58 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.2.4: +7 -5 lines
Diff to previous 1.53.2.4 (colored)

sync with head.

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:48:58 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.69: +7 -5 lines
Diff to previous 1.69 (colored)

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.69.6.1 / (download) - annotate - [select for diffs], Sun Oct 14 11:48:57 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.69: +7 -5 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

sync with head.

Revision 1.71 / (download) - annotate - [select for diffs], Wed Oct 10 22:07:48 2007 UTC (16 years, 4 months ago) by ad
Branch: 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
Changes since 1.70: +6 -4 lines
Diff to previous 1.70 (colored)

umapm_hashlock is a mutex.

Revision 1.70 / (download) - annotate - [select for diffs], Wed Oct 10 20:42:31 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored)

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.63.6.6 / (download) - annotate - [select for diffs], Sun Sep 16 19:04:37 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.63.6.5: +3 -7 lines
Diff to previous 1.63.6.5 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

Checkpoint work in progress on the vnode lifecycle and reference counting
stuff. This makes it work properly without kernel_lock and fixes a few
quite old bugs. See vfs_subr.c 1.283.2.17 for details.

Revision 1.53.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:42:00 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.2.3: +35 -49 lines
Diff to previous 1.53.2.3 (colored)

sync with head.

Revision 1.63.6.5 / (download) - annotate - [select for diffs], Mon Aug 20 21:27:52 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.63.6.4: +10 -12 lines
Diff to previous 1.63.6.4 (colored) to branchpoint 1.63 (colored)

Sync with HEAD.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:49:37 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.67: +9 -11 lines
Diff to previous 1.67 (colored) next main 1.68 (colored)

Sync with HEAD.

Revision 1.69.8.2 / (download) - annotate - [select for diffs], Tue Jul 31 21:14:17 2007 UTC (16 years, 6 months ago) by pooka
Branch: matt-mips64
Changes since 1.69.8.1: +325 -0 lines
Diff to previous 1.69.8.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

* 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.69.8.1, Tue Jul 31 21:14:16 2007 UTC (16 years, 6 months ago) by pooka
Branch: matt-mips64
Changes since 1.69: +0 -325 lines
FILE REMOVED

file umap_vfsops.c was added on branch matt-mips64 on 2007-07-31 21:14:17 +0000

Revision 1.69 / (download) - annotate - [select for diffs], Tue Jul 31 21:14:16 2007 UTC (16 years, 6 months ago) by pooka
Branch: 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
Changes since 1.68: +8 -10 lines
Diff to previous 1.68 (colored)

* 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.68 / (download) - annotate - [select for diffs], Thu Jul 26 22:57:40 2007 UTC (16 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: hpcarm-cleanup
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

Use eopnotsupp() instead of vfs_stdsuspendctl() and retire the latter.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Jul 17 11:19:35 2007 UTC (16 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: nick-csl-alignment-base
Branch point for: nick-csl-alignment
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

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.63.6.4 / (download) - annotate - [select for diffs], Sun Jul 15 13:27:52 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.63.6.3: +29 -40 lines
Diff to previous 1.63.6.3 (colored) to branchpoint 1.63 (colored)

Sync with head.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Jul 12 19:35:35 2007 UTC (16 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.65: +28 -29 lines
Diff to previous 1.65 (colored)

Change the VFS_MOUNT() interface so that the 'data' buffer passed to the
fs code is a kernel buffer, pass though the length of the buffer as well.
Since the length of the userspace buffer isn'it (yet) passed through the mount
system call, add a field to the vfsops structure containing the default length.
Split sys_mount() for calls from compat code.
Ride one of the recent kernel version changes - old fs LKMs will load, but
sys_mount() will reject any attempt to use them.

Revision 1.63.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:51 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.63: +3 -14 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

Sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Jul 8 23:58:53 2007 UTC (16 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: mjf-ufs-trans-base
Changes since 1.64: +3 -13 lines
Diff to previous 1.64 (colored)

* allow unmount even if rootvp has a usecount > 1 provided that
  MNT_FORCE is given
* decrease cargo cult index by getting rid of commented sections
  with mntflushbuf() in them - AFAICT the call was removed from our
  kernel over 13 years ago with the 4.4BSDlite import

Revision 1.63.6.3 / (download) - annotate - [select for diffs], Sun Jun 17 21:31:48 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.63.6.2: +3 -3 lines
Diff to previous 1.63.6.2 (colored) to branchpoint 1.63 (colored)

- 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.63.2.1 / (download) - annotate - [select for diffs], Sun Apr 15 16:03:57 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.63: +2 -3 lines
Diff to previous 1.63 (colored) next main 1.64 (colored)

sync with head.

Revision 1.63.6.2 / (download) - annotate - [select for diffs], Tue Apr 10 13:26:46 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.63.6.1: +2 -3 lines
Diff to previous 1.63.6.1 (colored) to branchpoint 1.63 (colored)

Sync with head.

Revision 1.64 / (download) - annotate - [select for diffs], Sun Apr 8 11:20:48 2007 UTC (16 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic
Changes since 1.63: +2 -3 lines
Diff to previous 1.63 (colored)

Remove now obsolete vn_start_write() and vn_finished_write() and
corresponding flags.

Revert softdep_trackbufs() to its state before vn_start_write() was added.

Remove from struct mount now unneeded flags IMNT_SUSPEND* and
members mnt_writeopcountupper, mnt_writeopcountlower and mnt_leaf.

Welcome to 4.99.17

Revision 1.63.6.1 / (download) - annotate - [select for diffs], Thu Apr 5 21:57:51 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.63: +4 -3 lines
Diff to previous 1.63 (colored)

Compile fixes.

Revision 1.53.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:32 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.2.2: +4 -3 lines
Diff to previous 1.53.2.2 (colored)

sync with head.

Revision 1.59.2.3 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:42 2007 UTC (17 years ago) by ad
Branch: newlock2
Changes since 1.59.2.2: +3 -2 lines
Diff to previous 1.59.2.2 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

Sync with head.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jan 19 14:49:11 2007 UTC (17 years, 1 month ago) by hannken
Branch: MAIN
CVS Tags: reinoud-bufcleanup, post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, mjf-ufs-trans
Changes since 1.62: +3 -2 lines
Diff to previous 1.62 (colored)

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.59.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:11 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.59.2.1: +3 -3 lines
Diff to previous 1.59.2.1 (colored) to branchpoint 1.59 (colored)

Sync with head.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jan 4 19:07:04 2007 UTC (17 years, 1 month ago) by elad
Branch: MAIN
Changes since 1.61: +3 -3 lines
Diff to previous 1.61 (colored)

Consistent usage of KAUTH_GENERIC_ISSUSER.

Revision 1.53.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:18 2006 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53.2.1: +7 -9 lines
Diff to previous 1.53.2.1 (colored)

sync with head.

Revision 1.59.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:00 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.59.4.1: +3 -3 lines
Diff to previous 1.59.4.1 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

sync with head.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:29 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.59: +3 -6 lines
Diff to previous 1.59 (colored)

Sync with head.

Revision 1.61 / (download) - annotate - [select for diffs], Thu Nov 16 01:33:40 2006 UTC (17 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, 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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

__unused removal on arguments; approved by core.

Revision 1.59.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:07:24 2006 UTC (17 years, 4 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.59: +3 -6 lines
Diff to previous 1.59 (colored)

sync with head

Revision 1.60 / (download) - annotate - [select for diffs], Thu Oct 12 01:32:27 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.59: +3 -6 lines
Diff to previous 1.59 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.56.8.3 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:54 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.56.8.2: +4 -2 lines
Diff to previous 1.56.8.2 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

sync with head.

Revision 1.56.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:58:06 2006 UTC (17 years, 5 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.56: +8 -4 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

sync with head

Revision 1.59 / (download) - annotate - [select for diffs], Sun Sep 3 22:28:53 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.58: +4 -2 lines
Diff to previous 1.58 (colored)

add missing initializers

Revision 1.56.8.2 / (download) - annotate - [select for diffs], Fri Aug 11 15:46:14 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.56.8.1: +4 -5 lines
Diff to previous 1.56.8.1 (colored) to branchpoint 1.56 (colored)

sync with head

Revision 1.58 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:12 2006 UTC (17 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.57: +4 -5 lines
Diff to previous 1.57 (colored)

Use the LWP cached credentials where sane.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:10:26 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.53: +20 -24 lines
Diff to previous 1.53 (colored)

sync with head.

Revision 1.56.6.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:38:30 2006 UTC (17 years, 8 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.56: +6 -3 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with head.

Revision 1.56.12.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:43 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.56: +6 -3 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.56.8.1 / (download) - annotate - [select for diffs], Wed May 24 10:58:55 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.56: +6 -3 lines
Diff to previous 1.56 (colored)

sync with head.

Revision 1.57 / (download) - annotate - [select for diffs], Sun May 14 21:32:21 2006 UTC (17 years, 9 months ago) by elad
Branch: 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
Changes since 1.56: +6 -3 lines
Diff to previous 1.56 (colored)

integrate kauth.

Revision 1.56.10.3 / (download) - annotate - [select for diffs], Sat May 6 23:31:58 2006 UTC (17 years, 9 months ago) by christos
Branch: elad-kernelauth
Changes since 1.56.10.2: +4 -2 lines
Diff to previous 1.56.10.2 (colored) to branchpoint 1.56 (colored) next main 1.57 (colored)

- 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.56.10.2 / (download) - annotate - [select for diffs], Fri Mar 10 13:57:49 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.56.10.1: +4 -3 lines
Diff to previous 1.56.10.1 (colored) to branchpoint 1.56 (colored)

generic_authorize() -> kauth_authorize_generic().

Revision 1.56.10.1 / (download) - annotate - [select for diffs], Wed Mar 8 01:34:34 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Adapt to kernel authorization KPI.

Revision 1.56 / (download) - annotate - [select for diffs], Sun Dec 11 12:24:51 2005 UTC (18 years, 2 months ago) by christos
Branch: 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
Changes since 1.55: +12 -10 lines
Diff to previous 1.55 (colored)

merge ktrace-lwp.

Revision 1.39.2.9 / (download) - annotate - [select for diffs], Thu Nov 10 14:10:32 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.8: +14 -23 lines
Diff to previous 1.39.2.8 (colored) next main 1.40 (colored)

Sync with HEAD. Here we go again...

Revision 1.55 / (download) - annotate - [select for diffs], Fri Sep 23 12:10:33 2005 UTC (18 years, 5 months ago) by jmmv
Branch: 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
Changes since 1.54: +5 -14 lines
Diff to previous 1.54 (colored)

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.54 / (download) - annotate - [select for diffs], Tue Aug 30 20:08:02 2005 UTC (18 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.53: +5 -5 lines
Diff to previous 1.53 (colored)

Remove __P()

Revision 1.53 / (download) - annotate - [select for diffs], Sun May 29 21:55:34 2005 UTC (18 years, 8 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.52: +8 -8 lines
Diff to previous 1.52 (colored)

- sprinkle const
- avoid shadowed variables.

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:31 2005 UTC (18 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.50: +9 -8 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

sync with -current

Revision 1.39.2.8 / (download) - annotate - [select for diffs], Fri Apr 1 14:31:34 2005 UTC (18 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.7: +3 -2 lines
Diff to previous 1.39.2.7 (colored)

Sync with HEAD.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Mar 29 02:41:05 2005 UTC (18 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.51: +3 -2 lines
Diff to previous 1.51 (colored)

- Define a VFS_ATTACH() macro that places a reference to a vfsops structure
  into the "vfsops" link set.
- Use VFS_ATTACH() where vfsops are declared for individual file systems.
- In vfsinit(), traverse the "vfsops" link set, rather than vfs_list_initial[].

Revision 1.50.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:31 2005 UTC (18 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.50: +8 -8 lines
Diff to previous 1.50 (colored) next main 1.51 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.39.2.7 / (download) - annotate - [select for diffs], Fri Mar 4 16:52:56 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.6: +8 -8 lines
Diff to previous 1.39.2.6 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.51 / (download) - annotate - [select for diffs], Sat Feb 26 22:59:00 2005 UTC (18 years, 11 months ago) by perry
Branch: 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
Changes since 1.50: +8 -8 lines
Diff to previous 1.50 (colored)

nuke trailing whitespace

Revision 1.39.2.6 / (download) - annotate - [select for diffs], Mon Jan 17 19:32:38 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.5: +3 -2 lines
Diff to previous 1.39.2.5 (colored)

Sync with HEAD.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Jan 2 16:08:30 2005 UTC (19 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.49: +3 -2 lines
Diff to previous 1.49 (colored)

Add the system call and VFS infrastructure for file system extended
attributes.

From FreeBSD.

Revision 1.39.2.5 / (download) - annotate - [select for diffs], Tue Sep 21 13:36:35 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.4: +12 -10 lines
Diff to previous 1.39.2.4 (colored)

Fix the sync with head I botched.

Revision 1.39.2.4 / (download) - annotate - [select for diffs], Sat Sep 18 14:54:15 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.3: +10 -12 lines
Diff to previous 1.39.2.3 (colored)

Sync with HEAD.

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Tue Aug 3 10:54:10 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.2: +35 -15 lines
Diff to previous 1.39.2.2 (colored)

Sync with HEAD

Revision 1.49 / (download) - annotate - [select for diffs], Thu Jul 1 10:03:32 2004 UTC (19 years, 7 months ago) by hannken
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.48: +3 -2 lines
Diff to previous 1.48 (colored)

Keep a pointer to the leaf mount. Needed for write gating where a
file system gets suspended and has layered mounts above it.

Welcome to 2.0G

Reviewed by: Bill Studenmund <wrstuden@netbsd.org>

Revision 1.48 / (download) - annotate - [select for diffs], Sat May 29 23:48:08 2004 UTC (19 years, 8 months ago) by wrstuden
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

Add layerfs_snapshot() as a handler routine for VFS_SNAPSHOT() calls
through a layered file system.

Note: we don't actually support snapshots through a layered file system,
and this routine returns an error. However we: 1) have clearly documented
what needs fixing (which isn't trivial to fix) and 2) if we do fix
this, all layered file systems can take advantage of it at once.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sat May 29 09:04:20 2004 UTC (19 years, 8 months ago) by tron
Branch: 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
Changes since 1.43: +4 -3 lines
Diff to previous 1.43 (colored) next main 1.44 (colored)

Pull up revision 1.46 (requested by atatat in ticket #393):
Sysctl descriptions under vfs subtree

Revision 1.47 / (download) - annotate - [select for diffs], Tue May 25 14:54:58 2004 UTC (19 years, 9 months ago) by hannken
Branch: MAIN
Changes since 1.46: +3 -2 lines
Diff to previous 1.46 (colored)

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.46 / (download) - annotate - [select for diffs], Tue May 25 04:44:44 2004 UTC (19 years, 9 months ago) by atatat
Branch: MAIN
Changes since 1.45: +4 -3 lines
Diff to previous 1.45 (colored)

Sysctl descriptions under vfs subtree

Revision 1.45 / (download) - annotate - [select for diffs], Thu Apr 29 16:10:56 2004 UTC (19 years, 9 months ago) by jrf
Branch: MAIN
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored)

Removed remaining caddr_t casts we do not need in miscfs. Recompiled
kernel and ran for a day or so. There are still some caddr_t types in
the arguments of some calls, I will do those separately (later) as
they touch a lot more of the system.
Approved by christos@NetBSD.org.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Apr 21 01:05:42 2004 UTC (19 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

Replace the statfs() family of system calls with statvfs().
Retain binary compatibility.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Mar 24 15:34:54 2004 UTC (19 years, 11 months ago) by atatat
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.42: +6 -4 lines
Diff to previous 1.42 (colored)

Tango on sysctl_createv() and flags.  The flags have all been renamed,
and sysctl_createv() now uses more arguments.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Mar 9 03:16:09 2004 UTC (19 years, 11 months ago) by atatat
Branch: MAIN
Changes since 1.41: +2 -6 lines
Diff to previous 1.41 (colored)

Remove pointless comment about layerfs_sysctl()

Revision 1.41 / (download) - annotate - [select for diffs], Thu Dec 4 19:38:24 2003 UTC (20 years, 2 months ago) by atatat
Branch: MAIN
Changes since 1.40: +26 -3 lines
Diff to previous 1.40 (colored)

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.40 / (download) - annotate - [select for diffs], Thu Aug 7 16:32:46 2003 UTC (20 years, 6 months ago) by agc
Branch: MAIN
Changes since 1.39: +3 -7 lines
Diff to previous 1.39 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Thu Jul 3 01:23:44 2003 UTC (20 years, 7 months ago) by wrstuden
Branch: ktrace-lwp
Changes since 1.39.2.1: +3 -3 lines
Diff to previous 1.39.2.1 (colored)

LWP-ify. Changes all seem to be catching up wiht recent set_statfs_info()
chances.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:26:55 2003 UTC (20 years, 7 months ago) by darrenr
Branch: ktrace-lwp
Changes since 1.39: +11 -9 lines
Diff to previous 1.39 (colored)

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.39 / (download) - annotate - [select for diffs], Sun Jun 29 22:31:49 2003 UTC (20 years, 7 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.38: +10 -12 lines
Diff to previous 1.38 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Jun 29 02:17:00 2003 UTC (20 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

Adjust for ktrace/lwp changes.

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jun 28 14:22:05 2003 UTC (20 years, 8 months ago) by darrenr
Branch: MAIN
Changes since 1.36: +11 -9 lines
Diff to previous 1.36 (colored)

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.36 / (download) - annotate - [select for diffs], Wed Apr 16 21:44:24 2003 UTC (20 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.35: +5 -9 lines
Diff to previous 1.35 (colored)

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.27.2.6 / (download) - annotate - [select for diffs], Fri Oct 18 02:45:06 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.27.2.5: +10 -0 lines
Diff to previous 1.27.2.5 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Catch up to -current.

Revision 1.27.4.5 / (download) - annotate - [select for diffs], Thu Oct 10 18:43:35 2002 UTC (21 years, 4 months ago) by jdolecek
Branch: kqueue
Changes since 1.27.4.4: +12 -2 lines
Diff to previous 1.27.4.4 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.35 / (download) - annotate - [select for diffs], Sat Sep 21 18:09:31 2002 UTC (21 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.34: +12 -2 lines
Diff to previous 1.34 (colored)

MNT_GETARGS support

Revision 1.27.4.4 / (download) - annotate - [select for diffs], Fri Sep 6 08:48:43 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.27.4.3: +3 -3 lines
Diff to previous 1.27.4.3 (colored) to branchpoint 1.27 (colored)

sync kqueue branch with HEAD

Revision 1.33.8.1 / (download) - annotate - [select for diffs], Thu Aug 29 05:23:26 2002 UTC (21 years, 5 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

catch up with -current.

Revision 1.27.2.5 / (download) - annotate - [select for diffs], Thu Aug 1 02:46:35 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.27.2.4: +3 -3 lines
Diff to previous 1.27.2.4 (colored) to branchpoint 1.27 (colored)

Catch up to -current.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Jul 30 07:40:11 2002 UTC (21 years, 6 months ago) by soren
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Die, qaddr_t, die! - mnt_data in struct mount is already effectively
a void *, so stop pretending otherwise.

Revision 1.27.4.3 / (download) - annotate - [select for diffs], Thu Jan 10 20:01:48 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.27.4.2: +5 -2 lines
Diff to previous 1.27.4.2 (colored) to branchpoint 1.27 (colored)

Sync kqueue branch with -current.

Revision 1.27.2.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:33:45 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.27.2.3: +2 -3 lines
Diff to previous 1.27.2.3 (colored) to branchpoint 1.27 (colored)

Catch up to -current.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Nov 15 09:48:23 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: newlock-base, newlock, 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, ifpoll-base, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.32: +2 -3 lines
Diff to previous 1.32 (colored)

don't need <sys/types.h> when including <sys/param.h>

Revision 1.27.2.3 / (download) - annotate - [select for diffs], Wed Nov 14 19:17:15 2001 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.27.2.2: +4 -1 lines
Diff to previous 1.27.2.2 (colored) to branchpoint 1.27 (colored)

Catch up to -current.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Mon Nov 12 21:19:14 2001 UTC (22 years, 3 months ago) by thorpej
Branch: thorpej-mips-cache
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Sync the thorpej-mips-cache branch with -current.

Revision 1.32 / (download) - annotate - [select for diffs], Sat Nov 10 13:33:45 2001 UTC (22 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: thorpej-mips-cache-base
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored)

add RCSIDs

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:47:26 2001 UTC (22 years, 4 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Catch up with -current.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Fri Sep 21 22:36:40 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.27.2.1: +2 -1 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored)

Catch up to -current.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Sep 15 16:13:00 2001 UTC (22 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: thorpej-mips-cache
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored)

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.27.4.2 / (download) - annotate - [select for diffs], Sat Aug 25 06:16:54 2001 UTC (22 years, 6 months ago) by thorpej
Branch: kqueue
Changes since 1.27.4.1: +6 -1 lines
Diff to previous 1.27.4.1 (colored) to branchpoint 1.27 (colored)

Merge Aug 24 -current into the kqueue branch.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Fri Aug 24 00:12:00 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.27: +7 -4 lines
Diff to previous 1.27 (colored)

Catch up with -current.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Thu Aug 16 16:03:44 2001 UTC (22 years, 6 months ago) by tv
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002
Changes since 1.25: +6 -1 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Pullup [jdolecek]:

sys/miscfs/umapfs/umap_vfsops.c                 1.29-1.30
sys/kern/vfs_subr.c                             1.156
sys/nfs/nfs.h                                   1.30

  Bounds check mount args.

Revision 1.30 / (download) - annotate - [select for diffs], Thu Aug 16 15:37:06 2001 UTC (22 years, 6 months ago) by tv
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored)

KNF on previous.

Revision 1.29 / (download) - annotate - [select for diffs], Fri Aug 3 06:00:13 2001 UTC (22 years, 6 months ago) by jdolecek
Branch: MAIN
Changes since 1.28: +6 -1 lines
Diff to previous 1.28 (colored)

bound check mount args more thoroughly

Revision 1.27.4.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:13:47 2001 UTC (22 years, 6 months ago) by lukem
Branch: kqueue
Changes since 1.27: +2 -4 lines
Diff to previous 1.27 (colored)

update to -current

Revision 1.28 / (download) - annotate - [select for diffs], Thu Aug 2 22:40:59 2001 UTC (22 years, 6 months ago) by assar
Branch: MAIN
Changes since 1.27: +2 -4 lines
Diff to previous 1.27 (colored)

(*fs_mount): do not get the parent vnode back from namei to just release it

Revision 1.23.2.3 / (download) - annotate - [select for diffs], Sun Feb 11 19:17:05 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.23.2.2: +3 -3 lines
Diff to previous 1.23.2.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jan 22 12:17:40 2001 UTC (23 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa, kqueue
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

make filesystem vnodeop, specop, fifoop and vnodeopv_* arrays const

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:05:48 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.23.2.1: +3 -3 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored)

Sync with HEAD.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:09:51 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.26 / (download) - annotate - [select for diffs], Wed Nov 8 14:28:14 2000 UTC (23 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Update for hashinit() change.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:09:38 2000 UTC (23 years, 8 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) next main 1.25 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Jun 10 18:27:04 2000 UTC (23 years, 8 months ago) by assar
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

make vfs_getnewfsid only take one argument and fetch the name of the
filesystem from the supplied mount argument.  also make makefstype
take a const parameter.  update all the callers.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Mar 16 19:00:26 2000 UTC (23 years, 11 months ago) by jdolecek
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Adapt to last VFS changes - add appropriate vfs_done routine.

Revision 1.23.8.1 / (download) - annotate - [select for diffs], Tue Dec 21 23:20:01 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Mon Aug 2 22:30:26 1999 UTC (24 years, 6 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.22: +66 -220 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Update from trunk.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Jul 8 01:19:07 1999 UTC (24 years, 7 months ago) by wrstuden
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.22: +66 -220 lines
Diff to previous 1.22 (colored)

Introduce layer library in genfs. This set of files abstracts most of
the functionality of nullfs. The latter is now just a mount & unmount
routine, and a few tables. umapfs borrow most of this infrastructure.

Both fs's are now nfs-exportable.

All layered fs's share a common format to private mount & private
vnode structs (which a particular fs can extend).

Also add genfs_noerr_rele(), a vnode op which will vrele/vput
operand vnodes appropriately.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Mar 19 21:46:26 1999 UTC (24 years, 11 months ago) by perseant
Branch: 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
Branch point for: chs-ubc2
Changes since 1.21: +8 -5 lines
Diff to previous 1.21 (colored)

Apply patch from kern/5538:

Fix group mapping so members of group 0 get other group-ids mapped as well.
Avoid rename panic by checking (*this_vp_p) against NULLVP before
dereferencing it (same change as to NULLFS some time ago).

Revision 1.21 / (download) - annotate - [select for diffs], Fri Mar 12 18:16:44 1999 UTC (24 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.20: +5 -1 lines
Diff to previous 1.20 (colored)

Restrict umap mounts to root. Letting any user use this has security
implications.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 26 23:44:46 1999 UTC (25 years ago) by wrstuden
Branch: MAIN
Changes since 1.19: +15 -5 lines
Diff to previous 1.19 (colored)

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.19 / (download) - annotate - [select for diffs], Sun Aug 9 20:51:10 1998 UTC (25 years, 6 months ago) by perry
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.18: +7 -7 lines
Diff to previous 1.18 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 1 02:21:51 1998 UTC (25 years, 11 months ago) by fvdl
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.17: +23 -11 lines
Diff to previous 1.17 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:15 1998 UTC (25 years, 11 months ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +12 -12 lines
Diff to previous 1.1.1.1 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:10:03 1998 UTC (25 years, 11 months ago) by fvdl
Branch: netbsd, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1: +4 -11 lines
Diff to previous 1.1 (colored)

Import 4.4BSD-Lite for reference

Revision 1.17 / (download) - annotate - [select for diffs], Wed Feb 18 07:05:49 1998 UTC (26 years ago) by thorpej
Branch: MAIN
Changes since 1.16: +10 -1 lines
Diff to previous 1.16 (colored)

Place a pointer to an array of our vnodeopv_desc *'s in our vfsops
structure, for use by vfs_attach().

Revision 1.14.4.2 / (download) - annotate - [select for diffs], Tue Oct 14 10:28:42 1997 UTC (26 years, 4 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.14.4.1: +2 -2 lines
Diff to previous 1.14.4.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Oct 6 09:32:37 1997 UTC (26 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, marc-pcmcia-base
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Make the vfs ops and vnodeop_opv symbols match the name of the
file-system option used to configure the file system into the kernel.

Revision 1.14.4.1 / (download) - annotate - [select for diffs], Tue Sep 16 03:51:16 1997 UTC (26 years, 5 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.14: +7 -7 lines
Diff to previous 1.14 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Sep 10 13:44:29 1997 UTC (26 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.14: +7 -7 lines
Diff to previous 1.14 (colored)

PR/4098: Alan Barrett: Fix diagnostic printf formatting.

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Wed Mar 12 21:24:26 1997 UTC (26 years, 11 months ago) by is
Branch: is-newarp
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Merge in changes from Trunk

Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 11 03:55:04 1997 UTC (26 years, 11 months ago) by mikel
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp, is-newarp-before-merge, bouyer-scsipi
Branch point for: marc-pcmcia
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

this is umapfs, not lofs

Revision 1.13 / (download) - annotate - [select for diffs], Thu Feb 20 05:04:05 1997 UTC (27 years ago) by mikel
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

use the proper entry count; from Yasufumi Itoh in PR kern/3175.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Dec 22 10:10:29 1996 UTC (27 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: thorpej-setroot, mrg-vm-swap, is-newarp-base
Branch point for: is-newarp
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

Change the second and third args to struct vfsops' (*vfs_mount)() to
'const char *', and 'void *', respectively.  The second arg is taken directly
from user arguments, and is const there, so must be const in the prototypes
and functions.  The third arg is also taken directly from user arguments.
It doesn't have to be changed, but since it's cleaner to keep the type
the same as the user arg's type, and I'm already making the 'const char *'
change...

Revision 1.11 / (download) - annotate - [select for diffs], Sun Oct 13 02:21:43 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.10: +12 -12 lines
Diff to previous 1.10 (colored)

backout previous kprintf changes

Revision 1.10 / (download) - annotate - [select for diffs], Thu Oct 10 22:54:21 1996 UTC (27 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.9: +16 -18 lines
Diff to previous 1.9 (colored)

printf -> kprintf, sprintf -> ksprintf

Revision 1.9 / (download) - annotate - [select for diffs], Fri Feb 9 22:41:05 1996 UTC (28 years ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.8: +19 -6 lines
Diff to previous 1.8 (colored)

miscfs prototype changes

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jun 18 14:47:44 1995 UTC (28 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.7: +1 -2 lines
Diff to previous 1.7 (colored)

don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 9 12:05:59 1995 UTC (28 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

copy*str() should use size_t.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 25 14:50:56 1995 UTC (29 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

return EOPNOTSUPP from fhtovp and vptofh functions; doing otherwise
correctly is not possible.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Jan 18 09:34:32 1995 UTC (29 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Clean up the code to frob mnt_stat a (tiny) bit.

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 15 20:00:25 1994 UTC (29 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored)

Call foo_statfs() from a common place when mounting.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Fri Sep 16 18:00:32 1994 UTC (29 years, 5 months ago) by cgd
Branch: netbsd-1-0
CVS Tags: netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

from trunk, per mycroft

Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 15 03:42:46 1994 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

stat the file system at mount time, for `df -n', et al.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jun 29 06:35:13 1994 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base
Branch point for: netbsd-1-0
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.1 / (download) - annotate - [select for diffs], Wed Jun 8 11:33:53 1994 UTC (29 years, 8 months ago) by mycroft
Branch: MAIN

Update to 4.4-Lite fs code, with local changes.

This form allows you to request diff's 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.




CVSweb <webmaster@jp.NetBSD.org>