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

Re: Enabling hardened build flags for Wheezy

Kees Cook <kees@debian.org> writes:

> Speaking to the false positives problem, I've discussed with some people
> the idea of having build flags be included in some sort of ELF
> comment-like area that can be examined. That way it's becomes trivial to
> answer "how was this built?" and all these crapy heuristic checks that
> get thrown away. In the mean time, I'll continue to work on the crappy
> heuristic checks. ;)

That sounds complicated, since there are separate compiler flags for every
object (which may not match) and then the linker flags used to assemble
the final executable or shared object.  Does ELF give you object-specific
comment areas?

It sounds like it would need patches to both the compiler and the linker.

Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>

Reply to: