1 // SPDX-License-Identifier: GPL-2.0-only
3 #include <generated/compile.h>
4 #include <generated/utsrelease.h>
5 #include <linux/proc_ns.h>
6 #include <linux/refcount.h>
8 #include <linux/utsname.h>
10 struct uts_namespace init_uts_ns
= {
11 .ns
.count
= REFCOUNT_INIT(2),
13 .sysname
= UTS_SYSNAME
,
14 .nodename
= UTS_NODENAME
,
15 .release
= UTS_RELEASE
,
16 .version
= UTS_VERSION
,
17 .machine
= UTS_MACHINE
,
18 .domainname
= UTS_DOMAINNAME
,
20 .user_ns
= &init_user_ns
,
21 .ns
.inum
= PROC_UTS_INIT_INO
,
23 .ns
.ops
= &utsns_operations
,
27 /* FIXED STRINGS! Don't touch! */
28 const char linux_banner
[] =
29 "Linux version " UTS_RELEASE
" (" LINUX_COMPILE_BY
"@"
30 LINUX_COMPILE_HOST
") (" LINUX_COMPILER
") " UTS_VERSION
"\n";