Received: from eggs.gnu.org ([2001:4830:134:3::10]:58634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zuc26-0005Y0-4r for qemu-devel@nongnu.org; Fri, 06 Nov 2015 03:06:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zuc22-0000gv-IR for qemu-devel@nongnu.org; Fri, 06 Nov 2015 03:06:02 -0500 Message-ID: <563C5F65.6020807@msgid.tls.msk.ru> Date: Fri, 06 Nov 2015 11:05:57 +0300 From: Michael Tokarev MIME-Version: 1.0 References: <1446644927-8764-1-git-send-email-pbonzini@redhat.com> In-Reply-To: <1446644927-8764-1-git-send-email-pbonzini@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] qemu-sockets: do not test path with access() before unlinking List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, armbru@redhat.com, crobinso@redhat.com 04.11.2015 16:48, Paolo Bonzini wrote: > Using access() is a time-of-check/time-of-use race condition. It is > okay to use them to provide better error messages, but that is pretty > much it. Applied to -trivial, thanks! /mjt