From: Christian Brauner Date: Wed, 1 May 2019 00:04:02 +0000 (+0200) Subject: seccomp: remove alignment requirements X-Git-Tag: lxc-3.2.0~81^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2967%2Fhead;p=thirdparty%2Flxc.git 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 --- 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;