]> granicus.if.org Git - strace/commitdiff
aarch64, x32: fix decoding of compat personality statfs64/fstatfs64
authorDmitry V. Levin <ldv@altlinux.org>
Mon, 2 Mar 2015 21:34:02 +0000 (21:34 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 2 Mar 2015 21:34:02 +0000 (21:34 +0000)
* statfs.c (struct compat_statfs64) [AARCH64 || X32]: Apply the same
attributes as on X86_64.

statfs.c

index 61012097164b490e6cf74cb4fbddf7182ab0794c..6f5e4d385ad5ede7a69d7fb388e371a0afb0a924 100644 (file)
--- a/statfs.c
+++ b/statfs.c
@@ -121,7 +121,7 @@ struct compat_statfs64 {
        uint32_t f_flags;
        uint32_t f_spare[4];
 }
-#if defined(X86_64) || defined(IA64)
+#if defined AARCH64 || defined X86_64 || defined X32 || defined IA64
   __attribute__ ((packed, aligned(4)))
 #endif
 ;