projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ded49c5
)
uretprobes: Remove -ENOSYS as return probes implemented
author
Anton Arapov
<anton@redhat.com>
Wed, 3 Apr 2013 16:00:38 +0000
(18:00 +0200)
committer
Oleg Nesterov
<oleg@redhat.com>
Sat, 13 Apr 2013 13:31:58 +0000
(15:31 +0200)
Enclose return probes implementation.
Signed-off-by: Anton Arapov <anton@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
kernel/events/uprobes.c
patch
|
blob
|
history
diff --git
a/kernel/events/uprobes.c
b/kernel/events/uprobes.c
index
6ab00e0
..
f356974
100644
(file)
--- a/
kernel/events/uprobes.c
+++ b/
kernel/events/uprobes.c
@@
-851,10
+851,6
@@
int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *
if (!uc->handler && !uc->ret_handler)
return -EINVAL;
- /* TODO: Implement return probes */
- if (uc->ret_handler)
- return -ENOSYS;
-
/* Racy, just to catch the obvious mistakes */
if (offset > i_size_read(inode))
return -EINVAL;