The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/2967

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
since apparently there are insane programming languages out there that just
silently remove packed members in structs.

Signed-off-by: Christian Brauner <christian.brau...@ubuntu.com>
From 2a621eceddce438392be2a691abc36116defcb18 Mon Sep 17 00:00:00 2001
From: Christian Brauner <christian.brau...@ubuntu.com>
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 <christian.brau...@ubuntu.com>
---
 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 97394dfef1..85bccd2141 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;
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to