Re: [Devel] [PATCH 4/7] uts namespaces: implement utsname namespaces

From: Cedric Le Goater
Date: Mon Apr 10 2006 - 12:07:38 EST


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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/