freebsd-skq/sys/amd64
John Baldwin 39092e79ed Don't allow userland to set hardware watch points on kernel memory at all.
Previously, we tried to allow this only for root.  However, we were calling
suser() on the *target* process rather than the current process.  This
means that if you can ptrace() a process running as root you can set a
hardware watch point in the kernel.  In practice I think you probably have
to be root in order to pass the p_candebug() checks in ptrace() to attach
to a process running as root anyway.  Rather than fix the suser(), I just
axed the entire idea, as I can't think of any good reason _at all_ for
userland to set hardware watch points for KVM.

MFC after:	3 days
Also thinks hardware watch points on KVM from userland are bad:	bde, rwatson
2006-03-14 16:13:55 +00:00
..
acpica Catch up with ACPI-CA 20051021 import 2005-11-01 22:44:08 +00:00
amd64 Don't allow userland to set hardware watch points on kernel memory at all. 2006-03-14 16:13:55 +00:00
compile
conf MFi386 revision 1.1220: options TDFX_LINUX --> device tdfx_linux 2006-03-06 15:29:28 +00:00
ia32 Simplify system time accounting for profiling. 2006-02-08 08:09:17 +00:00
include Merge/sync with i386: various cosmetic tweaks 2006-03-14 00:01:56 +00:00
isa Rework how we wire up interrupt sources to CPUs: 2006-02-28 22:24:55 +00:00
linux32 Fix exec_map resource leaks. 2006-03-08 20:21:54 +00:00
pci MFi386: rename pcib_devclass to hostb_devclass (cosmetic here) 2006-03-13 23:58:40 +00:00
Makefile