elfcore.h revision d7db594b8d1dab36b711bd887a9dd21675c87243
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 */
29struct elf_siginfo {
30  int si_signo;
31  int si_code;
32  int si_errno;
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34};
35typedef elf_greg_t greg_t;
36typedef elf_gregset_t gregset_t;
37typedef elf_fpregset_t fpregset_t;
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39typedef elf_fpxregset_t fpxregset_t;
40#define NGREG ELF_NGREG
41struct elf_prstatus {
42  struct elf_siginfo pr_info;
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  short pr_cursig;
45  unsigned long pr_sigpend;
46  unsigned long pr_sighold;
47  pid_t pr_pid;
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49  pid_t pr_ppid;
50  pid_t pr_pgrp;
51  pid_t pr_sid;
52  struct timeval pr_utime;
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54  struct timeval pr_stime;
55  struct timeval pr_cutime;
56  struct timeval pr_cstime;
57  elf_gregset_t pr_reg;
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59  int pr_fpvalid;
60};
61#define ELF_PRARGSZ (80)
62struct elf_prpsinfo {
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64  char pr_state;
65  char pr_sname;
66  char pr_zomb;
67  char pr_nice;
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69  unsigned long pr_flag;
70  __kernel_uid_t pr_uid;
71  __kernel_gid_t pr_gid;
72  pid_t pr_pid, pr_ppid, pr_pgrp, pr_sid;
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74  char pr_fname[16];
75  char pr_psargs[ELF_PRARGSZ];
76};
77typedef struct elf_prstatus prstatus_t;
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79typedef struct elf_prpsinfo prpsinfo_t;
80#define PRARGSZ ELF_PRARGSZ
81#endif
82