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)
Tks,
Jeff Bailey
_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd