DragonFly BSD
DragonFly commits List (threaded) for 2003-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: 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

To: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
From: Richard Coleman <Richard.Coleman@xxxxxxxxxx>
Date: Thu, 11 Dec 2003 13:32:19 -0500

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.
Matthew Dillon <dillon@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

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]