[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
  Web www.spinics.net

Executing from a heap-allocated data area

I am generating machine code on-the-fly into a "malloc"ed data area.  However, I get a segmentation fault when I transfer control to the data area.  I suspect this is caused by the fact that the data area has not been marked "executable".  Is there a Linux API that would allow me to make the area executable?
Thank you for you help.
Rakesh Agarwal

[Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

Powered by Linux