patch-2.1.69 linux/fs/exec.c
Next file: linux/fs/fat/mmap.c
Previous file: linux/fs/dquot.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Dec 1 10:34:11 1997
- Orig file:
v2.1.68/linux/fs/exec.c
- Orig date:
Mon Dec 1 12:04:14 1997
diff -u --recursive --new-file v2.1.68/linux/fs/exec.c linux/fs/exec.c
@@ -257,7 +257,7 @@
unsigned long p, int from_kmem)
{
char *str;
- unsigned long old_fs;
+ mm_segment_t old_fs;
if (!p)
return 0; /* bullet-proofing */
@@ -370,7 +370,7 @@
} else
file.f_pos = offset;
if (to_kmem) {
- unsigned long old_fs = get_fs();
+ mm_segment_t old_fs = get_fs();
set_fs(get_ds());
result = file.f_op->read(&file, addr, count, &file.f_pos);
set_fs(old_fs);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov