freebsd-dev/gnu/usr.bin
Bruce Evans 9bb4a86cf0 Fixed accesses to addresses between VM_MAXUSER_ADDRESS (normally
0xefbfe000) and kernel_start (normally 0xf0100000).

Things are unnecessarily (?) difficult because procfs is used to
access user addresses in the live-kernel case although we must have
access to /dev/mem to work at all, and whatever works for the
dead-kernel case should work in all cases (modulo volatility of
live kernel variables).  We used the wrong range [0, kernel_start)
for user addresses.  Procfs should only work up to VM_MAXUSER_ADDRESS,
but it bogusly works for reads up to the address 2 pages higher
(the user area, including the kernel stack, is mapped to where the
user area used to be (WTUAUTB)).  Procfs can not work at all for
addresses between WTUAUTB and kernel_start.

Now we use procfs only to access addresses up to VM_MAXUSER_ADDRESS.
Higher addresses are translated normally using kvtophys(), so the
user ptd is used for addresses below the real kernel start (0xf0000000;
see INKERNEL()) and nothing is found WTUAUTB.

Strange accesses that cross the user-kernel boundary are now handled,
but such ranges are currently always errors because they necessarily
overlap the hole WTUAUTB.

Short reads are still not handled.
1998-01-19 15:27:56 +00:00
..
as Make the ".set" directive copy the aux field when the expression 1998-01-10 05:36:35 +00:00
awk Remove yet another superfluous file. 1997-10-26 12:53:16 +00:00
bc
binutils Fixed accesses to addresses between VM_MAXUSER_ADDRESS (normally 1998-01-19 15:27:56 +00:00
bison
cc More i386 -> ${MACHINE} changes to make this Makefile machine 1998-01-11 04:13:25 +00:00
cpio
cvs Fixed missing dependency on version.c. 1997-12-18 15:22:12 +00:00
dc
dialog
diff Define PR_PROGRAM properly 1997-10-29 17:35:54 +00:00
diff3 Switch to contrib version 1997-10-29 16:50:42 +00:00
gdb Fixed accesses to addresses between VM_MAXUSER_ADDRESS (normally 1998-01-19 15:27:56 +00:00
genclass
gperf
grep When called as `zgrep', the -Z argument is assumed. Make a 1997-12-21 19:15:12 +00:00
groff Use BINOWN, etc. instead of bin, etc. so that (this part of) 1997-12-17 12:04:53 +00:00
gzip Check argument filename length before copying. 1997-12-27 03:38:39 +00:00
ld Removed /etc/ld.so.conf reference from FILES section (people get 1998-01-01 02:31:47 +00:00
man Remove manpath.[ch] here and use the ones in ../manpath instead. 1997-11-30 20:08:27 +00:00
patch Upgrade to 2.5 (contrib version) 1998-01-04 21:41:46 +00:00
perl
ptx
rcs
sdiff Switch to contrib version 1997-10-29 16:58:20 +00:00
send-pr Added a sparc category to the list. 1997-12-20 18:54:22 +00:00
sort Add (unsigned char) cast to ctype macros 1997-10-23 02:22:51 +00:00
tar PR: gnu/4385 1998-01-05 11:32:39 +00:00
texinfo
Makefile
Makefile.inc