tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: check memory mapping

On Fri, Aug 22, 2014 at 01:47:53PM +0000, Christos Zoulas 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.

Emmanuel Dreyfus

Home | Main Index | Thread Index | Old Index