lkml.org 
[lkml]   [2006]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2006-04-10 18:09    [W:0.037 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site