| /**************************************************************************** | |
| **************************************************************************** | |
| *** | |
| *** This header was automatically generated from a Linux kernel header | |
| *** of the same name, to make information necessary for userspace to | |
| *** call into the kernel available to libc. It contains only constants, | |
| *** structures, and macros generated from the original header, and thus, | |
| *** contains no copyrightable information. | |
| *** | |
| *** To edit the content of this header, modify the corresponding | |
| *** source file (e.g. under external/kernel-headers/original/) then | |
| *** run bionic/libc/kernel/tools/update_all.py | |
| *** | |
| *** Any manual change here will be lost the next time this script will | |
| *** be run. You've been warned! | |
| *** | |
| **************************************************************************** | |
| ****************************************************************************/ | |
| #ifndef _UAPI_LINUX_ELFCORE_H | |
| #define _UAPI_LINUX_ELFCORE_H | |
| #include <linux/types.h> | |
| #include <linux/signal.h> | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| #include <linux/time.h> | |
| #include <linux/ptrace.h> | |
| #include <linux/elf.h> | |
| #include <linux/fs.h> | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| struct elf_siginfo { | |
| int si_signo; | |
| int si_code; | |
| int si_errno; | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| }; | |
| typedef elf_greg_t greg_t; | |
| typedef elf_gregset_t gregset_t; | |
| typedef elf_fpregset_t fpregset_t; | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| typedef elf_fpxregset_t fpxregset_t; | |
| #define NGREG ELF_NGREG | |
| struct elf_prstatus { | |
| struct elf_siginfo pr_info; | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| short pr_cursig; | |
| unsigned long pr_sigpend; | |
| unsigned long pr_sighold; | |
| pid_t pr_pid; | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| pid_t pr_ppid; | |
| pid_t pr_pgrp; | |
| pid_t pr_sid; | |
| struct timeval pr_utime; | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| struct timeval pr_stime; | |
| struct timeval pr_cutime; | |
| struct timeval pr_cstime; | |
| elf_gregset_t pr_reg; | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| int pr_fpvalid; | |
| }; | |
| #define ELF_PRARGSZ (80) | |
| struct elf_prpsinfo { | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| char pr_state; | |
| char pr_sname; | |
| char pr_zomb; | |
| char pr_nice; | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| unsigned long pr_flag; | |
| __kernel_uid_t pr_uid; | |
| __kernel_gid_t pr_gid; | |
| pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid; | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| char pr_fname[16]; | |
| char pr_psargs[ELF_PRARGSZ]; | |
| }; | |
| typedef struct elf_prstatus prstatus_t; | |
| /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ | |
| typedef struct elf_prpsinfo prpsinfo_t; | |
| #define PRARGSZ ELF_PRARGSZ | |
| #endif |