NetBSD Problem Report #39913

From www@NetBSD.org  Thu Nov 13 15:47:52 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 997BA63B8A9
	for <gnats-bugs@gnats.netbsd.org>; Thu, 13 Nov 2008 15:47:52 +0000 (UTC)
Message-Id: <20081113154752.63DD863B898@narn.NetBSD.org>
Date: Thu, 13 Nov 2008 15:47:52 +0000 (UTC)
From: ad@netbsd.org
Reply-To: ad@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: exec, fork, exit hooks need locking
X-Send-Pr-Version: www-1.0

>Number:         39913
>Category:       kern
>Synopsis:       exec, fork, exit hooks need locking
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 13 15:50:00 +0000 2008
>Closed-Date:    
>Last-Modified:  Mon Apr 09 06:02:07 +0000 2012
>Originator:     Andrew Doran
>Release:        5.99.1
>Organization:
The NetBSD Project
>Environment:
n/a
>Description:
As per summary.

>How-To-Repeat:
Code inspection.
>Fix:
The exechooks can be covered by exec_lock.
Another mechanism will be needed for fork and exit hooks.

>Release-Note:

>Audit-Trail:
From: Andrew Doran <ad@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39913 CVS commit: src/sys/kern
Date: Fri, 14 Nov 2008 13:01:18 +0000 (UTC)

 Module Name:	src
 Committed By:	ad
 Date:		Fri Nov 14 13:01:18 UTC 2008

 Modified Files:
 	src/sys/kern: kern_subr.c

 Log Message:
 PR kern/39913 exec, fork, exit hooks need locking

 Acquire exec_lock where needed.


 To generate a diff of this commit:
 cvs rdiff -r1.194 -r1.195 src/sys/kern/kern_subr.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/39913 CVS commit: [netbsd-5] src/sys/kern
Date: Mon, 17 Nov 2008 18:56:05 +0000 (UTC)

 Module Name:	src
 Committed By:	snj
 Date:		Mon Nov 17 18:56:05 UTC 2008

 Modified Files:
 	src/sys/kern [netbsd-5]: kern_subr.c

 Log Message:
 Pull up following revision(s) (requested by ad in ticket #75):
 	sys/kern/kern_subr.c: revision 1.195
 PR kern/39913 exec, fork, exit hooks need locking
 Acquire exec_lock where needed.


 To generate a diff of this commit:
 cvs rdiff -r1.192 -r1.192.4.1 src/sys/kern/kern_subr.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: oster@NetBSD.org
State-Changed-When: Fri, 18 Nov 2011 21:12:18 +0000
State-Changed-Why:
It appears that this is fixed, and pulled up.  Is there anything further to do here?


State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 09 Apr 2012 06:02:07 +0000
State-Changed-Why:
ad resigned; someone needs to figure out if this is fully fixed or not


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.