-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
Description
KRF_SAFE_WRITE is currently a no-op on FreeBSD:
krf/src/module/freebsd/freebsd.h
Line 5 in 82990c2
| #define KRF_SAFE_WRITE(x) x // ??? |
We should check whether FreeBSD provides cr0 manipulation functions/macros. If it doesn't, then we should add our own like the ones used in this blog post (under "Disabling CPU write protection").
ccing @roachspray as a source of expertise about write protection/safe locking in FreeBSD.