From: Christian Brauner Date: Mon, 29 Jun 2020 12:52:54 +0000 (+0200) Subject: start: use __aligned_u64 X-Git-Tag: lxc-5.0.0~403^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F3465%2Fhead;p=thirdparty%2Flxc.git start: use __aligned_u64 Closes: Coverity 1465044. Closes: Coverity 1465046. Signed-off-by: Christian Brauner --- 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. */