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
nullfs
overlay
portal
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
union Register, begone! 2000-03-30 12:22:12 +00:00
Makefile