Messages in this thread | | | Date | Mon, 10 Apr 2006 18:06:54 +0200 | From | Cedric Le Goater <> | Subject | Re: [Devel] [PATCH 4/7] uts namespaces: implement utsname namespaces |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |