summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2011-02-09 18:45:33 +0000
committeralc <alc@FreeBSD.org>2011-02-09 18:45:33 +0000
commit6f316af6e26c8a2111b42d2713f4c8cc34809086 (patch)
treebe107e90afb947da15cdf1bda2b78f74a05354d3 /sys/i386
parent598c1bd381d1ea8f9635b9f5abff942a9bdc251c (diff)
downloadFreeBSD-src-6f316af6e26c8a2111b42d2713f4c8cc34809086.zip
FreeBSD-src-6f316af6e26c8a2111b42d2713f4c8cc34809086.tar.gz
Setting VV_TEXT here is redundant. It is already set by do_execve().
Reviewed by: kib
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/linux/imgact_linux.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/i386/linux/imgact_linux.c b/sys/i386/linux/imgact_linux.c
index 2216530..c4e4b66 100644
--- a/sys/i386/linux/imgact_linux.c
+++ b/sys/i386/linux/imgact_linux.c
@@ -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;
OpenPOWER on IntegriCloud