Article View: comp.os.mach
Article #939Re: Maximum protections and vm_protect
From: Boris Putanec
Date: Sat, 13 Apr 1991 19:47
Date: Sat, 13 Apr 1991 19:47
21 lines
1232 bytes
1232 bytes
In article <BP.91Apr12233650@flint.cs.brown.edu> bp@cs.brown.edu (Boris Putanec) writes: Why are tasks permitted to change their maximum protections with vm_protect? Why have maximum protections at all if they can be changed to allow greater access? Shouldn't the maximum protection set by vm_map stick? [ bad example deleted ] Am I missing something? Is there another way to do it? Clearly I was missing something. The check for raising maximum protection is about 5 lines higher in the code that I quoted. Sleep deprivation can do it to you. The maximum protection set by vm_map cannot be raised by vm_protect. Exatcly what the doctor orderd. boris bp@cs.brown.edu
Technical Details
Message-ID:
<BP.91Apr13154754@flint.cs.brown.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!brunix!doorknob!bpReferences:
<BP.91Apr12233650@flint.cs.brown.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!crdgw1!uunet!brunix!doorknob!bp From: bp@cs.brown.edu (Boris Putanec) Newsgroups: comp.os.mach Subject: Re: Maximum protections and vm_protect Message-ID: <BP.91Apr13154754@flint.cs.brown.edu> Date: 13 Apr 91 19:47:54 GMT References: <BP.91Apr12233650@flint.cs.brown.edu> Sender: news@brunix.UUCP Distribution: comp Organization: Department of Computer Science, Brown University Lines: 21 In-reply-to: bp@cs.brown.edu's message of 13 Apr 91 03:36:50 GMT