version-timestamp.c 678 B

1234567891011121314151617181920212223242526
  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 = NS_COMMON_INIT(init_uts_ns),
  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. };
  20. /* FIXED STRINGS! Don't touch! */
  21. const char linux_banner[] =
  22. "Linux version " UTS_RELEASE " (" LINUX_COMPILE_BY "@"
  23. LINUX_COMPILE_HOST ") (" LINUX_COMPILER ") " UTS_VERSION "\n";