summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2020-08-27 16:54:24 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2020-08-27 16:54:24 +0000
commit40a5c1c6a6f2ef40a921bf261bb7318bfc7aa5d2 (patch)
tree2bc7aba4bf2dc99dc5fd2f965cfb413bc4507ae3 /sys/kern
parent512fbb87c2835e0dcf8911411631b576d9db60a5 (diff)
Improve write un-protecting of kernel memory. For the Computrace module
on the HP EliteBook 830 G6 we added a workaround which tries to re-map the pages where we want to place to kernel read-write. On some machines though this workaround causes a regression. Fix those by changing a few things: Only set the writeable bit if it isn't set yet. Un-protect write-protected page directories. Skip lower levels if large-page is set, since the next level is already a page. Don't do anything at all if paging is disabled. From Christian Ehrhardt ok bluhm@ tobhe@
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions