unistd fortify macros broken
Nitin Gupta
ngupta at mvista.com
Thu May 11 17:12:33 UTC 2006
Hello Mike,
The code is from include/unistd.h
http://www.uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/include/unistd.h?rev=14162&view=markup
Regards,
Nitin G
Mike Frysinger wrote:
> On Wednesday 10 May 2006 19:07, Nitin Gupta wrote:
>
>> When adding -D_FORTIFY_SOURCE=2, the uclibc unistd.h file includes
>> bits/unistd.h, which apparently doesn't exist.
>>
>
> there are no plans to support _FORTIFY_SOURCE with uClibc
>
>
>> The problem code in unistd.h is here:
>> /* Define some macros helping to catch buffer overflows. */
>> #if __USE_FORTIFY_LEVEL > 0 && !defined __cplusplus
>> # include <bits/unistd.h>
>> #endif
>>
>
> huh ? that code isnt in uClibc, sounds like you broke something on your end
> -mike
>
>
More information about the uClibc
mailing list