Messages in this thread | | | Date | Sun, 7 Apr 2013 19:25:45 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH] do not try to sync identity map for non-mapped pages |
| |
On Sun, Apr 07, 2013 at 09:34:07AM -0700, H. Peter Anvin wrote: > We shouldn't, no. /dev/mem really needs to be fixed along a bunch of > axes. Yes, it is privileged and extra creepy, but it should either > work or it should fail cleanly.
Can't we filter out accesses through /dev/mem and not BUG_ON in __phys_addr() if they come through /dev/mem? Simply fail cleanly. No idea whether we'll break something still reading /dev/mem though.
-- Regards/Gruss, Boris.
Sent from a fat crate under my desk. Formatting is fine. --
| |