X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=fs%2Fbinfmt_elf.c;h=655ed8d30a86ef7e963414a9cb56d6ed7dc5d3c4;hb=bb15e7f286e3ecf3e85e06ad9b0019096e43a613;hp=3b6ff854d98379b9af3dca3ea6889e79879575e7;hpb=1ff8419871ea757ae0298aa296bcff9b2ca48561;p=linux-2.6 diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 3b6ff854d9..655ed8d30a 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -1003,12 +1003,6 @@ static int load_elf_binary(struct linux_binprm *bprm, struct pt_regs *regs) #endif start_thread(regs, elf_entry, bprm->p); - if (unlikely(current->ptrace & PT_PTRACED)) { - if (current->ptrace & PT_TRACE_EXEC) - ptrace_notify ((PTRACE_EVENT_EXEC << 8) | SIGTRAP); - else - send_sig(SIGTRAP, current, 0); - } retval = 0; out: kfree(loc);