public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Cedric Le Goater <clg@fr.ibm.com>
To: devel@openvz.org
Cc: linux-kernel@vger.kernel.org, Kirill Korotaev <dev@sw.ru>,
	herbert@13thfloor.at, sam@vilain.net,
	"Eric W. Biederman" <ebiederm@xmission.com>,
	xemul@sw.ru, James Morris <jmorris@namei.org>
Subject: Re: [Devel] [PATCH 4/7] uts namespaces: implement utsname namespaces
Date: Mon, 10 Apr 2006 18:06:54 +0200	[thread overview]
Message-ID: <443A829E.1050902@fr.ibm.com> (raw)
In-Reply-To: <20060408045206.EFDD819B901@sergelap.hallyn.com>

Serge E. Hallyn wrote:
> ...
> -struct new_utsname system_utsname = {
> -	.sysname	= UTS_SYSNAME,
> -	.nodename	= UTS_NODENAME,
> -	.release	= UTS_RELEASE,
> -	.version	= UTS_VERSION,
> -	.machine	= UTS_MACHINE,
> -	.domainname	= UTS_DOMAINNAME,
> +struct uts_namespace init_uts_ns = {
> +	.kref = {
> +		.refcount	= ATOMIC_INIT(2),
> +	},
> +	.name = {
> +		.sysname	= UTS_SYSNAME,
> +		.nodename	= UTS_NODENAME,
> +		.release	= UTS_RELEASE,
> +		.version	= UTS_VERSION,
> +		.machine	= UTS_MACHINE,
> +		.domainname	= UTS_DOMAINNAME,
> +	},
>  };
>  
> -EXPORT_SYMBOL(system_utsname);

this should problably be replaced with

EXPORT_SYMBOL(init_uts_ns);

or export init_utsname().

C.

  parent reply	other threads:[~2006-04-10 16:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060407234815.849357768@sergelap>
     [not found] ` <20060408045206.EAA8E19B8FF@sergelap.hallyn.com>
2006-04-08  7:09   ` [PATCH 3/7] uts namespaces: use init_utsname when appropriate Eric W. Biederman
2006-04-08 20:27     ` Serge E. Hallyn
2006-04-09  9:44       ` Eric W. Biederman
2006-04-09 10:14         ` Christoph Hellwig
2006-04-09 10:25           ` Christoph Hellwig
2006-04-09 10:36             ` Eric W. Biederman
2006-04-10 20:39         ` Serge E. Hallyn
2006-04-10 20:46           ` Serge E. Hallyn
2006-04-08 23:44     ` Sam Vilain
2006-04-09  0:12       ` [Devel] " Kir Kolyshkin
2006-04-09  9:25         ` Eric W. Biederman
2006-04-10  1:15 ` [PATCH 0/7] uts namespaces: Introduction Sam Vilain
     [not found] ` <20060408045206.EFDD819B901@sergelap.hallyn.com>
2006-04-10 16:06   ` Cedric Le Goater [this message]
2006-04-10 20:48     ` [Devel] [PATCH 4/7] uts namespaces: implement utsname namespaces 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=443A829E.1050902@fr.ibm.com \
    --to=clg@fr.ibm.com \
    --cc=dev@sw.ru \
    --cc=devel@openvz.org \
    --cc=ebiederm@xmission.com \
    --cc=herbert@13thfloor.at \
    --cc=jmorris@namei.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@vilain.net \
    --cc=xemul@sw.ru \
    /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