From: Roland McGrath Date: Wed, 18 Dec 2002 04:16:31 +0000 (+0000) Subject: update X-Git-Tag: v4.5.18~936 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29f554f394fe076d082d5cd4be55565ca3c0fa83;p=strace update --- diff --git a/ChangeLog b/ChangeLog index e00f1c1e..71883a1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,17 @@ 2002-12-17 Roland McGrath + * strace.c (tcbtab): Make this a pointer to pointers, not an array. + (tcbtabsize): New variable. + (main): Initialize them using dynamic allocation. + (alloctcb, main): Use tcbtabsize in place of MAX_PROCS; indirect. + (pid2tcb, cleanup): Likewise. + [USE_PROCFS] (pollv): Make this a pointer, not an array; make static. + (rebuild_pollv): Dynamically allocate the vector. + * defs.h (tcbtab): Update decls. + (MAX_PROCS): Macro removed, no more static limit on this. + * process.c (fork_tcb): New function. + (internal_clone, internal_fork): Use it instead of checking nprocs. + * strace.c (detach) [LINUX]: Use __WALL (or a second try with __WCLONE) in wait after sending SIGSTOP.