Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/compat/linux/arch/i386



Le 26/09/2014 19:50, Christos Zoulas a écrit :
On Sep 26,  7:29pm, max%M00nBSD.net@localhost (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


Home | Main Index | Thread Index | Old Index