]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
seccomp: remove alignment requirements 2967/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Wed, 1 May 2019 00:04:02 +0000 (02:04 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 1 May 2019 00:04:02 +0000 (02:04 +0200)
since apparently there are insane programming languages out there that just
silently remove packed members in structs.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/lxcseccomp.h

index 97394dfef1e251a96ffb56fa56cac5bf967df374..85bccd21418340cd1e5bc3185c98b3a02d70bae5 100644 (file)
@@ -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;