Messages in this thread Patch in this message | | | Date | Tue, 01 Aug 2000 00:53:08 -0400 | From | Jeffrey Fielding <> | Subject | More 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/
| |