Setting VV_TEXT here is redundant. It is already set by do_execve().
Reviewed by: kib
This commit is contained in:
parent
598c1bd381
commit
6f316af6e2
@ -217,9 +217,6 @@ exec_linux_imgact(struct image_params *imgp)
|
||||
#endif
|
||||
|
||||
}
|
||||
/* Indicate that this file should not be modified */
|
||||
mp_fixme("Unlocked v_flag access");
|
||||
imgp->vp->v_vflag |= VV_TEXT;
|
||||
}
|
||||
/* Fill in process VM information */
|
||||
vmspace->vm_tsize = round_page(a_out->a_text) >> PAGE_SHIFT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user