1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _UAPI_LINUX_ELFCORE_H 20 #define _UAPI_LINUX_ELFCORE_H 21 #include <linux/types.h> 22 #include <linux/signal.h> 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #include <linux/time.h> 25 #include <linux/ptrace.h> 26 #include <linux/elf.h> 27 #include <linux/fs.h> 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 struct elf_siginfo 30 { 31 int si_signo; 32 int si_code; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 int si_errno; 35 }; 36 typedef elf_greg_t greg_t; 37 typedef elf_gregset_t gregset_t; 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 typedef elf_fpregset_t fpregset_t; 40 typedef elf_fpxregset_t fpxregset_t; 41 #define NGREG ELF_NGREG 42 struct elf_prstatus 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 { 45 struct elf_siginfo pr_info; 46 short pr_cursig; 47 unsigned long pr_sigpend; 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 unsigned long pr_sighold; 50 pid_t pr_pid; 51 pid_t pr_ppid; 52 pid_t pr_pgrp; 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 pid_t pr_sid; 55 struct timeval pr_utime; 56 struct timeval pr_stime; 57 struct timeval pr_cutime; 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 struct timeval pr_cstime; 60 elf_gregset_t pr_reg; 61 int pr_fpvalid; 62 }; 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 #define ELF_PRARGSZ (80) 65 struct elf_prpsinfo 66 { 67 char pr_state; 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 char pr_sname; 70 char pr_zomb; 71 char pr_nice; 72 unsigned long pr_flag; 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 __kernel_uid_t pr_uid; 75 __kernel_gid_t pr_gid; 76 pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid; 77 char pr_fname[16]; 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 char pr_psargs[ELF_PRARGSZ]; 80 }; 81 typedef struct elf_prstatus prstatus_t; 82 typedef struct elf_prpsinfo prpsinfo_t; 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 #define PRARGSZ ELF_PRARGSZ 85 #endif 86