gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] address@hidden: Re: Executable memory: some apps that work o


From: Tim Daly
Subject: [Gcl-devel] address@hidden: Re: Executable memory: some apps that work on RH9 don't on FC1]
Date: Mon, 17 Nov 2003 14:19:16 -0500

Further information from the fedora devel list:

------- Start of forwarded message -------
From: Roland McGrath <address@hidden>
To: address@hidden
Subject: Re: Executable memory: some apps that work on RH9 don't on FC1


You can disable the exec-shield functionality globally with
/proc/sys/kernel/exec-shield, but that doesn't do anything different for an
older binary that is not marked or for a binary that is marked as requiring
executable stack.  exec-shield is always disabled for those execs.

The issue you are having is probably that malloc does not use PROT_EXEC in
its mmap-based allocations.  Executability should be enabled in the brk
area when exec-shield is disabled.  Verify the situation by looking at
/proc/PID/maps for the process in question.

------- End of forwarded message -------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]