Tikka, Sami wrote:
> I've uploaded a small patch that makes dazuko work on Fedora Core 6 Test 2

Hi,

The devfs changes were already previously made to dazuko_linux26.c. I've
made the same changes to dazuko_linux.c now as well.

Could you provide some explanation for this part of the patch (see attachment)?

John Ogness

-- 
Dazuko Maintainer
--- orig/dazuko_linux.c
+++ mod/dazuko_linux.c
@@ -1848,9 +1850,11 @@
 		error = XXX_do_execve(filename, (char __user * __user *) regs.ecx, (char __user * __user *) regs.edx, &regs);
 		if (error == 0)
 		{
+			#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,17)
 			task_lock(current);
 			current->ptrace &= ~PT_DTRACE;
 			task_unlock(current);
+			#endif
 			/* Make sure we don't return using sysenter.. */
 			set_thread_flag(TIF_IRET);
 		}
_______________________________________________
Dazuko-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/dazuko-devel

Reply via email to