summaryrefslogtreecommitdiff
path: root/sys/kern/exec_aout.c
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/kern/exec_aout.c
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/kern/exec_aout.c')
-rw-r--r--sys/kern/exec_aout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/exec_aout.c b/sys/kern/exec_aout.c
index 202ee8f3af8..1ef6f5b3d62 100644
--- a/sys/kern/exec_aout.c
+++ b/sys/kern/exec_aout.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_aout.c,v 1.6 2001/11/06 19:53:20 miod Exp $ */
+/* $OpenBSD: exec_aout.c,v 1.7 2001/11/15 06:22:30 art Exp $ */
/* $NetBSD: exec_aout.c,v 1.14 1996/02/04 02:15:01 christos Exp $ */
/*
@@ -129,7 +129,7 @@ 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,