Date: Sat, 30 Jun 2007 13:14:37 GMT From: Michiel Boland <michiel@boland.org> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/114155: sigsuspend gets interrupted by ptrace Message-ID: <200706301314.l5UDEbOI054597@www.freebsd.org> Resent-Message-ID: <200706301320.l5UDK2vZ037559@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200706301314.l5UDEbOI054597>