Unix Programming - Re: [SOLVED] Calling a Function in Shared Memory

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > May 2005 > Re: [SOLVED] Calling a Function in Shared Memory





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: [SOLVED] Calling a Function in Shared Memory
Michael B Allen

2005-05-15, 5:49 pm

On Sun, 15 May 2005 10:45:39 -0700, Paul Pluzhnikov wrote:

> Michael B Allen <mba2000@ioplex.com> writes:
>
>
> Let me guess: you are on an AMD Athlon and you didn't mprotect()
> the area into which you copied hash_str() with PROT_EXEC?


Yup, I forgot PROT_EXEC! With PROT_EXEC it works perfectly.

But actually I'm on Intel.

Thanks,
Mike

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com