start: use __aligned_u64

Closes: Coverity 1465044. Closes: Coverity 1465046. Signed-off-by: 's avatarChristian Brauner <christian.brauner@ubuntu.com>
parent 0e609c17
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
#ifndef __LXC_START_H #ifndef __LXC_START_H
#define __LXC_START_H #define __LXC_START_H
#include <linux/sched.h>
#include <sched.h>
#include <signal.h> #include <signal.h>
#include <stdbool.h> #include <stdbool.h>
#include <sys/param.h> #include <sys/param.h>
...@@ -37,7 +39,7 @@ struct lxc_handler { ...@@ -37,7 +39,7 @@ struct lxc_handler {
unsigned int ns_clone_flags; unsigned int ns_clone_flags;
unsigned int ns_on_clone_flags; unsigned int ns_on_clone_flags;
unsigned int ns_unshare_flags; unsigned int ns_unshare_flags;
unsigned int clone_flags; __aligned_u64 clone_flags;
}; };
/* File descriptor to pin the rootfs for privileged containers. */ /* File descriptor to pin the rootfs for privileged containers. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment