lkml.org 
[lkml]   [2000]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectMore on incompatible pointer in kmod.c
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.131 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site