[Devel] [PATCH 01/30] headers: fixup cred.h, ipc_namespace.h

Alexey Dobriyan adobriyan at gmail.com
Thu Apr 9 19:32:48 PDT 2009


cred.h uses __init
ipc_namespace.h uses kern_ipc_perm.

Signed-off-by: Alexey Dobriyan <adobriyan at gmail.com>
---

 include/linux/cred.h          |    1 +
 include/linux/ipc_namespace.h |    2 ++
 2 files changed, 3 insertions(+)

--- a/include/linux/cred.h
+++ b/include/linux/cred.h
@@ -13,6 +13,7 @@
 #define _LINUX_CRED_H
 
 #include <linux/capability.h>
+#include <linux/init.h>
 #include <linux/key.h>
 #include <asm/atomic.h>
 
--- a/include/linux/ipc_namespace.h
+++ b/include/linux/ipc_namespace.h
@@ -6,6 +6,8 @@
 #include <linux/rwsem.h>
 #include <linux/notifier.h>
 
+struct kern_ipc_perm;
+
 /*
  * ipc namespace events
  */
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list