Thanks for your note. I did go through the
documentation but missed it. thanks for your concern
and patience again David.
What I am really trying to do is to valgrind a daemon
process - actually a host of daemon processes.
I downloaded a sample daemon code and tried valgrind
on it. Have provided it below.
Its evident that you chdir('/'), and usually there is
no write permission there. when i comment it off it
does the same.
i referred other places and saw that we close stdout
and stderr of the daemon process. Its not so with the
How to go about in this case ?
--- David Eriksson <twogood@...>
> On Fri, 2004-02-27 at 08:49, smiley glitter wrote:
> > Hello,
> > Is valgrind compatible with a fork'd program. I
> > an application (foo) that forks/execs another
> > program(bar).
> > What is required is to only valgrind the fork'd
> > application (bar). Is it possible.
> > I tried valgrind foo, but bar is not valgrinded.
> > How can I check my fork'd application with
> > is it possible. any pointers ?
> > Thanks,
> > Smile.
> -\- David Eriksson -/-
> SynCE - http://synce.sourceforge.net
> CalcEm - http://calcem.sourceforge.net
> ScummVM - http://scummvm.sourceforge.net
> Desquirr - http://desquirr.sourceforge.net
> SetiWrapper - http://setiwrapper.sourceforge.net
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam