On Sun, Sep 12, 2010 at 05:01:09PM +0200, Mateusz Guzik wrote: > On Sun, Sep 12, 2010 at 3:08 PM, Alexander Best <arun...@freebsd.org> wrote: > > there's a PR related to this "issue" [1]. so is truss missing this > > functionality or is this in fact a feature, because truss musn't be used on > > any non freebsd executable? > > > > Actually truss handles linux processes just fine, except for their children. > :) > Linux process can create a child using linux_clone syscall, but truss does not > handle that case and this can be the problem that Yuri reported (since > no log was > provided, I can only guess). > > This trivial patch should fix this: > http://student.agh.edu.pl/~mjguzik/truss-linux-forks.patch This is too trivial, IMO. linux_clone() does not neccessary cause new process to be created, I think.
> > Tested on this simple program: > http://student.agh.edu.pl/~mjguzik/fork.c > > If it still does not work, log generated by truss would be helfpul.
pgp2m7o9owCbC.pgp
Description: PGP signature