version-timestamp.c 762 B

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