Go to file
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
bin INTON and FORCEINTON modify global variables, and so should not be 2000-05-15 03:42:48 +00:00
dist Resolve conflicts. 2000-05-11 19:54:35 +00:00
distrib add X server for hpcmips (Xhpc). 2000-05-16 11:27:37 +00:00
etc Don't complain about existence of "/etc/sendmail.cf" if "sendmail" is 2000-05-15 06:16:04 +00:00
games Use setgid(), not setregid(). 2000-05-08 07:55:59 +00:00
gnu The last commit needs an #include <libgen.h> to get the prototype of 2000-05-14 14:07:48 +00:00
include New syscall issetugid. 2000-04-21 16:24:22 +00:00
lib remove unnecessary _DISGASSERT(). 2000-05-15 17:11:29 +00:00
libexec move IPv6 considerations into BUGS section 2000-05-16 00:59:12 +00:00
regress revert the depend change... it was unneeded, and is even hurting in some 2000-04-28 22:01:14 +00:00
sbin fsck_lfs can now write to the filesystem, allowing it to correct most 2000-05-16 04:55:58 +00:00
share Document "!" as a synonym for "call" 2000-05-15 20:37:56 +00:00
sys Apply patch from Robert Elz in PR kern/10113. This fixes two problems 2000-05-16 13:45:25 +00:00
usr.bin Comment out RCS ID. 2000-05-14 23:28:43 +00:00
usr.sbin Don't read +CONTENTS files if not needed. 2000-05-15 23:14:42 +00:00
Makefile HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9, as well. 2000-05-09 00:17:10 +00:00
Makefile.inc Set RELTOP to '.' if that's where we are. 2000-05-06 15:05:15 +00:00