tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: check memory mapping
Emmanuel Dreyfus <manu%netbsd.org@localhost> wrote:
> > You could access it via system call like read(2) from /dev/zero to test
> > if it is writable, or write(2) to /dev/null for readability.
>
> I retain the read test. The write test is troublesome because it modify memory
> if it is accessible.
The read test works very well, but what about a write test that does not
really change memory?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index