Date: Sat, 30 Jun 2007 16:30:46 +0200 (MEST) From: Michiel Boland <michiel@boland.org> To: freebsd-current@freebsd.org Subject: sigsuspend gets interrupted by ptrace Message-ID: <Pine.GSO.4.64.0706301630130.29170@neerbosch.nijmegen.internl.net>
next in thread | raw e-mail | index | archive | help
Consider this simple program:
#include <unistd.h>
int main(void)
{
pause();
return 0;
}
$ ./a.out &
$ truss -p `pgrep a.out`
process exit, rval = 0
[1] Done ./a.out
$
Surely this must be wrong. The program should have just continued running after
truss was attached to it.
(PR Filed under kern/114155)
Cheers
Michiel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0706301630130.29170>
