question about "-fstack-protector" and fedora

Reindl Harald h.reindl at thelounge.net
Thu Jun 30 13:19:10 UTC 2011


hi

as far as i can see fedora is built with "-fstack-protector" and not
"-fstack-protector-all" - is there a specific reason for not using
the "all" variant or is it safe to rebuild server-packages with it?

http://www.linuxfromscratch.org/hints/downloads/files/ssp.txt
> The GCC options for SSP are -fstack-protector, -fstack-protector-all, and
> -Wstack-protector. The -fstack-protector option only protects functions with
> character arrays, and is generally not recomended. The -fstack-protector-all
> option protects all functions. The -Wstack-protector option will produce a
> warning about any functions which are not protected. This warning can occure
> in functions with buffers smaller than 8 bytes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110630/9dc224bb/attachment.bin 


More information about the devel mailing list