lkml.org 
[lkml]   [2011]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH mmotm 2/3] userns: don't define init_user_ns in ipc_namespace.h
It shouldn't be needed since ipc/msgutil.c includes security.h
which includes fs.h, which forward declares it.

---
include/linux/ipc_namespace.h | 1 -
1 file changed, 1 deletion(-)

Index: linux-2.6/include/linux/ipc_namespace.h
===================================================================
--- linux-2.6.orig/include/linux/ipc_namespace.h 2011-03-03 01:55:46.191177396 +0000
+++ linux-2.6/include/linux/ipc_namespace.h 2011-03-03 01:58:51.964414007 +0000
@@ -17,7 +17,6 @@
#define IPCNS_CALLBACK_PRI 0

struct user_namespace;
-extern struct user_namespace init_user_ns;

struct ipc_ids {
int in_use;

\
 
 \ /
  Last update: 2011-03-03 03:59    [W:0.040 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site