at v6.18 819 B view raw
1// SPDX-License-Identifier: GPL-2.0-only 2 3#include <generated/compile.h> 4#include <generated/utsrelease.h> 5#include <linux/proc_ns.h> 6#include <linux/refcount.h> 7#include <linux/uts.h> 8#include <linux/utsname.h> 9 10struct uts_namespace init_uts_ns = { 11 .ns.ns_type = ns_common_type(&init_uts_ns), 12 .ns.__ns_ref = REFCOUNT_INIT(2), 13 .name = { 14 .sysname = UTS_SYSNAME, 15 .nodename = UTS_NODENAME, 16 .release = UTS_RELEASE, 17 .version = UTS_VERSION, 18 .machine = UTS_MACHINE, 19 .domainname = UTS_DOMAINNAME, 20 }, 21 .user_ns = &init_user_ns, 22 .ns.inum = ns_init_inum(&init_uts_ns), 23#ifdef CONFIG_UTS_NS 24 .ns.ops = &utsns_operations, 25#endif 26}; 27 28/* FIXED STRINGS! Don't touch! */ 29const char linux_banner[] = 30 "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@" 31 LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";