mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: Serge Hallyn <serue@us.ibm.com>, Kirill Korotaev <dev@openvz.org>,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	Herbert Poetzl <herbert@13thfloor.at>,
	Andrey Savochkin <saw@sw.ru>, Andrew Morton <akpm@osdl.org>
Subject: Re: [PATCH] namespaces: utsname: implement utsname namespaces
Date: Tue, 03 Oct 2006 09:57:50 +0100	[thread overview]
Message-ID: <1159865871.3438.60.camel@pmac.infradead.org> (raw)
In-Reply-To: <200610021601.k92G10p6003499@hera.kernel.org>

On Mon, 2006-10-02 at 16:01 +0000, Linux Kernel Mailing List wrote:
> commit 4865ecf1315b450ab3317a745a6678c04d311e40
> tree 6cf5d3028f8642eba2a8094eb413db080cc9219c
> parent 96b644bdec977b97a45133e5b4466ba47a7a5e65
> author Serge E. Hallyn <serue@us.ibm.com> 1159780694 -0700
> committer Linus Torvalds <torvalds@g5.osdl.org> 1159801041 -0700
> 
> [PATCH] namespaces: utsname: implement utsname namespaces
> 
> This patch defines the uts namespace and some manipulators.
> Adds the uts namespace to task_struct, and initializes a
> system-wide init namespace.
> 
> It leaves a #define for system_utsname so sysctl will compile.
> This define will be removed in a separate patch.

> --- a/include/linux/utsname.h
> +++ b/include/linux/utsname.h
> @@ -1,6 +1,11 @@
>  #ifndef _LINUX_UTSNAME_H
>  #define _LINUX_UTSNAME_H
>  
> +#include <linux/sched.h>
> +#include <linux/kref.h>
> +#include <linux/nsproxy.h>
> +#include <asm/atomic.h>
> +
>  #define __OLD_UTS_LEN 8

This patch was not tested with 'make headers_check':

usr/include/linux/utsname.h requires linux/kref.h, which does not exist in exported headers
usr/include/linux/utsname.h requires linux/nsproxy.h, which does not exist in exported headers
usr/include/linux/utsname.h requires asm/atomic.h, which does not exist in exported headers

Please protect stuff with #ifdef __KERNEL__ as appropriate, and remember
to run 'make headers_check' before submitting patches.

-- 
dwmw2


       reply	other threads:[~2006-10-03  8:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200610021601.k92G10p6003499@hera.kernel.org>
2006-10-03  8:57 ` David Woodhouse [this message]
2006-10-03  9:44   ` David Woodhouse

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=1159865871.3438.60.camel@pmac.infradead.org \
    --to=dwmw2@infradead.org \
    --cc=akpm@osdl.org \
    --cc=dev@openvz.org \
    --cc=ebiederm@xmission.com \
    --cc=herbert@13thfloor.at \
    --cc=linux-kernel@vger.kernel.org \
    --cc=saw@sw.ru \
    --cc=serue@us.ibm.com \
    /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®