Become superuser.
Edit the /etc/system file and add the following line:
set noexec_user_stack=1
Reboot the system.
# init 6