[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: S_proc_setexecdata

From: Jeff Bailey
Subject: Re: S_proc_setexecdata
Date: Tue, 5 Jun 2001 23:14:11 -0700
User-agent: Mutt/1.2.5i

On Wed, Jun 06, 2001 at 08:30:32AM +0300, Ognyan Kulev wrote:

> In $HURDSRC/proc/host.c, function S_proc_setexecdata uses std_port_array and
> std_int_array without exclusive lock.  This can lead to a kind of corruption
> if two threads call this function simultaneously (race condition).  I know
> that this is almost impossible to happen, but i'm asking if i patch such
> sort of things will the patch be accepted?  Or better wait for a bug-hunting
> event that will find all missing mutexes?

The proc bug exhibits only under heavy load.  I've never looked at the
internals, so I don't know if these arrays could be the cause of the
crash but I will cheerfully test it if you send me the patch.  I some
have easily reproducable test cases.

(discl: I can't speak to if the patch gets accepted in the end)

Jeff Bailey

reply via email to

[Prev in Thread] Current Thread [Next in Thread]