|
@@ -851,10 +851,6 @@ int uprobe_register(struct inode *inode, loff_t offset, struct uprobe_consumer *
|
|
if (!uc->handler && !uc->ret_handler)
|
|
if (!uc->handler && !uc->ret_handler)
|
|
return -EINVAL;
|
|
return -EINVAL;
|
|
|
|
|
|
- /* TODO: Implement return probes */
|
|
|
|
- if (uc->ret_handler)
|
|
|
|
- return -ENOSYS;
|
|
|
|
-
|
|
|
|
/* Racy, just to catch the obvious mistakes */
|
|
/* Racy, just to catch the obvious mistakes */
|
|
if (offset > i_size_read(inode))
|
|
if (offset > i_size_read(inode))
|
|
return -EINVAL;
|
|
return -EINVAL;
|