Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jun 2000 17:07:58 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        hackers@FreeBSD.ORG
Cc:        green@FreeBSD.ORG
Subject:   Re: uidinfo has many race conditions.
Message-ID:  <20000609170758.O18462@fw.wintelcom.net>
In-Reply-To: <20000609164408.N18462@fw.wintelcom.net>; from bright@wintelcom.net on Fri, Jun 09, 2000 at 04:44:08PM -0700
References:  <20000609164408.N18462@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Alfred Perlstein <bright@wintelcom.net> [000609 16:45] wrote:
> hi,
> 
> Is it just me or does the fact that uidinfo structures (see
> kern/kern_proc.c) are allocated with M_WAITOK after finding them
> fails and then inserted into the uidhash structure a race condition?
> 
> Index: kern_proc.c
> ===================================================================

Yes, I know i forgot to put the created ones back into the list, I was
just a bit flusteres after reading over the code.  I'll have some more
later.

-Alfred


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




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