patch-2.3.13 linux/kernel/module.c
Next file: linux/kernel/panic.c
Previous file: linux/kernel/ksyms.c
Back to the patch index
Back to the overall index
-  Lines: 11
-  Date:
Thu Jul 29 13:37:22 1999
-  Orig file: 
v2.3.12/linux/kernel/module.c
-  Orig date: 
Sun Dec 27 10:41:41 1998
diff -u --recursive --new-file v2.3.12/linux/kernel/module.c linux/kernel/module.c
@@ -76,10 +76,6 @@
 	unsigned long page;
 	long retval;
 
-	if ((unsigned long)user_name >= TASK_SIZE
-	    && !segment_eq(get_fs (), KERNEL_DS))
-		return -EFAULT;
-
 	page = __get_free_page(GFP_KERNEL);
 	if (!page)
 		return -ENOMEM;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)