Home | History | Annotate | Download | only in linux
      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 _LINUX_PTRACE_H
     20 #define _LINUX_PTRACE_H
     21 #define PTRACE_TRACEME 0
     22 #define PTRACE_PEEKTEXT 1
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define PTRACE_PEEKDATA 2
     25 #define PTRACE_PEEKUSR 3
     26 #define PTRACE_POKETEXT 4
     27 #define PTRACE_POKEDATA 5
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define PTRACE_POKEUSR 6
     30 #define PTRACE_CONT 7
     31 #define PTRACE_KILL 8
     32 #define PTRACE_SINGLESTEP 9
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define PTRACE_ATTACH 0x10
     35 #define PTRACE_DETACH 0x11
     36 #define PTRACE_SYSCALL 24
     37 #define PTRACE_SETOPTIONS 0x4200
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define PTRACE_GETEVENTMSG 0x4201
     40 #define PTRACE_GETSIGINFO 0x4202
     41 #define PTRACE_SETSIGINFO 0x4203
     42 #define PTRACE_O_TRACESYSGOOD 0x00000001
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define PTRACE_O_TRACEFORK 0x00000002
     45 #define PTRACE_O_TRACEVFORK 0x00000004
     46 #define PTRACE_O_TRACECLONE 0x00000008
     47 #define PTRACE_O_TRACEEXEC 0x00000010
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 #define PTRACE_O_TRACEVFORKDONE 0x00000020
     50 #define PTRACE_O_TRACEEXIT 0x00000040
     51 #define PTRACE_O_MASK 0x0000007f
     52 #define PTRACE_EVENT_FORK 1
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 #define PTRACE_EVENT_VFORK 2
     55 #define PTRACE_EVENT_CLONE 3
     56 #define PTRACE_EVENT_EXEC 4
     57 #define PTRACE_EVENT_VFORK_DONE 5
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 #define PTRACE_EVENT_EXIT 6
     60 #include <asm/ptrace.h>
     61 #endif
     62