patch-1.3.24 linux/arch/i386/kernel/sys_i386.c
Next file: linux/arch/i386/kernel/vm86.c
Previous file: linux/arch/i386/kernel/signal.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Mon Sep 4 14:35:43 1995
- Orig file:
v1.3.23/linux/arch/i386/kernel/sys_i386.c
- Orig date:
Tue Jun 27 14:11:30 1995
diff -u --recursive --new-file v1.3.23/linux/arch/i386/kernel/sys_i386.c linux/arch/i386/kernel/sys_i386.c
@@ -59,10 +59,10 @@
if (fd >= NR_OPEN || !(file = current->files->fd[fd]))
return -EBADF;
}
+ flags &= ~(MAP_EXECUTABLE | MAP_DENYWRITE);
return do_mmap(file, get_user(buffer), get_user(buffer+1),
get_user(buffer+2), flags, get_user(buffer+5));
}
-
extern asmlinkage int sys_select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected]
with Sam's (original) version of this