version-timestamp.c 789 B

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