vsyscall-note.S 415 B

1234567891011121314
  1. /*
  2. * This supplies .note.* sections to go into the PT_NOTE inside the vDSO text.
  3. * Here we can supply some information useful to userland.
  4. */
  5. #include <linux/version.h>
  6. #include <linux/elfnote.h>
  7. /* Ideally this would use UTS_NAME, but using a quoted string here
  8. doesn't work. Remember to change this when changing the
  9. kernel's name. */
  10. ELFNOTE_START(Linux, 0, "a")
  11. .long LINUX_VERSION_CODE
  12. ELFNOTE_END