sigsuspend gets interrupted by ptrace
- From: Michiel Boland <michiel@xxxxxxxxxx>
- Date: Sat, 30 Jun 2007 16:30:46 +0200 (MEST)
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
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: sigsuspend gets interrupted by ptrace
- From: John-Mark Gurney
- Re: sigsuspend gets interrupted by ptrace
- Prev by Date: SCHED_4BSD: More than 1 process running on UP machine?
- Next by Date: tcsh hangs in sigsuspend
- Previous by thread: SCHED_4BSD: More than 1 process running on UP machine?
- Next by thread: Re: sigsuspend gets interrupted by ptrace
- Index(es):
Relevant Pages
|
|