summaryrefslogtreecommitdiff
path: root/sys/compat/sunos
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-15 06:22:31 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-15 06:22:31 +0000
commitce070c7054f4f778763aa8d668f1f92ae896ed05 (patch)
tree7ab7f3ae0de51dededd5a4bc865ded5cb72182ad /sys/compat/sunos
parent19713aecd94bdccec26003f193cc82be3dd363c0 (diff)
New function vn_marktext - mark a vnode as executing a text image.
Use where VTEXT was set in vnode flags before. Doesn't do anything else (yet).
Diffstat (limited to 'sys/compat/sunos')
-rw-r--r--sys/compat/sunos/sunos_exec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/sunos/sunos_exec.c b/sys/compat/sunos/sunos_exec.c
index a975051308f..d7cbe05453a 100644
--- a/sys/compat/sunos/sunos_exec.c
+++ b/sys/compat/sunos/sunos_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sunos_exec.c,v 1.14 2001/11/06 19:53:17 miod Exp $ */
+/* $OpenBSD: sunos_exec.c,v 1.15 2001/11/15 06:22:30 art Exp $ */
/* $NetBSD: sunos_exec.c,v 1.11 1996/05/05 12:01:47 briggs Exp $ */
/*
@@ -175,7 +175,7 @@ sunos_exec_aout_prep_zmagic(p, epp)
#endif
return ETXTBSY;
}
- epp->ep_vp->v_flag |= VTEXT;
+ vn_marktext(epp->ep_vp);
/* set up command for text segment */
NEW_VMCMD(&epp->ep_vmcmds, vmcmd_map_pagedvn, execp->a_text,