diff options
author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2002-08-04 01:02:52 +0000 |
---|---|---|
committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2002-08-04 01:02:52 +0000 |
commit | c03bfcc871d34aad4a41210a3f458531dc68f5c1 (patch) | |
tree | 68de8093cb515e71bf3ce5c2a2a03b522535281f /usr.bin/truss/i386-linux.c | |
parent | ec0bed25ba4846eacd23f88e176d37615776fba5 (diff) | |
download | src-test2-c03bfcc871d34aad4a41210a3f458531dc68f5c1.tar.gz src-test2-c03bfcc871d34aad4a41210a3f458531dc68f5c1.zip |
Notes
Diffstat (limited to 'usr.bin/truss/i386-linux.c')
-rw-r--r-- | usr.bin/truss/i386-linux.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/truss/i386-linux.c b/usr.bin/truss/i386-linux.c index e6a560a34a4e..f307c8017307 100644 --- a/usr.bin/truss/i386-linux.c +++ b/usr.bin/truss/i386-linux.c @@ -120,6 +120,13 @@ i386_linux_syscall_entry(struct trussinfo *trussinfo, int nargs) { fprintf(trussinfo->outfile, "-- UNKNOWN SYSCALL %d\n", syscall); } + if (lsc.name && (trussinfo->flags & FOLLOWFORKS) + && ((!strcmp(lsc.name, "linux_fork") + || !strcmp(lsc.name, "linux_vfork")))) + { + trussinfo->in_fork = 1; + } + if (nargs == 0) return; |