Enabling nonexecutable stacks is a very useful technique for thwarting certain kinds of buffer overflow attacks. When Oracle Solaris nxstack is enabled, the process stack memory segment is marked nonexecutable. This extension defends against attacks that rely on injecting malicious code and executing it on the stack.