Backport of control flow integrity from clang ore something else.

2018-10-21 Thread Magnus Granberg
Hi
Is there any plans to port the control flow integrity from clang[1] or use 
something that don't need any hardware support as CET[2].
There is allready part of it in gcc to support the CET so would it be posseble 
to write a software version of it? The best would be to make something like 
RAP[3] but it is patent-pending or some thing like that.
/Magnus

[1] https://clang.llvm.org/docs/ControlFlowIntegrity.html
[2] 
https://software.intel.com/sites/default/files/managed/4d/2a/control-flow-enforcement-technology-preview.pdf
[3] https://grsecurity.net/rap_faq.php



Re: trampolines handling, important copyright question

2010-05-29 Thread Magnus Granberg
lördag 29 maj 2010 15.45.09 skrev  Marc Espie:
> So, I used to contribute back to gcc regularly, got overwhelmed by
> other stuff, but I'm back.
> 
> Case in point: I've added stuff to OpenBSD for secure handling of
>  trampolines. Since trampolines require an executable stack, we want to
>  make sure we don't have trampolines all over the place, hence a
>  -ftrampolines options, and a -Wtrampolines option.
> 
Patch for -Wtrampolines option is allredy posted on the gcc-patch ml
http://gcc.gnu.org/ml/gcc-patches/2010-05/msg00352.html
Doing some rework on the patch.

Hardened at gentoo.org
Magnus Granberg (Zorry)