Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2001 09:36:55 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/alpha/linux linux_machdep.c linux_sysvec.c
Message-ID:  <20010124093655.W26076@fw.wintelcom.net>
In-Reply-To: <200101241026.f0OAQD707387@freefall.freebsd.org>; from jhb@FreeBSD.org on Wed, Jan 24, 2001 at 02:26:13AM -0800
References:  <200101241026.f0OAQD707387@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* John Baldwin <jhb@FreeBSD.org> [010124 02:28] wrote:
> jhb         2001/01/24 02:26:13 PST
> 
>   Modified files:
>     sys/alpha/linux      linux_machdep.c linux_sysvec.c 
>   Log:
>   Proc locking.

This looks like another natural race condition:

        int     p_sigparent;            /* (c) Signal to parent on exit. */

Can't int assignments be assumed to be atomic?

+       PROC_LOCK(p);
        p2->p_sigparent = exit_signal;
+       PROC_UNLOCK(p);

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010124093655.W26076>