OSDN Git Service

linux-user: fix translation of statx structures
authorAriadne Conill <ariadne@dereferenced.org>
Fri, 22 Nov 2019 17:40:40 +0000 (11:40 -0600)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 25 Nov 2019 11:57:58 +0000 (12:57 +0100)
commitd1e26707410067891ab5199f7e9d09afa2fbc0f6
treedb566d6f046ae417f654ff21dfb6bdcc3b81f8b7
parent2061735ff09f9d5e67c501a96227b470e7de69b1
linux-user: fix translation of statx structures

All timestamps were copied to atime instead of to their respective
fields.

Fixes: efa921845c03 ("linux-user: Add support for translation of statx() syscall")
Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20191122174040.569252-1-ariadne@dereferenced.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/syscall.c