bug-hurd
[Top][All Lists]
Advanced

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

S_proc_setexecdata


From: Ognyan Kulev
Subject: S_proc_setexecdata
Date: Wed, 6 Jun 2001 08:30:32 +0300
User-agent: Mutt/1.3.15i

Hi,

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?

BTW What is that description for file_chauthor in $HURDSRC/hurd/fs.defs?

Regards
-- 
Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""



reply via email to

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