lkml.org 
[lkml]   [1998]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: A bug in setpgid in kernel
Date
  Nick.Holloway@alfie.demon.co.uk (Nick Holloway) writes:
>
> An interesting aspect is that if run under "strace -f", this test passes.
> I can't explain that -- I'll leave that as an aside.
>
Easy -- under strace_-f, the parent of _every_ traced process is redirected
to be "strace".

This has a lot of implications; for instance, a waitpid() call for an
undead child will return an error instead of hanging.

Basically, never believe anything about exit states or wait*() results when
you use strace -f. You _will_ get different results.

--
Matthias Urlichs | noris network GmbH | smurf@noris.de | ICQ: 20193661
The quote was selected randomly. Really. | http://www.noris.de/~smurf/
--
perl: error in loading shared libraries: /usr/lib/perl/lib/5.00475/i586-linux-thread/auto/DB_File/DB_File.so: undefined symbol: db_version

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.040 / U:3.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site