kern/114155: sigsuspend gets interrupted by ptrace
Michiel Boland
michiel at boland.org
Sat Jun 30 13:20:02 UTC 2007
>Number: 114155
>Category: kern
>Synopsis: sigsuspend gets interrupted by ptrace
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jun 30 13:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Michiel Boland
>Release: FreeBSD 7.0-CURRENT amd64
>Organization:
>Environment:
FreeBSD aja.boland.org 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Fri Jun 29 02:55:35 CEST 2007 root at aja.boland.org:/usr/obj/usr/src/sys/AJA amd64
>Description:
The sigsuspend() system call gets interrupted when
another process attaches itself via ptrace.
>How-To-Repeat:
#include
<unistd.h>
int main(void)
{
pause();
return 0;
}
$ ./a.out &
$ truss -p `pgrep a.out`
process exit, rval = 0
[1] Done ./a.out
$
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list