unistd fortify macros broken

Mike Frysinger vapier at gentoo.org
Thu May 11 02:15:25 UTC 2006


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