From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,5fa63cd48459edad X-Google-Attributes: gidf678f,public X-Google-ArrivalTime: 1994-12-28 17:19:22 PST Path: nntp.gmd.de!Germany.EU.net!howland.reston.ans.net!pipex!uunet!heifetz.msen.com!spruce.ny.ox.com!drew From: drew@spruce.ny.ox.com (Drew Kramer) Newsgroups: comp.unix.osf.misc Subject: Re: MPROTECT() in UNIX systems? Date: 28 Dec 1994 17:38:36 GMT Organization: OTA Limited Partnership Message-ID: <3ds7qs$nha$1@heifetz.msen.com> References: <3drvvg$jab@news.csie.nctu.edu.tw> NNTP-Posting-Host: spruce.ny.ox.com X-Newsreader: TIN [version 1.2 PL2] 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 #include 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..."