NetBSD/sys/miscfs
simonb 0c59b3c325 Apply patch from Robert Elz in PR kern/10113. This fixes two problems
with procfs's cmdline - from the PR:

	The cmdline implementation in procfs is bogus.  It's possible that
	part of the fix is a workaround of a UVM problem - that is, when
	(internally) accessing the top of the process VM (the end of the
	args) a request for I/0 of a PAGE_SIZE'd block starting at less
	than a PAGE_SIZE from the end of the mem space returns EINVAL
	rather than the data that is available.  Whether this is a bug
	in UVM or not depends upon how it is defined to work, and I was
	unable to determine that.   (Simon Burge found that problem, and
	provided the basis of the workaround/fix).

	Then, the cmdline function is unable to read more than one
	page of args, and a good thing too, as the way it is written
	attempting to get more than that would reference into lala land.

	And, on an attempt to read a lot of data when the above is
	fixed, most of the data won't be returned, only the final block
	of any read.

Tested on alpha, pmax, i386 and sparc.
2000-05-16 13:45:25 +00:00
..
deadfs Register, begone! 2000-03-30 12:22:12 +00:00
fdesc Delete redundant decl of fdesc_root, it's in fdesc.h. 2000-03-30 02:16:22 +00:00
fifofs Register, begone! 2000-03-30 12:22:12 +00:00
genfs Change the sementics of the last parameter from a boolean ("waitfor") to 2000-05-13 23:43:06 +00:00
kernfs Add new VFS op routine - vfs_done and call it on filesystem detach 2000-03-16 18:08:17 +00:00
nullfs Adapt to last VFS changes - add appropriate vfs_done routine. 2000-03-16 19:00:26 +00:00
overlay Add new VFS op routine - vfs_done and call it on filesystem detach 2000-03-16 18:08:17 +00:00
portal Add new VFS op routine - vfs_done and call it on filesystem detach 2000-03-16 18:08:17 +00:00
procfs Apply patch from Robert Elz in PR kern/10113. This fixes two problems 2000-05-16 13:45:25 +00:00
specfs Register, begone! 2000-03-30 12:22:12 +00:00
syncfs Delete redundant decls of vn_syncer_add_to_worklist(), syncdelay, 2000-03-30 02:21:49 +00:00
umapfs Adapt to last VFS changes - add appropriate vfs_done routine. 2000-03-16 19:00:26 +00:00
union Register, begone! 2000-03-30 12:22:12 +00:00
Makefile Add overlay, a layered file system which overlays itself on 2000-01-20 19:06:13 +00:00