| #ifndef _LINUX_ELFCORE_COMPAT_H |
| #define _LINUX_ELFCORE_COMPAT_H |
| #include <linux/elfcore.h> |
| #include <linux/compat.h> |
| * Make sure these layouts match the linux/elfcore.h native definitions. |
| struct compat_elf_siginfo |
| struct compat_elf_prstatus |
| struct compat_elf_siginfo pr_info; |
| compat_ulong_t pr_sigpend; |
| compat_ulong_t pr_sighold; |
| struct compat_timeval pr_utime; |
| struct compat_timeval pr_stime; |
| struct compat_timeval pr_cutime; |
| struct compat_timeval pr_cstime; |
| compat_elf_gregset_t pr_reg; |
| #ifdef CONFIG_BINFMT_ELF_FDPIC |
| compat_ulong_t pr_exec_fdpic_loadmap; |
| compat_ulong_t pr_interp_fdpic_loadmap; |
| struct compat_elf_prpsinfo |
| compat_pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid; |
| char pr_psargs[ELF_PRARGSZ]; |
| #endif /* _LINUX_ELFCORE_COMPAT_H */ |