|
From: Michael S. <ms...@xi...> - 2003-09-15 01:59:07
|
On Saturday 13 September 2003 01:54, b h wrote: > This one doesn't for, tho I have other daemons that do that I'm trying to > get working as well. I assume for those I just need to use the > --track-children=yes flag, right? > > More info - appears to be chown and setuid problem. Is this known? Valgrind relies on LD_PRELOAD to load itself into the executable at runtime. The linker ignores LD_PRELOAD on setuid binaries (neccesary, otherwise any user could make a setuid application run whatever code they wanted - obviously a bad thing with things setuid root). So you can't use valgrind on this application as-is. You'll have to un-setuid it, then run it directly as the appropriate user. Mike |