plan9fox/sys/src/9
cinap_lenrek 5d59a44c21 pc, pc64: clear debug watchpoint registers on exec and exit
when a process does an exec syscall, procsetup() is called and
we have to disable the debug watchpoint registers. just clearing
p->dr is not enougth as we are not going thru a procsave() and
procrestore() cycle which would disable and reload the saved
debug registers.

instead of clearing debug registers in procfork(), we should
clear the saved debug registers before a process goes to die
(pexit() calls sched() with up->state = Moribund) as the Proc
structure can get reused for kernel processes (kproc) which
never call procfork() and would therefore have debug registers
loaded.
2019-12-02 23:32:24 +01:00
..
bcm bcm: fix software cursor avoidance for loadimage() case (thanks bitmapper) 2019-10-27 23:51:11 +01:00
bcm64 bcm64: add addarchfile() prototype to fns.h (for qeed) 2019-09-15 04:53:45 +02:00
boot bootrc: for wireless netbooting, set the WPA/WPA2 preshard key with wpapsk=password boot parameter 2019-11-17 19:04:38 +01:00
ip devip: use the routing table for local source ip address selection 2019-11-10 19:50:46 +01:00
kw kernel: add missing FPillegal definition for kw and omap kernels 2019-12-02 07:35:25 +01:00
mtx kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
omap kernel: add missing FPillegal definition for kw and omap kernels 2019-12-02 07:35:25 +01:00
pc pc, pc64: clear debug watchpoint registers on exec and exit 2019-12-02 23:32:24 +01:00
pc64 pc, pc64: clear debug watchpoint registers on exec and exit 2019-12-02 23:32:24 +01:00
port kernel: improve diagnostics by reversing the roles of Proc.parentpid and Proc.parent 2019-12-01 17:57:14 +01:00
ppc kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
sgi kernel: catch execution read fault on SG_NOEXEC segment (for mips) 2019-08-27 03:48:51 +02:00
teg2 kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
xen kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
zynq kernel: catch execution read fault on SG_NOEXEC segment 2019-08-27 03:47:18 +02:00
mkfile remove unmaintained omap4 (pandaboard) kernel 2016-05-05 16:35:25 +02:00