bug in libgendep? syscall fork
Protasio Ramirez, Joan
joan.protasio-ramirez at hp.com
Fri Feb 13 15:34:28 CET 2009
I'm developing a quite interesting free software using libgendep.
Now I think I have an important problem. I think that the wrapper of libgendep, syscall.c, does not detects all calls to open. And I wonder why?
If I do:
strace -f gcc Simplescript.c -o project
I can find lots and lots of calls to open that libgendep does not detects :(.
I print every file directly from syscall.c but there are some opens that they don't appear.
I have been investigating the trace of strace and I see that lots of open calls are created in fork processes, so...maybe the problem is this.
Do you know if syscall(SYS_open,.... also searches opens of child processes??
Thanks so much
More information about the l4-hackers