entry.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. #ifndef _ENTRY_H
  2. #define _ENTRY_H
  3. #include <linux/types.h>
  4. #include <linux/signal.h>
  5. #include <asm/ptrace.h>
  6. typedef void pgm_check_handler_t(struct pt_regs *, long, unsigned long);
  7. extern pgm_check_handler_t *pgm_check_table[128];
  8. pgm_check_handler_t do_protection_exception;
  9. pgm_check_handler_t do_dat_exception;
  10. extern int sysctl_userprocess_debug;
  11. void do_per_trap(struct pt_regs *regs);
  12. void syscall_trace(struct pt_regs *regs, int entryexit);
  13. void kernel_stack_overflow(struct pt_regs * regs);
  14. void do_signal(struct pt_regs *regs);
  15. int handle_signal32(unsigned long sig, struct k_sigaction *ka,
  16. siginfo_t *info, sigset_t *oldset, struct pt_regs *regs);
  17. void do_extint(struct pt_regs *regs, unsigned int, unsigned int, unsigned long);
  18. int __cpuinit start_secondary(void *cpuvoid);
  19. void __init startup_init(void);
  20. void die(const char * str, struct pt_regs * regs, long err);
  21. struct s390_mmap_arg_struct;
  22. struct fadvise64_64_args;
  23. struct old_sigaction;
  24. long sys_mmap2(struct s390_mmap_arg_struct __user *arg);
  25. long sys_s390_ipc(uint call, int first, unsigned long second,
  26. unsigned long third, void __user *ptr);
  27. long sys_s390_personality(unsigned int personality);
  28. long sys_s390_fadvise64(int fd, u32 offset_high, u32 offset_low,
  29. size_t len, int advice);
  30. long sys_s390_fadvise64_64(struct fadvise64_64_args __user *args);
  31. long sys_s390_fallocate(int fd, int mode, loff_t offset, u32 len_high,
  32. u32 len_low);
  33. long sys_fork(void);
  34. long sys_clone(unsigned long newsp, unsigned long clone_flags,
  35. int __user *parent_tidptr, int __user *child_tidptr);
  36. long sys_vfork(void);
  37. void execve_tail(void);
  38. long sys_execve(const char __user *name, const char __user *const __user *argv,
  39. const char __user *const __user *envp);
  40. long sys_sigsuspend(int history0, int history1, old_sigset_t mask);
  41. long sys_sigaction(int sig, const struct old_sigaction __user *act,
  42. struct old_sigaction __user *oact);
  43. long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss);
  44. long sys_sigreturn(void);
  45. long sys_rt_sigreturn(void);
  46. long sys32_sigreturn(void);
  47. long sys32_rt_sigreturn(void);
  48. #endif /* _ENTRY_H */