dazuko-devel
[Top][All Lists]
Advanced

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

Re: [Dazuko-devel] [PATCH] Fix compilation errors on Fedora Core 6 Test


From: John Ogness
Subject: Re: [Dazuko-devel] [PATCH] Fix compilation errors on Fedora Core 6 Test 2
Date: Tue, 19 Sep 2006 11:51:29 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20060503 Debian/1.7.8-1sarge6

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);
                }

reply via email to

[Prev in Thread] Current Thread [Next in Thread]