X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fparisc%2Fhpux%2Ffs.c;h=d7c80edf44899323f7401c59fd8e1c64be5648f6;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=0800eb3eade6b93821b444fbd09e7deaa29c8408;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/arch/parisc/hpux/fs.c b/arch/parisc/hpux/fs.c index 0800eb3ea..d7c80edf4 100644 --- a/arch/parisc/hpux/fs.c +++ b/arch/parisc/hpux/fs.c @@ -43,8 +43,11 @@ int hpux_execve(struct pt_regs *regs) error = do_execve(filename, (char **) regs->gr[25], (char **)regs->gr[24], regs); - if (error == 0) + if (error == 0) { + task_lock(current); current->ptrace &= ~PT_DTRACE; + task_unlock(current); + } putname(filename); out: