diff options
| author | Wichert Akkerman <wichert@deephackmode.org> | 2000-09-03 21:56:29 +0000 |
|---|---|---|
| committer | Wichert Akkerman <wichert@deephackmode.org> | 2000-09-03 21:56:29 +0000 |
| commit | 9b0c31d663e51a98383f83521f4b6081986ee47c (patch) | |
| tree | 5d8d358bb30ba194ab34eaab9219b85a3cffb078 /test | |
| parent | f75a9ab4318ee9bf6a91c337a363e6e3f623aa4c (diff) | |
| download | strace-9b0c31d663e51a98383f83521f4b6081986ee47c.tar.gz strace-9b0c31d663e51a98383f83521f4b6081986ee47c.tar.bz2 strace-9b0c31d663e51a98383f83521f4b6081986ee47c.tar.xz | |
process.c: perform bpt trick for clone as well so we can get the pid of the child before it starts doing something
file.c: rename dirent64 struct to kernel_dirent64 so things compile again with newer libcs
Diffstat (limited to 'test')
| -rw-r--r-- | test/clone.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/clone.c b/test/clone.c index 1395b6b..75bc545 100644 --- a/test/clone.c +++ b/test/clone.c @@ -10,7 +10,7 @@ int main() { char stack[4096]; - if (clone(child, stack+4000, CLONE_VM|CLONE_FS|CLONE_FILES, NULL) != 0) - write(1, "original\n", 9); + clone(child, stack+4000, CLONE_VM|CLONE_FS|CLONE_FILES, NULL); + write(1, "original\n", 9); exit(0); } |
