]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - fs/exec.c
ptrace: kill trivial tracehooks
[mirror_ubuntu-zesty-kernel.git] / fs / exec.c
index a9f2b3631bdb081b17a25e4be600026bd5df4453..b37030d0a50bab84fbc879d40396fc7b5c08e9b7 100644 (file)
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1384,7 +1384,7 @@ int search_binary_handler(struct linux_binprm *bprm,struct pt_regs *regs)
                        bprm->recursion_depth = depth;
                        if (retval >= 0) {
                                if (depth == 0)
-                                       tracehook_report_exec(fmt, bprm, regs);
+                                       ptrace_event(PTRACE_EVENT_EXEC, 0);
                                put_binfmt(fmt);
                                allow_write_access(bprm->file);
                                if (bprm->file)