blob: e61a0e50814eef3136454a169e99dae2389f92d6 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** 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 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_PTRACE_H
20#define _LINUX_PTRACE_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#define PTRACE_TRACEME 0
22#define PTRACE_PEEKTEXT 1
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#define PTRACE_PEEKDATA 2
25#define PTRACE_PEEKUSR 3
26#define PTRACE_POKETEXT 4
27#define PTRACE_POKEDATA 5
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029#define PTRACE_POKEUSR 6
30#define PTRACE_CONT 7
31#define PTRACE_KILL 8
32#define PTRACE_SINGLESTEP 9
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034#define PTRACE_ATTACH 0x10
35#define PTRACE_DETACH 0x11
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080036#define PTRACE_SYSCALL 24
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080037#define PTRACE_SETOPTIONS 0x4200
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039#define PTRACE_GETEVENTMSG 0x4201
40#define PTRACE_GETSIGINFO 0x4202
41#define PTRACE_SETSIGINFO 0x4203
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080042#define PTRACE_O_TRACESYSGOOD 0x00000001
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044#define PTRACE_O_TRACEFORK 0x00000002
45#define PTRACE_O_TRACEVFORK 0x00000004
46#define PTRACE_O_TRACECLONE 0x00000008
47#define PTRACE_O_TRACEEXEC 0x00000010
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#define PTRACE_O_TRACEVFORKDONE 0x00000020
50#define PTRACE_O_TRACEEXIT 0x00000040
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080051#define PTRACE_O_MASK 0x0000007f
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080052#define PTRACE_EVENT_FORK 1
Ben Cheng654325d2012-03-07 21:13:49 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080054#define PTRACE_EVENT_VFORK 2
55#define PTRACE_EVENT_CLONE 3
56#define PTRACE_EVENT_EXEC 4
57#define PTRACE_EVENT_VFORK_DONE 5
Ben Cheng654325d2012-03-07 21:13:49 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080059#define PTRACE_EVENT_EXIT 6
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080060#include <asm/ptrace.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080061#endif