Home
last modified time | relevance | path

Searched hist:"540 a736f54a5dffb0851f2adf455f50869b409a1" (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/linux-user/
H A Dsyscall_defs.hdiff 540a736f54a5dffb0851f2adf455f50869b409a1 Sun Nov 14 04:35:37 CST 2021 Richard Henderson <richard.henderson@linaro.org> linux-user: Always use flexible arrays for dirent d_name

We currently use a flexible array member for target_dirent,
but use incorrectly fixed length arrays for target_dirent64,
linux_dirent and linux_dirent64.

This requires that we adjust the definition of the VFAT READDIR
ioctls which hard-code the 256 namelen size into the ioctl constant.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211114103539.298686-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
H A Dsyscall.cdiff 540a736f54a5dffb0851f2adf455f50869b409a1 Sun Nov 14 04:35:37 CST 2021 Richard Henderson <richard.henderson@linaro.org> linux-user: Always use flexible arrays for dirent d_name

We currently use a flexible array member for target_dirent,
but use incorrectly fixed length arrays for target_dirent64,
linux_dirent and linux_dirent64.

This requires that we adjust the definition of the VFAT READDIR
ioctls which hard-code the 256 namelen size into the ioctl constant.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20211114103539.298686-3-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>