From: "Serge E. Hallyn" <serge.hallyn@canonical.com>
To: Andrew Morton <akpm@osdl.org>
Cc: Stephen Smalley <sds@epoch.ncsc.mil>,
Nathan Lynch <ntl@pobox.com>, lkml <linux-kernel@vger.kernel.org>,
"Serge E. Hallyn" <serge.hallyn@canonical.com>
Subject: [PATCH mmotm 2/3] userns: don't define init_user_ns in ipc_namespace.h
Date: Wed, 2 Mar 2011 20:57:13 -0600 [thread overview]
Message-ID: <20110303025713.GA10138@peq.hallyn.com> (raw)
In-Reply-To: <20110303025603.GA10071@peq.hallyn.com>
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;
next prev parent reply other threads:[~2011-03-03 2:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-03 2:56 [PATCH mmotm 1/3] userns: remove unneeded extra argument in selinux's task_has_capability Serge E. Hallyn
2011-03-03 2:57 ` Serge E. Hallyn [this message]
2011-03-03 2:58 ` [PATCH mmotm 3/3] userns: make has_capability* into real functions Serge E. Hallyn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110303025713.GA10138@peq.hallyn.com \
--to=serge.hallyn@canonical.com \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ntl@pobox.com \
--cc=sds@epoch.ncsc.mil \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®