vdsox32.S 480 B

1234567891011121314151617181920212223
  1. #include <asm/page_types.h>
  2. #include <linux/linkage.h>
  3. #include <linux/init.h>
  4. __PAGE_ALIGNED_DATA
  5. .globl vdsox32_start, vdsox32_end
  6. .align PAGE_SIZE
  7. vdsox32_start:
  8. .incbin "arch/x86/vdso/vdsox32.so"
  9. vdsox32_end:
  10. .align PAGE_SIZE /* extra data here leaks to userspace. */
  11. .previous
  12. .globl vdsox32_pages
  13. .bss
  14. .align 8
  15. .type vdsox32_pages, @object
  16. vdsox32_pages:
  17. .zero (vdsox32_end - vdsox32_start + PAGE_SIZE - 1) / PAGE_SIZE * 8
  18. .size vdsox32_pages, .-vdsox32_pages