Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* MPROTECT() in UNIX systems?
@ 1994-12-28 15:24 Mac Su-Cheong (MSC)
  1994-12-28 17:38 ` Drew Kramer
  0 siblings, 1 reply; 2+ messages in thread
From: Mac Su-Cheong (MSC) @ 1994-12-28 15:24 UTC (permalink / raw)


Hello,

  Is there any system call in other UNIX systems equivalent to 
mprotect() (assigning protection to memory pages) in SunOS?
Thanks in advance.

-----------------------------------------------------------------------------
Mac Su-Cheong (MSC)    | Computer Science Division,            |   __o  Hey!
msc@eembox.ncku.edu.tw | Department of Electrical Engineering, |  -\<,  I am
msc@snoopy.ncku.edu.tw | National Cheng Kung University,       | O/ O   the
                       | Tainan, Taiwan, R.O.C.                |        wind!


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: MPROTECT() in UNIX systems?
  1994-12-28 15:24 MPROTECT() in UNIX systems? Mac Su-Cheong (MSC)
@ 1994-12-28 17:38 ` Drew Kramer
  0 siblings, 0 replies; 2+ messages in thread
From: Drew Kramer @ 1994-12-28 17:38 UTC (permalink / raw)


Mac Su-Cheong (MSC) (msc@snoopy.ncku.edu.tw) wrote:
: Hello,

:   Is there any system call in other UNIX systems equivalent to 
: mprotect() (assigning protection to memory pages) in SunOS?
: Thanks in advance.

: ----------------------------------------------------------------------------
: Mac Su-Cheong (MSC)    | Computer Science Division,            |   __o Hey!
: msc@eembox.ncku.edu.tw | Department of Electrical Engineering, |  -\<, I am
: msc@snoopy.ncku.edu.tw | National Cheng Kung University,       | O/ O  the
:                        | Tainan, Taiwan, R.O.C.                |       wind!

Here's an excerpt from the DEC OSF/1 Manual page:

mprotect(2)                                                       mprotect(2)



NAME
  mprotect - Modifies access protections of memory mapping

SYNOPSIS

  #include <sys/types.h>
  #include <sys/mman.h>
  int mprotect (
          caddr_t addr,
          size_t len,
          int prot  );

Hope this helps.

-drew

-------
USMail: OTA Limited Partnership         E-mail: drew@ox.com
        1 Manhattanville Road           Phone:  +1 914 694 5800
        Purchase, New York 10577        FAX:    +1 914 694 5831
                       "Welcome, to the machine..."


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1994-12-28 17:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-12-28 15:24 MPROTECT() in UNIX systems? Mac Su-Cheong (MSC)
1994-12-28 17:38 ` Drew Kramer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox