Le 26/09/2014 19:50, Christos Zoulas a écrit :
On Sep 26,  7:29pm, m...@m00nbsd.net (Maxime Villard) wrote:
-- Subject: Re: CVS commit: src/sys/compat/linux/arch/i386

| Looks like I chose the wrong thread, I was talking about
| sys/compat/linux/arch/powerpc/linux_ptrace.c.

line 121?

christos


No. You committed this:

        if ((t = proc_find(SCARG(uap, pid))) == NULL) {
                mutex_exit(proc_lock);
-               return ESRCH;
+               goto out;
        }

it will return 0 instead of ESRCH

Reply via email to