projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/kernel/events/uprobes.c
b/kernel/events/uprobes.c
index 6ab00e090c8712b2737596b0aaba34e8a7773dcf..f3569747d6295043ca3c8a853361a48c2ecf2869 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;