--- On Wed, 10/27/10, Shachar Shemesh <shac...@shemesh.biz> wrote:
> From: Shachar Shemesh <shac...@shemesh.biz> > Subject: ptrace problem - confounded, dazed and confused at the > inconsistencies > To: "linux-il" <linux-il@cs.huji.ac.il> > Date: Wednesday, October 27, 2010, 2:07 PM > Hi all, Hi, Shachar. > > I know that so much as types "man ptrace" is stepping into > uncharted territory, that I should abandon hope all ye' who > enter here, etc. OK, you was warned :) > > How can two programs do the same thing on the same system, > and yet get such different results? Let's take 'read' syscall. read(10, ....) If one program open file descriptor 10 and another - not, than obviously read will produce different results. I suspect there is something like this in your case. May be there is something that strace do and fakeroot-ng don't? Setting some flag(s) to clone? Calling some system call that affect wait behaviour? Valery. > > Shachar > > [1] http://fakeroot-ng.lingnu.com > > -- Shachar Shemesh > Lingnu Open Source Consulting Ltd. > http://www.lingnu.com > > > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > _______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il