proc: Split the namespace stuff out into linux/proc_ns.h
[deliverable/linux.git] / ipc / msgutil.c
index ebfcbfa8b7f25a4193dcfd196963e4b87428a6e6..8f0201735f16c6ceaf6b8eda9b4840c76b5e18bd 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/msg.h>
 #include <linux/ipc_namespace.h>
 #include <linux/utsname.h>
-#include <linux/proc_fs.h>
+#include <linux/proc_ns.h>
 #include <asm/uaccess.h>
 
 #include "util.h"
@@ -117,9 +117,6 @@ struct msg_msg *copy_msg(struct msg_msg *src, struct msg_msg *dst)
        if (alen > DATALEN_MSG)
                alen = DATALEN_MSG;
 
-       dst->next = NULL;
-       dst->security = NULL;
-
        memcpy(dst + 1, src + 1, alen);
 
        len -= alen;
This page took 0.029366 seconds and 5 git commands to generate.