From 0aff04e066c73c18fa027811acff57fa5241daa7 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Mon, 29 Jun 2020 14:52:54 +0200 Subject: [PATCH] start: use __aligned_u64 Closes: Coverity 1465044. Closes: Coverity 1465046. Signed-off-by: Christian Brauner --- src/lxc/start.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lxc/start.h b/src/lxc/start.h index 6852f6e22..ba66b0553 100644 --- a/src/lxc/start.h +++ b/src/lxc/start.h @@ -3,6 +3,8 @@ #ifndef __LXC_START_H #define __LXC_START_H +#include +#include #include #include #include @@ -37,7 +39,7 @@ struct lxc_handler { unsigned int ns_clone_flags; unsigned int ns_on_clone_flags; unsigned int ns_unshare_flags; - unsigned int clone_flags; + __aligned_u64 clone_flags; }; /* File descriptor to pin the rootfs for privileged containers. */ -- 2.47.2