cvs commit: src/contrib/gcc protector.c protector.h Makefile.in calls.c combine.c cse.c explow.c expr.c flags.h function.c gcse.c integrate.c libgcc2.c loop.c optabs.c reload1.c toplev.c src/gnu/usr.bin/cc/cc_int Makefile

Richard Coleman Richard.Coleman at sciatl.com
Thu Dec 11 10:32:19 PST 2003


Matthew Dillon wrote:

    I don't know who comes up with these names.  W^X?  IA32 does not support
    fine-grained permissions, the only way to make the stack non-executable
    is to modify the SS segment register and while this does work, it creates
    severe restrictions on how threaded programs can operate.
     
					-Matt
					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>


Yes, but OpenBSD supports other archs besides IA32.  I think it was IA32 
and PowerPC that didn't have the bits necessary to do W^X properly.  So 
the OpenBSD folks did the best they could with the bits that were 
provided.  I think it's pretty exciting stuff.

Sure, it's not perfect.  But as you said, it's alot better than nothing.

Richard Coleman
Richard.coleman at xxxxxxxxxx





More information about the Commits mailing list