Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/lib/libc/gen
> Module Name: src
> Committed By: christos
> Date: Thu Jan 20 02:57:00 UTC 2011
>
> Modified Files:
> src/lib/libc/gen: getcwd.c
>
> Log Message:
> provide a _sys_getcwd() entry like all the rest of the system calls to be
> used by SSP.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.46 -r1.47 src/lib/libc/gen/getcwd.c
Does it work without USE_FORT?
: % gcc -c -O2 -U_FORTIFY_SOURCE -I/usr/src/lib/libc/include -o
getcwd-1.47-with oout_USE_FORT.o getcwd-1.47.c
: % nm getcwd-1.47-without_USE_FORT.o | grep getcwd
: U __getcwd
: 0000000000000000 W _getcwd
: U _sys_getcwd
: % gcc -c -O2 -D_FORTIFY_SOURCE -I/usr/src/lib/libc/include -o
getcwd-1.47-with_USE_FORT.o getcwd-1.47.c
: % nm getcwd-1.47-with_USE_FORT.o | grep getcwd
: U __getcwd
: 0000000000000000 W _getcwd
: 0000000000000000 T _sys_getcwd
: 0000000000000000 W getcwd
Regards,
--
nakayosh
Home |
Main Index |
Thread Index |
Old Index