diff options
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/ibcs2/imgact_coff.c | 3 | ||||
-rw-r--r-- | sys/i386/linux/imgact_linux.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/i386/ibcs2/imgact_coff.c b/sys/i386/ibcs2/imgact_coff.c index 0a554d6..61ca412 100644 --- a/sys/i386/ibcs2/imgact_coff.c +++ b/sys/i386/ibcs2/imgact_coff.c @@ -473,7 +473,8 @@ exec_coff_imgact(imgp) DPRINTF(("%s(%d): returning successfully!\n", __FILE__, __LINE__)); /* Indicate that this file should not be modified */ - imgp->vp->v_flag |= VTEXT; + mp_fixme("Unlocked v_flag access"); + imgp->vp->v_vflag |= VV_TEXT; return 0; } diff --git a/sys/i386/linux/imgact_linux.c b/sys/i386/linux/imgact_linux.c index 86e249a..5634619 100644 --- a/sys/i386/linux/imgact_linux.c +++ b/sys/i386/linux/imgact_linux.c @@ -215,7 +215,8 @@ exec_linux_imgact(imgp) } /* Indicate that this file should not be modified */ - imgp->vp->v_flag |= VTEXT; + 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; |