diff options
| author | Thomas Gleixner <tglx@linutronix.de> | 2010-02-17 12:27:37 -0500 |
|---|---|---|
| committer | Thomas Gleixner <tglx@linutronix.de> | 2010-02-17 12:28:05 -0500 |
| commit | b7e56edba4b02f2079042c326a8cd72a44635817 (patch) | |
| tree | b5042002e9747cd8fb1278d61f86d8b92a74c018 /include/linux/tracehook.h | |
| parent | 13ca0fcaa33f6b1984c4111b6ec5df42689fea6f (diff) | |
| parent | b0483e78e5c4c9871fc5541875b3bc006846d46b (diff) | |
Merge branch 'linus' into x86/mm
x86/mm is on 32-rc4 and missing the spinlock namespace changes which
are needed for further commits into this topic.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/tracehook.h')
| -rw-r--r-- | include/linux/tracehook.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/tracehook.h b/include/linux/tracehook.h index 1eb44a924e56..10db0102a890 100644 --- a/include/linux/tracehook.h +++ b/include/linux/tracehook.h | |||
| @@ -134,6 +134,13 @@ static inline __must_check int tracehook_report_syscall_entry( | |||
| 134 | */ | 134 | */ |
| 135 | static inline void tracehook_report_syscall_exit(struct pt_regs *regs, int step) | 135 | static inline void tracehook_report_syscall_exit(struct pt_regs *regs, int step) |
| 136 | { | 136 | { |
| 137 | if (step) { | ||
| 138 | siginfo_t info; | ||
| 139 | user_single_step_siginfo(current, regs, &info); | ||
| 140 | force_sig_info(SIGTRAP, &info, current); | ||
| 141 | return; | ||
| 142 | } | ||
| 143 | |||
| 137 | ptrace_report_syscall(regs); | 144 | ptrace_report_syscall(regs); |
| 138 | } | 145 | } |
| 139 | 146 | ||
