On Tue Feb 08 2011 at 23:04:35 +0100, Joerg Sonnenberger wrote:
> > > > No, it wants to override "whatever is the symbol applications are
> > > > resolved to".  For -current this is "_sys_read" (on nb5 it's "read").
> > > 
> > > That's not what the library is doing according to nm. It defines "read"
> > > and not "_sys_read".
> > 
> > Are you sure you're looking at a current version?
> > 
> > pain-rustique:1:~> nm /usr/lib/librumphijack.so | grep read
> > 000029d4 T _sys_read
> >          U pthread_create
> >          U pthread_join
> > 00002a42 T readv
> 
> I have different builds arounds. So why is _sys_read special and readv,
> write, writev etc are not?

Like Christos wrote, only read/readlink/getcwd have been ssp'd.
So if you take e.g. httpd which tests/lib/librumphijack/t_tcpip
uses and run nm on it, you get:

         U _sys_read
         U write

-- 
älä karot toivorikkauttas, kyl rätei ja lumpui piisaa

Reply via email to