Setting VV_TEXT here is redundant. It is already set by do_execve().

Reviewed by:	kib
This commit is contained in:
alc 2011-02-09 18:45:33 +00:00
parent 598c1bd381
commit 6f316af6e2

View File

@ -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;