patch-2.4.4 linux/fs/exec.c
Next file: linux/fs/ext2/inode.c
Previous file: linux/fs/efs/super.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Apr 26 14:11:29 2001
- Orig file:
v2.4.3/linux/fs/exec.c
- Orig date:
Thu Mar 22 09:26:18 2001
diff -u --recursive --new-file v2.4.3/linux/fs/exec.c linux/fs/exec.c
@@ -786,6 +786,9 @@
}
}
#endif
+ /* kernel module loader fixup */
+ /* so we don't try to load run modprobe in kernel space. */
+ set_fs(USER_DS);
for (try=0; try<2; try++) {
read_lock(&binfmt_lock);
for (fmt = formats ; fmt ; fmt = fmt->next) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)