1.9.3 kernel patch problems

"Dr. Uwe Girlich" <[email protected]>
Newsgroups gmane.linux.ngpt.devel
Message-ID <[email protected]>
Hello list!

I just downloaded NGPT 1.9.3 and all 3 new kernel patches. With 2.4.19-pre10
the patch patch-kngpt-2.4.18.gz is not needed. I could appy both other patches
without any problems but the kernel wont compile because in
patch-futex-2.4.19.gz there is a new file kernel/futex.c with a reference to
current->uid and current->euid, which don't exist any more after you applied
the patch-cred-2.4.19-pre10.gz patch. They should be current->cred->uid and
current->cred->euid. So apply the trivial attached patch after both others.

Bye, Uwe
futex-cred.diff (text/plain, 373 B)
--- kernel/futex.c.orig	Mon Jun 17 18:27:59 2002
+++ kernel/futex.c	Mon Jun 17 18:28:52 2002
@@ -279,8 +279,8 @@
 
 	if (signal) {
 		filp->f_owner.pid = current->tgid;
-		filp->f_owner.uid = current->uid;
-		filp->f_owner.euid = current->euid;
+		filp->f_owner.uid = current->cred->uid;
+		filp->f_owner.euid = current->cred->euid;
 		filp->f_owner.signum = signal;
 	}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.