aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linux-headers/asm/statfs_x86.h
diff options
context:
space:
mode:
authornkozlovskiy <nmk@ydb.tech>2023-10-11 19:11:46 +0300
committernkozlovskiy <nmk@ydb.tech>2023-10-11 19:33:28 +0300
commit61b3971447e473726d6cdb23fc298e457b4d973c (patch)
treee2a2a864bb7717f7ae6138f6a3194a254dd2c7bb /contrib/libs/linux-headers/asm/statfs_x86.h
parenta674dc57d88d43c2e8e90a6084d5d2c988e0402c (diff)
downloadydb-61b3971447e473726d6cdb23fc298e457b4d973c.tar.gz
add sanitizers dependencies
Diffstat (limited to 'contrib/libs/linux-headers/asm/statfs_x86.h')
-rw-r--r--contrib/libs/linux-headers/asm/statfs_x86.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/libs/linux-headers/asm/statfs_x86.h b/contrib/libs/linux-headers/asm/statfs_x86.h
new file mode 100644
index 0000000000..13c2464cd2
--- /dev/null
+++ b/contrib/libs/linux-headers/asm/statfs_x86.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+#ifndef _ASM_X86_STATFS_H
+#define _ASM_X86_STATFS_H
+
+/*
+ * We need compat_statfs64 to be packed, because the i386 ABI won't
+ * add padding at the end to bring it to a multiple of 8 bytes, but
+ * the x86_64 ABI will.
+ */
+#define ARCH_PACK_COMPAT_STATFS64 __attribute__((packed,aligned(4)))
+
+#include <asm-generic/statfs.h>
+#endif /* _ASM_X86_STATFS_H */