Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > check memory protection

Reply
Thread Tools

check memory protection

 
 
Javier
Guest
Posts: n/a
 
      08-21-2007
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.

 
Reply With Quote
 
 
 
 
Chris Dollin
Guest
Posts: n/a
 
      08-21-2007
Javier wrote:

> 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.

--
Short-Sighted Not Blind Hedgehog
Otherface: Jena RDF/Owl toolkit http://jena.sourceforge.net/

 
Reply With Quote
 
 
 
 
Al Balmer
Guest
Posts: n/a
 
      08-21-2007
On Tue, 21 Aug 2007 12:08:43 -0700, Javier <>
wrote:

>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.

--
Al Balmer
Sun City, AZ
 
Reply With Quote
 
Keith Thompson
Guest
Posts: n/a
 
      08-21-2007
Javier <> writes:
> 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.

--
Keith Thompson (The_Other_Keith) kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory protection =?iso-8859-1?q?Ernesto_Basc=F3n?= C++ 1 12-04-2006 12:09 AM
copy protection / IP protection g Java 69 04-25-2006 04:10 PM
Check directory/file protection? Bill ASP General 3 10-28-2005 07:03 PM
Anti virus/ firewall protection check Walter A+ Certification 4 12-18-2003 09:33 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57