summaryrefslogtreecommitdiff
path: root/sys/kern/exec_elf.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_elf.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_elf.c')
-rw-r--r--sys/kern/exec_elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c
index 889b150ce29..2ef35faab22 100644
--- a/sys/kern/exec_elf.c
+++ b/sys/kern/exec_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.c,v 1.36 2001/11/06 19:53:20 miod Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.37 2001/11/15 06:22:30 art Exp $ */
/*
* Copyright (c) 1996 Per Fogelstrom
@@ -636,7 +636,7 @@ native:
#endif
free((char *)ph, M_TEMP);
- epp->ep_vp->v_flag |= VTEXT;
+ vn_marktext(epp->ep_vp);
return (exec_setup_stack(p, epp));
bad: