From owner-freebsd-standards@FreeBSD.ORG Mon Jun 23 02:00:30 2003 Return-Path: Delivered-To: freebsd-standards@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61D1537B401 for ; Mon, 23 Jun 2003 02:00:30 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0232143FE9 for ; Mon, 23 Jun 2003 02:00:30 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5N90TUp049220 for ; Mon, 23 Jun 2003 02:00:29 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5N90Tsi049219; Mon, 23 Jun 2003 02:00:29 -0700 (PDT) Date: Mon, 23 Jun 2003 02:00:29 -0700 (PDT) Message-Id: <200306230900.h5N90Tsi049219@freefall.freebsd.org> To: freebsd-standards@FreeBSD.org From: Volker Stolz Subject: Re: standards/53554 fix for review (Re: interval timers not cleared in fork()) X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Volker Stolz List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 09:00:30 -0000 The following reply was made to PR standards/53554; it has been noted by GNATS. From: Volker Stolz To: Wartan Hachaturow Cc: FreeBSD-gnats-submit@freebsd.org, standards@freebsd.org, rwatson@freebsd.org, simonmar@microsoft.com Subject: Re: standards/53554 fix for review (Re: interval timers not cleared in fork()) Date: Mon, 23 Jun 2003 10:49:23 +0200 On Sat, Jun 21, 2003 at 08:34:49PM +0400, Wartan Hachaturow wrote: > On Fri, Jun 20, 2003 at 04:21:42PM +0200, Volker Stolz wrote: > > > SUSv2 says that on invoking fork(): > > - If the Timers option is supported, per-process timers created by the > > parent are not inherited by the child process. > > SUSv3 requires this as well. > This is a quick fix (for 5.1, it's also affected): The patch applies fine to -STABLE and has the desired effect: virtual set: 1 500 real get: 0 0 prof get: 0 0 virtual get: 0 0 Thanks for looking into this! Volker -- http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME rage against the finite state machine