mprotect??
Hi
I am running a program on Linux (tried on both TurboLinux, and Redhat linux) ,itanium machine , that needs to "mprotect" (PROT_READ or PROT_RD/WR, depending on the certain parameters) a sequence of pages. What i noticed is that "mprotect" works at times, but does not take affect at other times. What is the cause of such random behaviur of mprotect.? Does mprotect work for Linux Itanium, or there is some problem with it ?
thanks
d'laila
D'Laila-
We need a lot more detail than this. In general, yes, mprotect works. This system call is used extensively by the shared library loader.
Are you running an IA32 or IA64 program? The output of an `strace' from one of your failing runs would be helpful.
Quoted 16 lines · D'laila Pereira
Hi
I am running a program on Linux (tried on both TurboLinux, and Redhat linux) ,itanium machine , that needs to "mprotect" (PROT_READor PROT_RD/WR, depending on the certain parameters) a sequence of pages. What i noticed is that "mprotect" works at times, but does not take affect at other times. What is the cause of such random behaviur of mprotect.? Does mprotect work for Linux Itanium, or there is some problem with it ?thanks
d'laila_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64
Signature · 4 lines
Don Dugger "Censeo Toto nos in Kansa esse decisse." - D. Gale [email protected] Ph: 303/652-0870x117