cvs commit: src/sys/kern stack_protector.c

Ruslan Ermilov ru at FreeBSD.org
Thu Jun 26 07:52:51 UTC 2008


ru          2008-06-26 07:52:45 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             stack_protector.c 
  Log:
  SVN rev 180022 on 2008-06-26 07:52:45Z by ru
  
  Fix a chicken-and-egg problem: this files implements SSP support,
  so we cannot compile it with -fstack-protector[-all] flags (or
  it will self-recurse); this is ensured in sys/conf/files.  This
  OTOH means that checking for defines __SSP__ and __SSP_ALL__ to
  determine if we should be compiling the support is impossible
  (which it was trying, resulting in an empty object file).  Fix
  this by always compiling the symbols in this files.  It's good
  because it allows us to always have SSP support, and then compile
  with SSP selectively.
  
  Repoted by:     tinderbox
  
  Revision  Changes    Path
  1.2       +0 -3      src/sys/kern/stack_protector.c


More information about the cvs-src mailing list