More on incompatible pointer in kmod.c

From: Jeffrey Fielding (JJProg@cyberbury.net)
Date: Mon Jul 31 2000 - 23:53:08 EST


Sorry, I forgot to mention that this is on 2.4.0-test6-pre1. I replaced
the line with free_uid(current->user) and everything seems to be running
smoothly. Below is my patch.

Jeffrey Fielding
JJProg@cyberbury.net

--- linux.orig/kernel/kmod.c Sat Jul 22 10:42:06 2000
+++ linux/kernel/kmod.c Tue Aug 1 00:34:21 2000
@@ -108,7 +108,7 @@
        }

        /* Drop the "current user" thing */
- free_uid(current);
+ free_uid(current->user);

        /* Give kmod all effective privileges.. */
        current->uid = current->euid = current->fsuid = 0;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Aug 07 2000 - 21:00:05 EST