From owner-freebsd-bugs@FreeBSD.ORG Sat Jun 30 13:20:02 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BEEAE16A421 for ; Sat, 30 Jun 2007 13:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 860D813C45A for ; Sat, 30 Jun 2007 13:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l5UDK2cA037560 for ; Sat, 30 Jun 2007 13:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l5UDK2vZ037559; Sat, 30 Jun 2007 13:20:02 GMT (envelope-from gnats) Resent-Date: Sat, 30 Jun 2007 13:20:02 GMT Resent-Message-Id: <200706301320.l5UDK2vZ037559@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michiel Boland Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89CC316A41F for ; Sat, 30 Jun 2007 13:14:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [69.147.83.33]) by mx1.freebsd.org (Postfix) with ESMTP id 6185F13C448 for ; Sat, 30 Jun 2007 13:14:38 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l5UDEcoo054599 for ; Sat, 30 Jun 2007 13:14:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id l5UDEbOI054597; Sat, 30 Jun 2007 13:14:37 GMT (envelope-from nobody) Message-Id: <200706301314.l5UDEbOI054597@www.freebsd.org> Date: Sat, 30 Jun 2007 13:14:37 GMT From: Michiel Boland To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: kern/114155: sigsuspend gets interrupted by ptrace X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2007 13:20:02 -0000 >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 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: