Re: mprotect problem
David Mosberger <[email protected]>
| Newsgroups | gmane.linux.redhat.ia64.general |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Wed, 1 May 2002 10:07:43 -0700 (PDT), CHIH-PING CHEN <[email protected]> said: Chih-Ping> Hi, I am having problem with mprotect on ia64. Does Chih-Ping> anyone have any idea what's going wrong here? The program Chih-Ping> is identical to the example provided in the manpage for Chih-Ping> mprotect, except for some innocuous castings and Chih-Ping> printf's. Thanks. Please use getpagesize() to obtain the page size. On ia64 linux, the page size can be any of 4KB, 8KB, 16KB, or 64KB, depending on configuration. --david