Actually, the way Linux does it is to mark it "supervisor mode only"
(clear the "US" bit) - which essentially read-protects it from user
mode.
If the original poster meant that you can't mark a page write-only
(protect it from reads but not from writes), then he's of course right
(you can do it by protecting the page and emulating any faulting write
instruction, but you can't do it "for real").
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu