git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ptrace: move SIGTRAP on exec(2) logic to ptrace_event()
[pandora-kernel.git]
/
include
/
linux
/
tracehook.h
diff --git
a/include/linux/tracehook.h
b/include/linux/tracehook.h
index
7d38571
..
3b68aa8
100644
(file)
--- a/
include/linux/tracehook.h
+++ b/
include/linux/tracehook.h
@@
-201,9
+201,7
@@
static inline void tracehook_report_exec(struct linux_binfmt *fmt,
struct linux_binprm *bprm,
struct pt_regs *regs)
{
- if (!ptrace_event(PTRACE_EVENT_EXEC, 0) &&
- unlikely(current->ptrace & PT_PTRACED))
- send_sig(SIGTRAP, current, 0);
+ ptrace_event(PTRACE_EVENT_EXEC, 0);
}
/**