This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: Protection errors on Mac OS X 10.6 (Snow Leopard)
Abdulaziz Ghuloum wrote:
>
> Interesting also is that there is a manpage[*] on darwin that says:
>
> ...
> Some architectures do not allow the execution of data by
> default. In such cases, it is necessary to manually alter
> the permissions of the page that contains closure prior to
> its execution.
It seems that Apple (or perhaps BSD) have a man page for ffi_closure_alloc()
that is private and has never been submitted to libffi. Typical. :-(
Andrew.