Date: Wed, 04 Jan 2006 19:57:22 +0000 From: "klowd9 -" <klowd92@hotmail.com> To: freebsd-questions@freebsd.org Subject: Data Execution Protection Message-ID: <BAY105-F28D4B69A1E70345856C89EBF2F0@phx.gbl>
next in thread | raw e-mail | index | archive | help
Does FreeBSD have any support for Data Execution Protection (DEP) and Non-Executable Stack? What are the future plans for this subject? I quickly coded a executable file of ELF format, using nasm. It had no .text section. Only a .data section, which is where my code was placed. Any much to my suprise it not only assembled and linked with no errors, but also ran with no errors. I believe windows will not run a file which there no section which is marked executable. Thats is just the work of the PE Loader. Im not sure the what the policy is on running code that isnt marked in an executable section. Im assembling with nasm, and linking with ld. Maybe one of them is marking the section as executable, but i find that hard to believe.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BAY105-F28D4B69A1E70345856C89EBF2F0>