From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fv2Yb-0006AH-QD for qemu-devel@nongnu.org; Wed, 29 Aug 2018 11:38:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fv2YY-0002dv-JK for qemu-devel@nongnu.org; Wed, 29 Aug 2018 11:38:57 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:43709) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fv2YY-0002da-B0 for qemu-devel@nongnu.org; Wed, 29 Aug 2018 11:38:54 -0400 Message-Id: <1535557130.3162451.1490203088.1408408F@webmail.messagingengine.com> From: Timothy Baldwin MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" In-Reply-To: References: <1534182832-554-1-git-send-email-aleksandar.markovic@rt-rk.com> <1534182832-554-82-git-send-email-aleksandar.markovic@rt-rk.com> Date: Wed, 29 Aug 2018 16:38:50 +0100 Subject: Re: [Qemu-devel] [PATCH v8 81/87] linux-user: Add support for statx() syscall for all platforms List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aleksandar Markovic , Timothy Baldwin , Aleksandar Markovic , qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Paul Burton , Stefan Markovic , riku.voipio@iki.fi, richard.henderson@linaro.org, laurent@vivier.eu, philippe.mathieu.daude@gmail.com, Petar Jovanovic , aurelien@aurel32.net On Mon, 20 Aug 2018, at 10:45 AM, Aleksandar Markovic wrote: > > As such an implementation of lstat that uses statx will be broken. > > > > Since fstatat exists since 2.6.16 this can be reduced to a call to fstatat. > > I am not sure what you meant here. I think QEMU lstat() implementation > does not use statx(). This implementation of statx() uses hosts's > statx(), and, as a fallback, host's fstat(), stat(), and fstatat(). I was referring to an implementation of lstat in a C library that is running on QEMU linux user. > > I would like to add that I think this patch should be submitted > separately, out of this series. > > Yours, > Aleksandar >