check memory protection

J

Javier

Hello all,
I need to know the protection of a memory region in UNIX (protected
with mprotect) system call. Is there a way to do it?
Thanks.
 
C

Chris Dollin

Javier said:
I need to know the protection of a memory region in UNIX (protected
with mprotect) system call. Is there a way to do it?

Not in Standard C, no, because that's pretty much Unix-blind.
Try asking in comp.unix.programmer, where they'll doubtless
know what you can do with Unix system calls.
 
A

Al Balmer

Hello all,
I need to know the protection of a memory region in UNIX (protected
with mprotect) system call. Is there a way to do it?
Thanks.

Generic answer: Remember the parameters you called mprotect with. If
you're looking for something else, it's off topic here. Try a
newsgroup that deals with Unix.
 
K

Keith Thompson

Javier said:
I need to know the protection of a memory region in UNIX (protected
with mprotect) system call. Is there a way to do it?

Not in standard C. Try comp.unix.programmer.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top