Reputation: 10203
I'm writing a program to be run from the Linux user space which spawns another process. How can it determine which files were modified by the spawned process after it completes?
Upvotes: 3
Views: 1351
Reputation: 227
Maybe g++ itself spawns other processes? Than "strace -fF -efile program" plus some filtering will probably help you.
Upvotes: 0
Reputation: 798606
Inject your own replacement for fopen(3)
that records the names and modes.
Upvotes: 0