From 2a621eceddce438392be2a691abc36116defcb18 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Wed, 1 May 2019 02:04:02 +0200 Subject: [PATCH] seccomp: remove alignment requirements since apparently there are insane programming languages out there that just silently remove packed members in structs. Signed-off-by: Christian Brauner --- src/lxc/lxcseccomp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/lxcseccomp.h b/src/lxc/lxcseccomp.h index 97394dfef..85bccd214 100644 --- a/src/lxc/lxcseccomp.h +++ b/src/lxc/lxcseccomp.h @@ -56,7 +56,7 @@ struct seccomp_notify_proxy_msg { struct seccomp_notif_resp resp; pid_t monitor_pid; pid_t init_pid; -} __attribute__((packed, aligned(8))); +}; struct seccomp_notify { bool wants_supervision; -- 2.47.2