Disclosed as a system and method for providing enhanced security to
processes running on a data processing system. The disclosed system and
method selectively revokes execute privileges from memory pages being
used for stacks of susceptible processes running on the data processing
system. By selectively resetting execute privileges on a per page and per
process basis, the system and method maintains system performance and
provides enhanced security to processes running on the data processing
system.