Im not sure about porting windows code to linux.
Seems like you could just define away the keywords.

But it sounds like your looking for something like pax for memory
protections. http://pax.grsecurity.net/docs/pax.txt

The gentoo hardened team has done alot of work with pax and has lots
of documentation on pie+ssp as well.
http://www.gentoo.org/proj/en/hardened/pie-ssp.xml
http://www.research.ibm.com/trl/projects/security/ssp/

On Thu, 02 Dec 2004 23:13:35 -0600, David Jackson <[EMAIL PROTECTED]> wrote:
> 
> I am porting a piece of legacy Windows code to Linux, and it makes
> extensive use of FAR pointers (a mechanism which Linux does not use/need).
> 
> My first attempt merely changed the FAR pointer calls to regular pointer
> calls, but this has produced bad results (error-checking mechanisms in
> the code keep returning bad sizes).
> 
> Anyone have any suggestions for porting FAR pointer calls to Linux?
> 
> My second question is similiar; is there a way to restrict access to
> code or data memory segments in Linux so that they can only be viewed /
> modified / debugged / dumped to the actual program itself?  In essence,
> I don't want anyone tinkering with the code when it is in memory.
> 
> Any suggestions are appreciated.
> 
> David
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://brlug.net/mailman/listinfo/general_brlug.net
>

Reply via email to