Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: drew@spruce.ny.ox.com (Drew Kramer)
Subject: Re: MPROTECT() in UNIX systems?
Date: 28 Dec 1994 17:38:36 GMT	[thread overview]
Message-ID: <3ds7qs$nha$1@heifetz.msen.com> (raw)
In-Reply-To: 3drvvg$jab@news.csie.nctu.edu.tw

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


      reply	other threads:[~1994-12-28 17:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-12-28 15:24 MPROTECT() in UNIX systems? Mac Su-Cheong (MSC)
1994-12-28 17:38 ` Drew Kramer [this message]
read-only archive

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