summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4/imgact_svr4.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/svr4/imgact_svr4.c')
-rw-r--r--sys/compat/svr4/imgact_svr4.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/svr4/imgact_svr4.c b/sys/compat/svr4/imgact_svr4.c
index ad72929..c8b0e1f8 100644
--- a/sys/compat/svr4/imgact_svr4.c
+++ b/sys/compat/svr4/imgact_svr4.c
@@ -216,7 +216,8 @@ exec_svr4_imgact(imgp)
}
/* Indicate that this file should not be modified */
- imgp->vp->v_flag |= VTEXT;
+ mp_fixme("Unlocked vflag 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