patchDotGNU Portable.NET - Patches: patch #5305, Use mmap to allocate executable...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5305: Use mmap to allocate executable memory and implement a memory stack

Submitter:  Kirill Kononenko <krokas>
Submitted:  Mon 14 Aug 2006 05:34:55 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Closed

Wed 23 Aug 2006 06:45:27 AM UTC, comment #1: 

The issue has been fixed using a slightly different approach.
Thanks for finding the issue and provising a way to solve it.

Klaus Treichel <ktreichel>
Group administrator
Mon 14 Aug 2006 05:34:55 PM UTC, original submission:  

Some systems need special handling to create executable code segments. For instance, GNU/Linux on Alpha, and Fedora Core 4 on x86. This patch use mmap to allocate pages of executable memory and set the EXEC flag. However, mmap allocates pages even to page_size (usually 4096 bytes) even for very small blocks of data. We use a memory stack to manage blocks of executable memory.

Kirill Kononenko <krokas>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #10538:  krokas-060814.patch added by krokas (23KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

Follow 3 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2006-08-23 ktreichel StatusNone Done
    Open/ClosedOpen Closed
2006-08-14 krokas Attached File- Added krokas-060814.patch, #10538

Back to the top

Powered by Savane 3.13-4b48.
Corresponding source code