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

Re: [Xen-devel] [PATCH for-4.5] tools/pygrub: Fix TOCTOU race introduced by c/s 63dcc68



On Wed, Oct 29, Andrew Cooper wrote:

> The result is that I have positively proved that XenServer hit this race
> during automatic testing.  I agree that it shouldn't happen in reality
> for a system configured as expected, but that fact alone doesn't
> invalidate the fix itself.

I think it can happen even with upstream if two guests start at the same
time and both execute the code at the same time. Both will find the dir
does not exist yet and both will attempt to create the dir. I think one
of both will get an exception.

Olaf

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.