diff options
author | Ingo Molnar <mingo@kernel.org> | 2012-10-21 12:18:17 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2012-10-21 12:18:17 -0400 |
commit | f38787f4f921222d080d976ef59210ce3c6c6cb4 (patch) | |
tree | 55e643bc1e5b066f04323a4054fdc814726221be /include | |
parent | 957b9095ed296311b36d26e4316d7f637351ac57 (diff) | |
parent | 71434f2fcba5c22d6e0d51878ba8e241a5dea5fb (diff) |
Merge branch 'uprobes/core' of git://git.kernel.org/pub/scm/linux/kernel/git/oleg/misc into perf/urgent
Pull various uprobes bugfixes from Oleg Nesterov - mostly race and
failure path fixes.
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/uprobes.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/uprobes.h b/include/linux/uprobes.h index e6f0331e3d45..24594571c5a3 100644 --- a/include/linux/uprobes.h +++ b/include/linux/uprobes.h | |||
@@ -35,16 +35,6 @@ struct inode; | |||
35 | # include <asm/uprobes.h> | 35 | # include <asm/uprobes.h> |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | /* flags that denote/change uprobes behaviour */ | ||
39 | |||
40 | /* Have a copy of original instruction */ | ||
41 | #define UPROBE_COPY_INSN 0x1 | ||
42 | |||
43 | /* Dont run handlers when first register/ last unregister in progress*/ | ||
44 | #define UPROBE_RUN_HANDLER 0x2 | ||
45 | /* Can skip singlestep */ | ||
46 | #define UPROBE_SKIP_SSTEP 0x4 | ||
47 | |||
48 | struct uprobe_consumer { | 38 | struct uprobe_consumer { |
49 | int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs); | 39 | int (*handler)(struct uprobe_consumer *self, struct pt_regs *regs); |
50 | /* | 40 | /* |
@@ -59,7 +49,6 @@ struct uprobe_consumer { | |||
59 | #ifdef CONFIG_UPROBES | 49 | #ifdef CONFIG_UPROBES |
60 | enum uprobe_task_state { | 50 | enum uprobe_task_state { |
61 | UTASK_RUNNING, | 51 | UTASK_RUNNING, |
62 | UTASK_BP_HIT, | ||
63 | UTASK_SSTEP, | 52 | UTASK_SSTEP, |
64 | UTASK_SSTEP_ACK, | 53 | UTASK_SSTEP_ACK, |
65 | UTASK_SSTEP_TRAPPED, | 54 | UTASK_SSTEP_TRAPPED, |