skas_ptrace.h 770 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com)
  3. * Licensed under the GPL
  4. */
  5. #ifndef __SKAS_PTRACE_H
  6. #define __SKAS_PTRACE_H
  7. struct ptrace_faultinfo {
  8. int is_write;
  9. unsigned long addr;
  10. };
  11. struct ptrace_ldt {
  12. int func;
  13. void *ptr;
  14. unsigned long bytecount;
  15. };
  16. #define PTRACE_FAULTINFO 52
  17. #define PTRACE_SIGPENDING 53
  18. #define PTRACE_LDT 54
  19. #define PTRACE_SWITCH_MM 55
  20. #endif
  21. /*
  22. * Overrides for Emacs so that we follow Linus's tabbing style.
  23. * Emacs will notice this stuff at the end of the file and automatically
  24. * adjust the settings for this buffer only. This must remain at the end
  25. * of the file.
  26. * ---------------------------------------------------------------------------
  27. * Local variables:
  28. * c-file-style: "linux"
  29. * End:
  30. */