In article <20110127140249.gd23...@cs.hut.fi>, Antti Kantee <po...@cs.hut.fi> wrote: >On Wed Jan 26 2011 at 13:48:32 -0500, Christos Zoulas wrote: >> Module Name: src >> Committed By: christos >> Date: Wed Jan 26 18:48:32 UTC 2011 >> >> Modified Files: >> src/lib/librumphijack: hijack.c >> >> Log Message: >> make SSP friendly > >Can you add a comment stating why readlink and getcwd are special cases?
Just because as it happens they are the other 2 system calls that have been ssp'fied. We could add more. I thought about providing a mechanism to say which ones should have default implementations and which ones should be defined. I don't know how to make a weak inline though that is not visible :-) christos