[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ssp(3) problem?
In article <20151126114027.GW12462%danbala.tuwien.ac.at@localhost>,
Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
>A user tried following the ssp man page and got unexpected results.
>I'd like to know if the man page is wrong or implementation.
>Here's his translated message:
>Take any program using stdio.h, say
>as the only lines, and use gcc as described in ssp(3):
>gcc -I/usr/include/ssp -D_FORTIFY_SOURCE=2 file.c
The man page is wrong. Never do -I/usr/include/ssp. Definining
-D_FORTIFY_SOURCE=<0|1|2> is the only thing you need to do.
Main Index |
Thread Index |