patch-2.1.69 linux/kernel/module.c
Next file: linux/mm/filemap.c
Previous file: linux/kernel/acct.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Dec 1 10:34:12 1997
- Orig file:
v2.1.68/linux/kernel/module.c
- Orig date:
Sat Oct 25 02:44:18 1997
diff -u --recursive --new-file v2.1.68/linux/kernel/module.c linux/kernel/module.c
@@ -81,7 +81,7 @@
long retval;
if ((unsigned long)user_name >= TASK_SIZE
- && get_fs () != KERNEL_DS)
+ && !segment_eq(get_fs (), KERNEL_DS))
return -EFAULT;
page = __get_free_page(GFP_KERNEL);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov