patch-1.3.43 linux/kernel/fork.c
Next file: linux/kernel/sched.c
Previous file: linux/ipc/shm.c
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Fri Nov 17 09:47:34 1995
- Orig file:
v1.3.42/linux/kernel/fork.c
- Orig date:
Fri Nov 17 08:42:29 1995
diff -u --recursive --new-file v1.3.42/linux/kernel/fork.c linux/kernel/fork.c
@@ -88,6 +88,7 @@
return -ENOMEM;
}
*tmp = *mpnt;
+ tmp->vm_flags &= ~VM_LOCKED;
tmp->vm_mm = mm;
tmp->vm_next = NULL;
if (tmp->vm_inode) {
@@ -122,6 +123,7 @@
return -1;
*tsk->mm = *current->mm;
tsk->mm->count = 1;
+ tsk->mm->def_flags = 0;
tsk->min_flt = tsk->maj_flt = 0;
tsk->cmin_flt = tsk->cmaj_flt = 0;
tsk->nswap = tsk->cnswap = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this