Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/lib/librumphijack



On Sun Feb 20 2011 at 04:34:02 +0100, Joerg Sonnenberger wrote:
> On Sat, Feb 19, 2011 at 07:54:25PM +0200, Antti Kantee wrote:
> > On Sat Feb 19 2011 at 14:58:45 +0100, Joerg Sonnenberger wrote:
> > > On Sat, Feb 19, 2011 at 01:10:36PM +0000, Antti Kantee wrote:
> > > > Module Name:    src
> > > > Committed By:   pooka
> > > > Date:           Sat Feb 19 13:10:35 UTC 2011
> > > > 
> > > > Modified Files:
> > > >         src/lib/librumphijack: hijack.c
> > > > 
> > > > Log Message:
> > > > hijack __getcwd()
> > > 
> > > Why?
> > 
> > to make it work
> 
> To make *what* work. What is using __getcwd directly and not the
> frontends. If this is yet another hack to deal with SSP, please apply
> the patch I send to tech-userlevel and test with that first.

To make anything that uses the __getcwd() *system call* work, including,
but definitely not limited to the getcwd() *library function*, cf.

    pain-rustique:1:~> wtf rumphijack
    rumphijack (3) - System call hijack library
                     ^^^^^^^^^^^

I have no idea about ssp, it's not enabled on my nb5.  As usual, I wrote
tests so I wouldn't have to waste time guessing if things work or if they
don't and so that others wouldn't have to waste their time guessing what
some code was originally meant to do.

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


Home | Main Index | Thread Index | Old Index